码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-07-20 15:54:28      阅读:233      评论:0      收藏:0      [点我收藏+]

标签:source   sel   host   python   pytho   com   ret   virt   51cto   

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

标签:source   sel   host   python   pytho   com   ret   virt   51cto   

原文地址:http://blog.51cto.com/swq499809608/2147712

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!