libvirtd: Failed to initialize libnetcontrol

Hi,

I’m running OpenSUSE Leap 15.3. I just setup a local KVM hypervisor using libvirtd. Here’s my own documentation for installing and configuring it:

https://docs.microlinux.fr/lp152/installation-kvm/

I have a single NIC on this machine, and I configured a bridge using nmtui so guest VMs can communicate with the local network.

# **nmcli con show**
NAME    UUID                                  TYPE      DEVICE 
BRIDGE  0ba8cabd-252e-4fc3-a3b6-21e8c4edd8bb  bridge    br0    
LAN     99ef3df3-c90e-439c-b545-c1a90e77a9bd  ethernet  eth0   
# **ip --brief addr show**
lo               UNKNOWN        127.0.0.1/8 ::1/128 
eth0             UP             
br0              UP             192.168.2.3/24 fe80::68c8:29ff:fee9:6961/64

There seems to be a problem with libvirtd:

# **systemctl status libvirtd**
● libvirtd.service - Virtualization daemon
     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2021-11-22 07:25:26 CET; 2h 28min ago
TriggeredBy: ● libvirtd.socket
             ● libvirtd-ro.socket
             ● libvirtd-admin.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 1436 (libvirtd)
      Tasks: 19 (limit: 32768)
     CGroup: /system.slice/libvirtd.service
             └─1436 /usr/sbin/libvirtd

Nov 22 07:25:26 sandbox systemd[1]: Starting Virtualization daemon...
Nov 22 07:25:26 sandbox libvirtd[1436]: libvirt version: 7.1.0
Nov 22 07:25:26 sandbox libvirtd[1436]: hostname: sandbox
Nov 22 07:25:26 sandbox libvirtd[1436]: **Failed to initialize libnetcontrol**.  Management of interface devices is disabled
Nov 22 07:25:26 sandbox systemd[1]: Started Virtualization daemon.

I’m worried about the “Failed to initialize libnetcontrol” line.

Any suggestions ?

Niki

Hi
If only have one network interface then use NAT. The bridge should be bound to eth0, you seem to have it the other way around… Or get a USB network adapter and use that as a bridge device.

I use wicked here;


brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.5ab37d637f3b	no		eth1

I do not see that message on my system when I check the status of libvirtd. However, I do see that exact message in my system logs after every boot. That being said, libvirtd seems to be functioning normally.