马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Unacceptable CPU info: CPU doesn't have compatibility
+ _$ j: p0 q4 G# i% n" h5 u
openstack 虚机迁移 nova-compute报错:Unacceptable CPU info: CPU doesn't have compatibility1 a1 p7 o+ B+ {, Y$ P( g6 v, M
解决方法:
. Y' n7 {. z! h* f1 [% T[root@compute02 ~]# vim /usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py +6050 函数:check_can_live_migrate_destination 屏蔽代码,避免CPU校验: # Compare CPU
; X% h0 T( I9 I! _! Y. w/ ]( e3 P # if not instance.vcpu_model or not instance.vcpu_model.model:' K0 x9 b6 |+ a0 R
# source_cpu_info = src_compute_info['cpu_info']$ m7 o# R" N# c) J. r
# self._compare_cpu(None, source_cpu_info, instance)* `/ K( K; e5 ~# e, J$ Y
# else:" |+ U- _: w" X% G
# self._compare_cpu(instance.vcpu_model, None, instance)+ A9 W; _+ r) Y
[root@compute02 ~]# systemctl restart openstack-nova-compute.service |