[opensuse-virtual] libvirtd fails to start of NetworkManager is enabled
Current libvirtd from Virtualization/libvirt fails to start because ncf_init() fails. nc__suse_config_init fails because it expects NETWORKMANAGER=no, so that "network.service" is returned to __netcontrol_enabled. netcontrol was appearently not changed since a long time. So I think for some reason libvirtd changed. Upstream git did appearently not change, netcfStateInitialize always returned some error if ncf_init() fails. What is supposed to happen with libvirt if NM is active on a 11.4 system? This used to work at least two weeks ago. Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Sun, Nov 24, Olaf Hering wrote:
What is supposed to happen with libvirt if NM is active on a 11.4 system? This used to work at least two weeks ago.
libvirtd fails also on 13.1. And now that NM starts to handle bridge and bond, whats libvirt supposed to do with that new functionality? Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Olaf Hering wrote:
On Sun, Nov 24, Olaf Hering wrote:
What is supposed to happen with libvirt if NM is active on a 11.4 system? This used to work at least two weeks ago.
libvirtd fails also on 13.1.
Ok, I'll take a look.
And now that NM starts to handle bridge and bond, whats libvirt supposed to do with that new functionality?
Nothing, since libvirt has no integration with NM. IMO, libvirt is a peer to NM. So the better question is how are these two supposed to co-exist? We need to have a discussion with the network folks... Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Jim Fehlig wrote:
Olaf Hering wrote:
On Sun, Nov 24, Olaf Hering wrote:
What is supposed to happen with libvirt if NM is active on a 11.4 system? This used to work at least two weeks ago.
libvirtd fails also on 13.1.
Ok, I'll take a look.
Should be fixed now. libvirt commit 822fe136 made the interface driver stateful and moved ncf_init to the driver's stateInitialize function. Failure to initialize any of the stateful drivers results in failure to start libvirtd. I changed the stateInitialize function to warn, but still return success when ncf_init fails. Subsequent attempts to use the driver fail as before # virsh iface-list error: Failed to list active interfaces error: this function is not supported by the connection driver: virConnectNumOfInterfaces Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Olaf Hering wrote:
Current libvirtd from Virtualization/libvirt fails to start because ncf_init() fails. nc__suse_config_init fails because it expects NETWORKMANAGER=no, so that "network.service" is returned to __netcontrol_enabled. netcontrol was appearently not changed since a long time. So I think for some reason libvirtd changed. Upstream git did appearently not change, netcfStateInitialize always returned some error if ncf_init() fails.
Right. And daemonInitialize() in daemon/libvirtd.c ignores the return value anyhow. I'm puzzled why libvirtd won't load when netcfStateInitialize() fails...
What is supposed to happen with libvirt if NM is active on a 11.4 system?
Bad things will happen :-). On a serious note, libvirt and NM are both "network management clients" and may not play well together. I'm not sure if any of the new wicked infrastructure provides better support for multiple network management tools. Jim -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (2)
-
Jim Fehlig
-
Olaf Hering