[Openstack] [xs-devel] XenSever with OpenStack, Live Migration Error
Bob Ball
bob.ball at citrix.com
Fri Jun 6 11:42:46 UTC 2014
Hi Sisu,
2014-06-05 16:33:27.509 TRACE nova.api.openstack.compute.contrib.admin_actions File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1840, in check_can_live_migrate_source
2014-06-05 16:33:27.509 TRACE nova.api.openstack.compute.contrib.admin_actions raise exception.MigrationPreCheckError(reason=msg)
2014-06-05 16:33:27.509 TRACE nova.api.openstack.compute.contrib.admin_actions
2014-06-05 16:33:27.509 TRACE nova.api.openstack.compute.contrib.admin_actions MigrationPreCheckError: Migration pre-check error: VM.assert_can_migrate failed
The strange thing is sometimes it will migrate, but sometimes it cannot...
Can anyone help me with this? Why would the VM.assert_can_migrate fail?
The most typical failure in assert_can_migrate is around the compatability of the two host CPUs. If they are different CPUs then they most likely support different feature sets. When you have a VM it can only be migrated to a host if that new host has _at least_ all of the features that are available on the current host.
Check out http://support.citrix.com/article/CTX127059 - while OpenStack does not use pools, live migration depends on the same things, so setting cupid_feature_mask may allow the migration to succeed.
If this is not the issue, check /var/log/xensource.log for details on why XAPI determined that the VM cannot be live migrated.
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140606/6feb4f35/attachment.html>
More information about the Openstack
mailing list