Live migration Error restore failed

Bug #1580803 reported by Mou123
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
criu (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Tried to migrate container with platform having different processor.
Please find the cpu info of the target and source Macines

Migration Error :

'Error transferring container data: restore failed:\n(01.624447) 2076: Error (arch/x86/crtools.c:341): FPU xsave area present, but host cpu doesn\'t support it\n(01.626740) 2074: Error (arch/x86/crtools.c:341): FPU xsave area present, but host cpu doesn\'t support it\n(01.631400) 1992: Error (arch/x86/crtools.c:341): FPU xsave area present, but host cpu doesn\'t support it\n(01.625830) 1: Error (cr-restore.c:1384): 2076 exited, status=1\n(01.631979) 2075: Error (sk-unix.c:901): sk unix: Can\'t connect 0x41dd socket: Connection refused\n(01.635900) Error (cr-restore.c:1387): 13013 killed by signal 9: Killed\n(01.636095) Error (files-reg.c:516): `- XFail [/dev/null.cr_link.cr.1.ghost] ghost: No such file or directory\n(01.636102) Error (files-reg.c:516): `- XFail [/dev/null.cr_link.cr.1.ghost] ghost: No such file or directory\n(01.636351) Error (cr-restore.c:2221): Restoring FAILED.' } }

Output of “lxc info”

driver: lxc
  driverversion: 2.0.0
  kernel: Linux
  kernelarchitecture: x86_64
  kernelversion: 4.4.8-040408-generic
  server: lxd
  serverpid: 1545
  serverversion: 2.0.0
  storage: dir
  storageversion: ""
config:
  core.https_address: '[::]:8443'
  core.trust_password: true
public: false

Name: rack9
Architecture: x86_64
Created: 2016/05/11 22:24 UTC
Status: Stopped
Type: persistent
Profiles: default

/proc/self/mountinfo

0 46 0:34 / /run/lxcfs/controllers/net_prio rw,relatime - cgroup net_prio rw,net_prio
51 46 0:33 / /run/lxcfs/controllers/perf_event rw,relatime - cgroup perf_event rw,perf_event
52 46 0:32 / /run/lxcfs/controllers/net_cls rw,relatime - cgroup net_cls rw,net_cls
53 46 0:31 / /run/lxcfs/controllers/freezer rw,relatime - cgroup freezer rw,freezer
54 46 0:30 / /run/lxcfs/controllers/devices rw,relatime - cgroup devices rw,devices
55 46 0:29 / /run/lxcfs/controllers/memory rw,relatime - cgroup memory rw,memory
56 46 0:28 / /run/lxcfs/controllers/blkio rw,relatime - cgroup blkio rw,blkio
57 46 0:27 / /run/lxcfs/controllers/cpuacct rw,relatime - cgroup cpuacct rw,cpuacct
58 46 0:26 / /run/lxcfs/controllers/cpu rw,relatime - cgroup cpu rw,cpu
59 46 0:25 / /run/lxcfs/controllers/cpuset rw,relatime - cgroup cpuset rw,cpuset
60 22 0:41 / /var/lib/lxcfs rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
61 22 202:1 /var/lib/lxd/shmounts /var/lib/lxd/shmounts rw,noatime shared:1 - ext4 /dev/xvda1 rw,nobarrier,errors=remount-ro,data=ordered

Output of “lxc exec <container name> — cat /proc/self/mountinfo”

