马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Unacceptable CPU info: CPU doesn't have compatibility / n6 c5 F9 t+ B0 u
openstack 虚机迁移 nova-compute报错:Unacceptable CPU info: CPU doesn't have compatibility
1 b* S s* D# B& [解决方法:* I& G% W1 O; k2 O o
[root@compute02 ~]# vim /usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py +6050 函数:check_can_live_migrate_destination 屏蔽代码,避免CPU校验: # Compare CPU+ p7 B \. y5 X9 @3 f* D
# if not instance.vcpu_model or not instance.vcpu_model.model:7 O/ @3 D/ x* \4 B c. T* v$ S0 r# y8 J
# source_cpu_info = src_compute_info['cpu_info']
: n& |& a0 t0 |& H7 o # self._compare_cpu(None, source_cpu_info, instance). i, B+ ^9 V/ O) }" A8 Q
# else:
% q) j- j* Z; A/ v* l7 y# | # self._compare_cpu(instance.vcpu_model, None, instance)
: I3 g1 s) Z& L[root@compute02 ~]# systemctl restart openstack-nova-compute.service |