1. 程式人生 > >Migration pre-check error: CPU doesn‘t have compat

Migration pre-check error: CPU doesn‘t have compat

text 2.7 except ssa blog ask common http pre

6月11日 13:56
-06-11 13:55:43.299 117634 ERROR oslo_messaging.rpc.dispatcher
2018-06-11 13:55:43.300 117634 ERROR oslo_messaging._drivers.common [req-ba3e4934-ffef-48fc-9129-b647458fdf44 053d91950deb40d08b706988f4bf914a 8b79300ff2a546d896ef58a9c8004e68 - - -] Returning exception Migration pre-check error: CPU doesn‘t have compatibility.

internal error: Unknown CPU model Skylake-Client-IBRS

解決辦法:
3) Nova CPU 指令集遷移
a) nova 配置
cpu_model=none
cpu_mode=none
b) 修改/usr/lib/python2.7/site-packages/nova/conductor/task/live_migrae.py 106行,210行
106 #Add william ,delete check_compatible
107 #self._check_compatible_with_source_hypervisor(self.destination)

210    #Add william ,delete check_compatible
211    #self._check_compatible_with_source_hypervisor(host)

c) 修改/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py 5478行
#Add william ,Compare CPU is del
#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)
    #else:
        #    self._compare_cpu(instance.vcpu_model, None)

技術分享圖片

Migration pre-check error: CPU doesn‘t have compat