Webvirtcloud cannot connection to new libvirt version

Open
#652 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux

Research direction

Start with the referenced /etc/libvirt/virtqemud.conf and virtqemud.service, then reproduce the issue using virsh -c qemu+tcp://localhost:16509/system list. Check why the configured service is not accepting connections on port 16509; done means the virsh command succeeds and WebVirtCloud can connect.

Written by the indexing model from the issue text.

Description

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?

Dominant language
JavaScript
Stars
1.9k
Forks
398
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from retspen/webvirtcloud

All issues in retspen/webvirtcloud

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.