[lxc-users] Trying out migration, getting "error: checkpoint failed"

Giles Thomas giles at pythonanywhere.com
Wed May 27 17:26:56 UTC 2015


Hi Tycho,

Sorry again for the slow turnaround!

On 15/05/15 18:59, Tycho Andersen wrote:
> I suspect it still can't find criu and it just isn't finding the 
> binary. Can you symlink it into /bin just to be sure? 

That didn't help.   However, installing criu from their github repo 
seems to have moved things on a bit.   Now, instead of getting "error: 
checkpoint failed", I get "error: restore failed".   Inside 
/var/log/lxd/migratee, there is a file called 
"migration_dump_2015-05-27T17:18:45Z.log", about 536K long.  I've not 
attached it, as I figure that would be pretty annoying for everyone else 
on the list, but I can sent it directly to you if it would be useful.   
There is also a 78K lxc.log.

On the destination machine, there's also a 
/var/log/lxd/migratee/lxc.log, which is significantly shorter; here are 
the contents:

             lxc 1432744458.034 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type u nsid 0 hostid 100000 
range 65536
             lxc 1432744458.034 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type g nsid 0 hostid 100000 
range 65536
             lxc 1432744544.115 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type u nsid 0 hostid 100000 
range 65536
             lxc 1432744544.115 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type g nsid 0 hostid 100000 
range 65536
             lxc 1432744765.397 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type u nsid 0 hostid 100000 
range 65536
             lxc 1432744765.398 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type g nsid 0 hostid 100000 
range 65536
             lxc 1432747103.562 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type u nsid 0 hostid 100000 
range 65536
             lxc 1432747103.563 INFO     lxc_confile - 
confile.c:config_idmap:1390 - read uid map: type g nsid 0 hostid 100000 
range 65536
             lxc 1432747128.877 ERROR    lxc_criu - criu.c:criu_ok:333 - 
couldn't find devices.deny = c 5:1 rwm


All the best,

Giles

-- 
Giles Thomas <giles at pythonanywhere.com>

PythonAnywhere: Develop and host Python from your browser
<https://www.pythonanywhere.com/>

A product from PythonAnywhere LLP
17a Clerkenwell Road, London EC1M 5RD, UK
VAT No.: GB 893 5643 79
Registered in England and Wales as company number OC378414.
Registered address: 28 Ely Place, 3rd Floor, London EC1N 6TD, UK



More information about the lxc-users mailing list