Live migration Error restore failed
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:
Output of “lxc info”
driver: lxc
driverversion: 2.0.0
kernel: Linux
kernelarchite
kernelversion: 4.4.8-040408-
server: lxd
serverpid: 1545
serverversion: 2.0.0
storage: dir
storageversion: ""
config:
core.
core.
public: false
Name: rack9
Architecture: x86_64
Created: 2016/05/11 22:24 UTC
Status: Stopped
Type: persistent
Profiles: default
/proc/self/
0 46 0:34 / /run/lxcfs/
51 46 0:33 / /run/lxcfs/
52 46 0:32 / /run/lxcfs/
53 46 0:31 / /run/lxcfs/
54 46 0:30 / /run/lxcfs/
55 46 0:29 / /run/lxcfs/
56 46 0:28 / /run/lxcfs/
57 46 0:27 / /run/lxcfs/
58 46 0:26 / /run/lxcfs/
59 46 0:25 / /run/lxcfs/
60 22 0:41 / /var/lib/lxcfs rw,nosuid,
61 22 202:1 /var/lib/
Output of “lxc exec <container name> — cat /proc/self/
~# cat /proc/self/
108 107 0:53 / /dev rw,relatime - tmpfs none rw,size=
109 107 0:52 / /proc rw,nosuid,
110 111 0:52 /sys/net /proc/sys/net rw,nosuid,
111 109 0:52 /sys /proc/sys ro,nosuid,
112 109 0:52 /sysrq-trigger /proc/sysrq-trigger ro,nosuid,
113 107 0:54 / /sys rw,nosuid,
114 113 0:54 / /sys rw,nosuid,
115 114 0:54 / /sys/devices/
116 115 0:54 /devices/
117 108 0:41 / /dev/mqueue rw,relatime - mqueue mqueue rw
118 111 0:4 /sys/fs/binfmt_misc /proc/sys/
119 114 0:21 / /sys/fs/
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/
124 108 202:1 /var/lib/lxd/devlxd /dev/lxd rw,relatime - ext4 /dev/disk/
125 108 202:1 /var/lib/
126 114 0:55 / /sys/fs/cgroup rw,nosuid,
153 109 0:40 /proc/cpuinfo /proc/cpuinfo rw,nosuid,
154 109 0:40 /proc/diskstats /proc/diskstats rw,nosuid,
155 109 0:40 /proc/meminfo /proc/meminfo rw,nosuid,
156 109 0:40 /proc/stat /proc/stat rw,nosuid,
157 109 0:40 /proc/swaps /proc/swaps rw,nosuid,
158 109 0:40 /proc/uptime /proc/uptime rw,nosuid,
127 126 0:40 /cgroup/blkio /sys/fs/
128 126 0:40 /cgroup/cpu /sys/fs/cgroup/cpu rw,nosuid,
129 126 0:40 /cgroup/cpuacct /sys/fs/
130 126 0:40 /cgroup/cpuset /sys/fs/
131 126 0:40 /cgroup/devices /sys/fs/
132 126 0:40 /cgroup/freezer /sys/fs/
133 126 0:40 /cgroup/hugetlb /sys/fs/
134 126 0:40 /cgroup/memory /sys/fs/
135 126 0:40 /cgroup/
136 126 0:40 /cgroup/net_cls /sys/fs/
137 126 0:40 /cgroup/net_prio /sys/fs/
138 126 0:40 /cgroup/perf_event /sys/fs/
139 126 0:40 /cgroup/pids /sys/fs/cgroup/pids rw,nosuid,
62 108 0:56 / /dev/pts rw,relatime - devpts devpts rw,gid=
63 107 0:57 / /run rw,nosuid,
64 63 0:58 / /run/lock rw,nosuid,
65 63 0:59 / /run/shm rw,nosuid,
66 63 0:60 / /run/user rw,nosuid,
uname -a
Linux aws1 4.4.8-040408-
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:
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.