美文网首页
OpenStack 热迁移失败

OpenStack 热迁移失败

作者: 跑腿打杂临时工 | 来源:发表于2022-02-09 14:30 被阅读0次

    背景

    今日需要对几台虚拟机进行热迁移,在迁移时失败,经过查看 nova 日志发现以下报错信息:

    2022-02-09 14:03:10.697 38972 ERROR nova.virt.libvirt.driver [req-b5b66b55-90e3-49b1-8b4d-d727f9a81227 - - - - -] [instance: 985dc230-cc08-4adc-afd2-81470e46c655] Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://hostname41/system: Unable to resolve address 'hostname41' service '16509': Name or service not known: libvirtError: operation failed: Failed to connect to remote libvirt URI qemu+tcp://hostname41/system: Unable to resolve address 'hostname41' service '16509': Name or service not known
    2022-02-09 14:03:11.170 38972 ERROR nova.virt.libvirt.driver [req-b5b66b55-90e3-49b1-8b4d-d727f9a81227 - - - - -] [instance: 985dc230-cc08-4adc-afd2-81470e46c655] Migration operation has aborted
    

    通过上面的报错信息说到 hostname41 这台主机连接失败,ping 下这个主机发现确实不通,然后查看了当前计算节点的主机名列表并没有增加 hostname41 这个主机记录,接下来就好解决了,我们来增加 hosts 文件中的主机记录。

    解决办法

    在 hosts 文件中添加主机记录信息即可。

    相关文章

      网友评论

          本文标题:OpenStack 热迁移失败

          本文链接:https://www.haomeiwen.com/subject/fdvwkrtx.html