Comment 0 for bug 1499611

Revision history for this message
james beedy (jamesbeedy) wrote : Cannot live migrate between hypervisors with heterogenous cpu architecture

Live migration fails without post deploy configuration of nova.conf on compute nodes.

When using kvm as a hypervisor, you need to set the params 'cpu_mode' and 'cpu_model' under the [libvirt] header tag in nova.conf to be able to preform live migration of instances between hosts with heterogenous cpu architecture. The nova-compute charm does not currently contain this functionality, but could easily be extended to include it by adding the params 'cpu_mode' and 'cpu_model' to nova-compute's set of supported configs, extracting them in the NovaComputeLibvirtContext class, and adding them to the nova.conf templates.