[qa][nova][migrate]CPU doesn't have compatibility
Hi This is my ERROR info(ocata): 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5229, in check_can_live_migrate_destination 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server disk_over_commit) 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5240, in _do_check_can_live_migrate_destination 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server block_migration, disk_over_commit) 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5670, in check_can_live_migrate_destination 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server self._compare_cpu(None, source_cpu_info, instance) 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5938, in _compare_cpu 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server raise exception.InvalidCPUInfo(reason=m % {'ret': ret, 'u': u}) 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility.
on 2019/9/3 10:22, 崔恒香 wrote:
2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server raise exception.InvalidCPUInfo(reason=m % {'ret': ret, 'u': u}) 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility.
Are you implementing a live migration? It seems you have a uncompatible CPU in peer host. regards.
At 2019-09-03 10:30:54, "Wesley Peng" <weslepeng@gmail.com> wrote:
on 2019/9/3 10:22, 崔恒香 wrote:
2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server raise exception.InvalidCPUInfo(reason=m % {'ret': ret, 'u': u}) 2019-09-03 10:00:46.518 25163 ERROR oslo_messaging.rpc.server InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility.
Are you implementing a live migration? It seems you have a uncompatible CPU in peer host.
Yes, It's a live migration. root@compute101:~# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 24 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz root@compute102:~# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 24 Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz We can migrate the vm from compute102 to compute101 Successfully. compute101 to compute102 ERROR info: the CPU is incompatible with host CPU: Host CPU does not provide required features: f16c, rdrand, fsgsbase, smep, erms
on 2019/9/3 11:36, 崔恒香 wrote:
We can migrate the vm from compute102 to compute101 Successfully. compute101 to compute102 ERROR info: the CPU is incompatible with host CPU: Host CPU does not provide required features: f16c, rdrand, fsgsbase, smep, erms
The error has said, cpu of compute101 is lower than compute102, some incompatible issues happened. To live migrate, you'd better have all hosts with the same hardwares, including cpu/mem/disk etc. regards.
On 9/2/2019 10:40 PM, Wesley Peng wrote:
We can migrate the vm from compute102 to compute101 Successfully. compute101 to compute102 ERROR info: the CPU is incompatible with host CPU: Host CPU does not provide required features: f16c, rdrand, fsgsbase, smep, erms
The error has said, cpu of compute101 is lower than compute102, some incompatible issues happened. To live migrate, you'd better have all hosts with the same hardwares, including cpu/mem/disk etc
[1] and [2] may be helpful. [1] https://www.openstack.org/videos/summits/berlin-2018/effective-virtual-cpu-c... [2] https://docs.openstack.org/nova/latest/admin/configuration/hypervisor-kvm.ht... -- Thanks, Matt
participants (3)
-
Matt Riedemann
-
Wesley Peng
-
崔恒香