马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Unacceptable CPU info: CPU doesn't have compatibility
' Q/ n+ ?1 X2 i8 G+ f3 a" j
openstack 虚机迁移 nova-compute报错:Unacceptable CPU info: CPU doesn't have compatibility7 J, f+ B8 O# f/ K
解决方法:6 ^; l1 x" X a, R
[root@compute02 ~]# vim /usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py +6050 函数:check_can_live_migrate_destination 屏蔽代码,避免CPU校验: # Compare CPU
! v: E* A$ T, m ? # if not instance.vcpu_model or not instance.vcpu_model.model:3 Z1 R t- H0 ]
# source_cpu_info = src_compute_info['cpu_info']
! v" L6 ^- T( M( v7 x9 ~: y7 q # self._compare_cpu(None, source_cpu_info, instance)' g- X7 ~) O. G' I
# else:2 e, p$ R8 i) E! S2 X
# self._compare_cpu(instance.vcpu_model, None, instance)/ Q5 A# C3 p% Q+ r7 g
[root@compute02 ~]# systemctl restart openstack-nova-compute.service |