openstack 虚机迁移 Unacceptable CPU info: CPU doesn't have compatibility

问题:

Unacceptable CPU info: CPU doesn't have compatibility

 

解决:

vim /usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py

 

函数:check_can_live_migrate_destination

屏蔽代码,避免CPU校验:

 

# Compare CPU
"""
if not instance.vcpu_model or not instance.vcpu_model.model:
source_cpu_info = src_compute_info['cpu_info']
self._compare_cpu(None, source_cpu_info, instance)
else:
self._compare_cpu(instance.vcpu_model, None, instance)
"""

posted @ 2018-05-04 16:55  salami_china  阅读(1814)  评论(0编辑  收藏  举报