|
Unacceptable CPU info: CPU doesn't have compatibility
( | z9 h2 K, `; Z
OpenStack 虚机迁移 nova-compute报错:Unacceptable CPU info: CPU doesn't have compatibility8 f3 n8 g0 t; V7 Z2 X# s
解决方法:7 T6 n. E/ _8 n
[root@compute02 ~]# vim /usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py +6050 函数:check_can_live_migrate_destination 屏蔽代码,避免CPU校验: # Compare CPU2 @- y* Y5 ` R8 ^2 m5 J4 M
# if not instance.vcpu_model or not instance.vcpu_model.model:3 q$ M8 }1 T: w& X6 d1 M; e- L& I
# source_cpu_info = src_compute_info['cpu_info']$ Y- P1 E4 H: W9 K2 x* K+ ^: c
# self._compare_cpu(None, source_cpu_info, instance)
% N# t9 W! @: k6 E" Q. W, g, B. L # else:
7 u* h$ Q- M# a; T1 ^2 g8 u # self._compare_cpu(instance.vcpu_model, None, instance)
- x- f% D, E' n+ S$ W[root@compute02 ~]# systemctl restart openstack-nova-compute.service |