libvirt: KVM live migration failed due to VIR_DOMAIN_XML_MIGRATABLE flag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann |
Bug Description
OS version: RHEL 6.5
libvirt version: libvirt-
When I attempt to live migrate my KVM instance using latest Juno code on RHEL 6.5, I notice nova-compute error on source compute node:
2014-08-27 09:24:41.836 26638 ERROR nova.virt.
And this libvirt error on source compute node:
2014-08-27 09:32:24.955+0000: 17721: error : virCPUDefIsEqua
After looking into the code, I notice that https:/
<cpu mode='host-model' match='exact'>
<model fallback=
<vendor>
Without this flag, the xml will not have those CPU information:
<cpu mode='host-model'>
<model fallback='allow'/>
<topology sockets='1' cores='1' threads='1'/>
</cpu>
The CPU model of my source and destination server are exactly identical. So I suspect it is a side effect of https:/
After I remove the code change of https:/
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
I believe qemu instance live migration will not have this problem, because the domain xml of qemu does not include this CPU information.