其他分享
首页 > 其他分享> > 解决虚机热迁移失败的问题

解决虚机热迁移失败的问题

作者:互联网

ERROR nova.virt.libvirt.driver [req-8207107e-8603-45b3-aed9-ce753cd48714 f8a501c6ca4642efb9b88a9d86bf0d8c 3accb9cbe9424c74b3a97c5f96be3951 - default default] [instance: 624a1f16-4e57-423e-b597-c4914119d235] Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://jimmy-02-not-delete/system: unable to connect to server at 'jimmy-02-not-delete:16509': Connection refused: libvirtError: operation failed: Failed to connect to remote libvirt URI qemu+tcp://jimmy-02-not-delete/system: unable to connect to server at 'jimmy-02-not-delete:16509': Connection refused

nova-compute中出现日志

 

热迁移报错,libvirt中qemu+tcp的方式无法连接,解决方案如下:

计算节点执行

# vim /etc/libvirt/libvirtd.conf

listen_tls = 0
listen_tcp = 1
unix_sock_group = "root"
unix_sock_rw_perms = "0777"
auth_unix_ro = "none"
auth_unix_rw = "none"
log_filters="2:qemu_monitor_json 2:qemu_driver"
log_outputs="2:file:/var/log/libvirt/libvirtd.log"
tcp_port = "16509"
listen_addr = "0.0.0.0"
auth_tcp = "none"

/etc/sysconfig/libvirtd中 #LIBVIRTD_ARGS="--listen" 参数打开

重启libvirtd服务,再次进行迁移

 

 

 

 成功解决

标签:02,jimmy,tcp,libvirt,失败,connect,虚机,迁移,qemu
来源: https://www.cnblogs.com/jimmyyang/p/11193032.html