~# cat /proc/self/mountinfo107 61 202:1 /var/lib/lxd/containers/aws1/rootfs / rw,relatime - ext4 /dev/disk/by-uuid/8ea401db-b84b-4cd6-a628-d72f30bbf1e5 rw,discard,data=ordered
108 107 0:53 / /dev rw,relatime - tmpfs none rw,size=492k,mode=755
109 107 0:52 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
110 111 0:52 /sys/net /proc/sys/net rw,nosuid,nodev,noexec,relatime - proc proc rw
111 109 0:52 /sys /proc/sys ro,nosuid,nodev,noexec,relatime - proc proc rw
112 109 0:52 /sysrq-trigger /proc/sysrq-trigger ro,nosuid,nodev,noexec,relatime - proc proc rw
113 107 0:54 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw
114 113 0:54 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw
115 114 0:54 / /sys/devices/virtual/net rw,relatime - sysfs sysfs rw
116 115 0:54 /devices/virtual/net /sys/devices/virtual/net rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw
117 108 0:41 / /dev/mqueue rw,relatime - mqueue mqueue rw
118 111 0:4 /sys/fs/binfmt_misc /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime - proc proc rw
119 114 0:21 / /sys/fs/fuse/connections rw,relatime - fusectl none rw
121 114 0:25 / /sys/fs/pstore rw,relatime - pstore none rw
122 114 0:7 / /sys/kernel/debug rw,relatime - debugfs none rw
123 114 0:12 / /sys/kernel/security rw,relatime - securityfs none rw
124 108 202:1 /var/lib/lxd/devlxd /dev/lxd rw,relatime - ext4 /dev/disk/by-uuid/8ea401db-b84b-4cd6-a628-d72f30bbf1e5 rw,discard,data=ordered
125 108 202:1 /var/lib/lxd/shmounts/aws1 /dev/.lxd-mounts rw,relatime master:1 - ext4 /dev/disk/by-uuid/8ea401db-b84b-4cd6-a628-d72f30bbf1e5 rw,discard,data=ordered
126 114 0:55 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime - tmpfs cgroup_root rw,size=10240k,mode=755
153 109 0:40 /proc/cpuinfo /proc/cpuinfo rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
154 109 0:40 /proc/diskstats /proc/diskstats rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
155 109 0:40 /proc/meminfo /proc/meminfo rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
156 109 0:40 /proc/stat /proc/stat rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
157 109 0:40 /proc/swaps /proc/swaps rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
158 109 0:40 /proc/uptime /proc/uptime rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
127 126 0:40 /cgroup/blkio /sys/fs/cgroup/blkio rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
128 126 0:40 /cgroup/cpu /sys/fs/cgroup/cpu rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
129 126 0:40 /cgroup/cpuacct /sys/fs/cgroup/cpuacct rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
130 126 0:40 /cgroup/cpuset /sys/fs/cgroup/cpuset rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
131 126 0:40 /cgroup/devices /sys/fs/cgroup/devices rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
132 126 0:40 /cgroup/freezer /sys/fs/cgroup/freezer rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
133 126 0:40 /cgroup/hugetlb /sys/fs/cgroup/hugetlb rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
134 126 0:40 /cgroup/memory /sys/fs/cgroup/memory rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
135 126 0:40 /cgroup/name=systemd /sys/fs/cgroup/systemd rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
136 126 0:40 /cgroup/net_cls /sys/fs/cgroup/net_cls rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
137 126 0:40 /cgroup/net_prio /sys/fs/cgroup/net_prio rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
138 126 0:40 /cgroup/perf_event /sys/fs/cgroup/perf_event rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
139 126 0:40 /cgroup/pids /sys/fs/cgroup/pids rw,nosuid,nodev,relatime - fuse.lxcfs lxcfs rw,user_id=0,group_id=0,allow_other
62 108 0:56 / /dev/pts rw,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=666
63 107 0:57 / /run rw,nosuid,noexec,relatime - tmpfs none rw,size=101464k,mode=755
64 63 0:58 / /run/lock rw,nosuid,nodev,noexec,relatime - tmpfs none rw,size=5120k
65 63 0:59 / /run/shm rw,nosuid,nodev,relatime - tmpfs none rw
66 63 0:60 / /run/user rw,nosuid,nodev,noexec,relatime - tmpfs none rw,size=102400k,mode=755

uname -a
Linux aws1 4.4.8-040408-generic #201604200335 SMP Wed Apr 20 07:37:30 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Source Machine Processor :

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 62
model name : Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
stepping : 4
microcode : 0x416
cpu MHz : 2500.108
cache size : 25600 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase smep erms xsaveopt
bugs :
bogomips : 5000.21
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

Target Machine Processor:
processor : 0
vendor_id : AuthenticAMD
cpu family : 21
model : 2
model name : AMD Opteron(tm) Processor 4332 HE
stepping : 0
microcode : 0x600081f
cpu MHz : 3000.138
cache size : 2048 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm rep_good nopl extd_apicid pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes f16c hypervisor lahf_lm cr8_legacy abm sse4a misalignsse 3dnowprefetch xop fma4 tbm arat vmmcall
bugs : fxsave_leak sysret_ss_attrs
bogomips : 6000.27
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management:

Revision history for this message
Tycho Andersen (tycho-s) wrote :

Hi,

This can't ever work in the general case, and so I think the error you got here was appropriate. I'll mark this as invalid for now, but please re-open if you think there is a way to do this for this particular CPU feature.

Changed in criu (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.