How does the libvirt.xml file generate?
When I migrate a VM instance, there will print an ERROR like this :
ERROR (BadRequest): Unacceptable CPU info: CPU doesn't have compatibility.
0
Refer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult (HTTP 400) (Request-ID: req-1843fad8-903d-40f9-afd3-2344354112ec)
the info of the cpu is defined in the libvirt.xml file , I change the nova.conf .However it does not work.
# LIBVIRT
[libvirt]
virt_type=kvm
libvirt_cpu_mode=custom
libvirt_cpu_model=kvm64
Which version of Openstack are you running ?
Juno based on ubuntu , is there a bug with this version?
Per https://bugs.launchpad.net/nova/+bug/... it was fixed in Openstack Kilo 2015.1.
See my answer for suggestions.
WARNING nova.virt.libvirt.driver An error occurred trying to live migrate. Falling back to legacy live migrate flow. Error: unsupported configuration: guest and host CPU are not compatible: Host CPU does not provide required features: pdpe1gb, aes, pcid, smx, pclmul
I have changed the driver.py as you said , however still have trouble.