On Sat, 2024-02-10 at 18:53 +0100, Johannes Kastl wrote:
Hi all,
is anyone else experiencing issues with libvirt since mid of this week?
I can no longer start VMs using vagrant. Vagrant hangs at "Waiting for domain to get an IP address..." and never gets anywhere.
Existing VMs can be started using virsh or libvirt, so it might be an issue with vagrant itself. But it was working until mid of this week, despite being outdated (due to the licensing change).
I noticed some errors regarding missing directories on Feb 8th and today:
Feb 08 13:09:28 baten systemd[1]: Starting libvirt legacy monolithic daemon... Feb 08 13:09:28 baten libvirtd[7841]: libvirt version: 10.0.0 Feb 08 13:09:28 baten libvirtd[7841]: hostname: baten Feb 08 13:09:28 baten libvirtd[7841]: Failed to initialize libnetcontrol. Management of interface devices is disabled
This looks suspicious to me, given that your VM doesn't obtain an IP address. "failed to initialize libnetcontrol" errors have been reported before for openSUSE, but afaics the existing reports are from 2021 and before.
Feb 08 13:09:28 baten systemd[1]: Started libvirt legacy monolithic daemon. Feb 08 13:09:29 baten libvirtd[7841]: Interner Fehler: failed to query mdevs from mdevctl: Error: Required directory "/usr/lib/mdevctl/scripts.d/callouts" doesn't exist. This may indicate a packaging or installation error Feb 08 13:11:28 baten systemd[1]: libvirtd.service: Deactivated successfully.
or
Feb 10 18:31:36 baten systemd[1]: Started libvirt legacy monolithic daemon. Feb 10 18:31:37 baten libvirtd[4420]: Interner Fehler: failed to query mdevs from mdevctl: Error: Required directory "/usr/lib/mdevctl/scripts.d/notifiers" doesn't exist. This may indicate a packaging or installation error
And sure enough there are no directories in /usr/lib/mdevctl/scripts.d/ on all of my machines...
I know this isn't helpful, but I just tried and my environment started just fine. It might be some detail of how your vagrant box is set up. I not using the "modularized" libvirt setup [1]. Package list here: glibc-2.39-1.2.x86_64 libnetcontrol0-0.3.2-3.2.x86_64 libvirt-daemon-driver-qemu-10.0.0-2.2.x86_64 libvirt-daemon-driver-interface-10.0.0-2.2.x86_64 mdevctl-1.3.0-1.2.x86_64 qemu-8.1.3-1.2.x86_64 vagrant-2.3.7-4.2.noarch vagrant-libvirt-0.11.2-2.6.x86_64 Anyway I'd suggest looking into the libnetcontrol error message. Regards Martin [1] https://doc.opensuse.org/documentation/leap/virtualization/html/book-virtual...