-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.3.0
-
libvirt-10.0.0-3.el9
-
None
-
Critical
-
rhel-sst-virtualization
-
ssg_virtualization
-
26
-
None
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
RegressionOnly
-
-
x86_64
-
None
What were you trying to do that didn't work?
Fresh install RHEL 9.3, add libvirt/qemu packages to run VMs.
Try to use virt-admin
# virt-admin connect
error: Failed to connect to the admin server
error: Failed to connect socket to '/run/libvirt/libvirt-admin-sock': No such file or directory
It is trying to connect to the legacy monolithic socket. The new one is listening:
[root@rhel-9 ~]# systemctl status virtqemud-admin.socket ● virtqemud-admin.socket - Libvirt qemu admin socket Loaded: loaded (/usr/lib/systemd/system/virtqemud-admin.socket; enabled; preset: disabled) Active: active (listening) since Tue 2024-01-30 17:05:22 AEST; 6min ago Until: Tue 2024-01-30 17:05:22 AEST; 6min ago Triggers: ● virtqemud.service Listen: /run/libvirt/virtqemud-admin-sock (Stream) CGroup: /system.slice/virtqemud-admin.socket Jan 30 17:05:22 rhel-9.virt.home.arpa systemd[1]: Listening on Libvirt qemu admin socket.
Please provide the package NVR for which bug is seen:
# rpm -q libvirt libvirt-9.5.0-7.el9_3.x86_64
How reproducible:
Always
Steps to reproduce
As above
Expected results
Works out of the box on RHEL9, without needing to pass URI
Actual results
Tries to connect to old socket by default and fails
- links to
-
RHBA-2023:125049 libvirt bug fix and enhancement update
- mentioned on