[Openstack] compute node should have same type of cpu when live migration?

walterxj walterxj at gmail.com
Tue Jun 24 07:11:11 UTC 2014


Hi,all       Today when I test instance live migration in CLI (nova live-migration --block-migrate 0b30368a-2eaf-42e5-918a-f855bad91f63 Compute02) ,I encounterd the following error massages:
2014-06-24 14:49:50.742 9819 ERROR nova.openstack.common.rpc.common [req-8d766427-eb32-4bf8-985c-3969f65f8b2a 930941825be9482bbe1e9fa68c041c22 e710d9931f2b4e9ca0f1deca5e109f7d] Returning exception Unacceptable CPU info: CPU doesn't have compatibility.
virCPUCompareResult to caller

2014-06-24 14:49:50.743 9819 ERROR nova.openstack.common.rpc.common [req-8d766427-eb32-4bf8-985c-3969f65f8b2a 930941825be9482bbe1e9fa68c041c22 e710d9931f2b4e9ca0f1deca5e109f7d] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data\n    **args)\n', '  File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n    result = getattr(proxyobj, method)(ctxt, **kwargs)\n', '  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 353, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped\n    payload)\n', '  File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped\n    return f(self, context, *args, **kw)\n', '  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3962, in check_can_live_migrate_destination\n    block_migration, disk_over_commit)\n', '  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3820, in check_can_live_migrate_destination\n    self._compare_cpu(source_cpu_info)\n', '  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3966, in _compare_cpu\n    raise exception.InvalidCPUInfo(reason=m % {\'ret\': ret, \'u\': u})\n', "InvalidCPUInfo: Unacceptable CPU info: CPU doesn't have compatibility.\n\n0\n\nRefer to http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult\n"] 
     My Compute nodes' CPU are :
     Compute01:Intel(R) Xeon(R) CPU           E5405  @ 2.00GHz *2     Compute02:Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz *2
     But when I use dashboard to migrate the vm,it appears to success.I'm using Havana version.    
     Is there any suggestion? Thanks!

    In addition;    When I use dashboard,the vm seems to reboot after migration,is that normal? So the migration function in dashboard is not a live-migration,Am I right?


walterxj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140624/45f418a2/attachment.html>


More information about the Openstack mailing list