Public bug reported:

Hi,
I opened an issue on github( https://github.com/lxc/lxd/issues/2110 ) about a 
failure during live migration of lxd container, this is the main error after 
executing the move command:

lxc move lnmp LXC2:migrated

error: Error transferring container data: checkpoint failed:
(00.014228) Error (sockets.c:129): Diag module missing (-2)
(00.015240) Error (sockets.c:129): Diag module missing (-2)
(00.016208) Error (sockets.c:129): Diag module missing (-2)
(00.098007) Error (cr-dump.c:1600): Dumping FAILED.

I followed this guide ( http://insights.ubuntu.com/2016/04/25/lxd-2-0
-live-migration-912/ ) and i also get the same error with stateful
snapshots.

lxc snapshot lnmp snap1 --stateful
error: checkpoint failed

So i'm assuming lxc move uses stateful snapshots and here where it fails
the migration?

That's the error i find on lxc.log:
            lxc 20160612130550.161 INFO     lxc_criu - criu.c:exec_criu:387 - 
execing: /usr/sbin/criu dump --tcp-established --file-locks --link-remap 
--manage-cgroups --ext-mount-map auto --enable-external-sharing 
--enable-external-masters --enable-fs hugetlbfs --enable-fs tracefs -D 
/tmp/lxd_checkpoint_927931833 -o /tmp/lxd_checkpoint_927931833/dump.log -vvvvvv 
-t 22687 --freeze-cgroup /sys/fs/cgroup/freezer///lxc/lnmp --ext-mount-map 
/dev/console:console --external tty[8801:e] --force-irmap 
            lxc 20160612130550.161 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:893 - peer has disconnected
            lxc 20160612130550.223 ERROR    lxc_criu - criu.c:do_dump:866 - 
dump failed with 1

And on migration log:

(00.048642) Collecting netns 9/22687
(00.048644) Switching to 22687's net for collecting sockets
(00.049685) Warn  (libnetlink.c:65): ERROR -2 reported by netlink
(00.049973)     Collected: ino 0x  209db5 family    2 type    1 port     3306 
state 10 src_addr 127.0.0.1
(00.049990)     Collected: ino 0x  2096d6 family    2 type    1 port       80 
state 10 src_addr 0.0.0.0
(00.049997)     Collected: ino 0x  209d82 family    2 type    1 port       22 
state 10 src_addr 0.0.0.0
(00.050054)     Collected: ino 0x  2092e7 family    2 type    2 port       68 
state  7 src_addr 0.0.0.0
(00.050188)     Collected: ino 0x  2096d7 family   10 type    1 port       80 
state 10 src_addr ::
(00.050198)     Collected: ino 0x  209d84 family   10 type    1 port       22 
state 10 src_addr ::
(00.051625) Warn  (libnetlink.c:65): ERROR -2 reported by netlink
(00.051642) Warn  (sockets.c:702): The current kernel doesn't support 
packet_diag
(00.052596) Warn  (libnetlink.c:65): ERROR -2 reported by netlink
(00.052615) Warn  (sockets.c:712): The current kernel doesn't support 
netlink_diag
(00.052628) Unlock network


If i reproduce the same operation with the container turned off i can copy\move 
without problems.
You can find the full log files on the github issue.

** Affects: criu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: criu lxd ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1591729

Title:
  Failing lxd migration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/criu/+bug/1591729/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to