webvirtcloud icon indicating copy to clipboard operation
webvirtcloud copied to clipboard

Webvirtcloud cannot connection to new libvirt version

Open hungviet99 opened this issue 1 year ago • 1 comments

In RHEL 9, the libvirt library uses modular daemons that handle individual virtualization driver, so redhat changed from libvirt to virtqemud daemon handles QEMU drivers.

I configured file /etc/libvirt/virtqemud.conf following:

[root@dbp-mgmt-01 common]# cat /etc/libvirt/virtqemud.conf | egrep -v "^*#|^$"
listen_tls = 0
listen_tcp = 1
tcp_port = "16509"
listen_addr = "0.0.0.0"
auth_tcp = "none"

and then restart virtqemud.service but i still couldn't connect to libvirt server with port 16509.

[root@dbp-mgmt-01 common]# virsh -c qemu+tcp://localhost:16509/system list
error: failed to connect to the hypervisor
error: unable to connect to server at 'localhost:16509': Connection refused

How can I open port 16509 so webvirtcloud can connect to it?

hungviet99 avatar Jun 26 '24 10:06 hungviet99

you must start libvirt service with virtproxyd-tcp.socket to connect remote host.

catborise avatar Jun 28 '24 14:06 catborise