Bug 1072019 - virt-manager can't create bridge network
virt-manager can't create bridge network
Status: RESOLVED INVALID
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Tools
Current
x86-64 Other
: P2 - High : Critical (vote)
: Current
Assigned To: virt-bugs list
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-09 04:32 UTC by Walddys Emmanuel Dorrejo Céspedes
Modified: 2017-12-29 01:53 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Photo of virt-manager (18.89 KB, image/png)
2017-12-09 04:32 UTC, Walddys Emmanuel Dorrejo Céspedes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walddys Emmanuel Dorrejo Céspedes 2017-12-09 04:32:58 UTC
Created attachment 752189 [details]
Photo of virt-manager

Hello, i am trying to use my network interface with the bridge function but is not working looking it on the net i find that i need to add it on:

1- QEMU/KVM Connection Details
2- Tab: Network Interfaces
3- Click the button +.

but this button is disable on both mode super and user mode.

- systemctl status -l libvirtd.service

dic 09 00:23:40 DevDorrejo libvirtd[4211]: 2017-12-09 04:23:40.976+0000: 4220: error : virConnectNumOfInterfaces:136 : this function is not supported by the connection driver: virConnectNumOfInterfaces

dic 09 00:20:39 DevDorrejo libvirtd[4211]: 2017-12-09 04:20:39.880+0000: 4215: error : virConnectNumOfInterfaces:136 : this function is not supported by the connection driver: virConnectNumOfInterfaces

- This is journalctl -u libvirtd:

-- Logs begin at Sat 2017-12-09 00:14:11 AST, end at Sat 2017-12-09 00:28:13 AST. --
dic 09 00:14:43 DevDorrejo systemd[1]: Starting Virtualization daemon...
dic 09 00:14:45 DevDorrejo libvirtd[1528]: 2017-12-09 04:14:45.027+0000: 1528: info : libvirt version: 3.10.0
dic 09 00:14:45 DevDorrejo libvirtd[1528]: 2017-12-09 04:14:45.027+0000: 1528: info : hostname: DevDorrejo
dic 09 00:14:45 DevDorrejo libvirtd[1528]: 2017-12-09 04:14:45.027+0000: 1528: warning : netcfIfaceRegister:1193 : Failed to intialize libnetcontrol.  Management of interface devices is disabled
dic 09 00:14:46 DevDorrejo systemd[1]: Started Virtualization daemon.
dic 09 00:14:47 DevDorrejo libvirtd[1528]: 2017-12-09 04:14:47.357+0000: 1528: warning : daemonReloadHandler:717 : Drivers are not initialized, reload ignored
dic 09 00:14:55 DevDorrejo dnsmasq[2511]: started, version 2.76 cachesize 2000
dic 09 00:14:55 DevDorrejo dnsmasq[2511]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dic 09 00:14:55 DevDorrejo dnsmasq-dhcp[2511]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
dic 09 00:14:55 DevDorrejo dnsmasq-dhcp[2511]: DHCP, sockets bound exclusively to interface virbr0
dic 09 00:14:55 DevDorrejo dnsmasq[2511]: no servers found in /etc/resolv.conf, will retry
dic 09 00:14:55 DevDorrejo dnsmasq[2511]: read /etc/hosts - 7 addresses
dic 09 00:14:55 DevDorrejo dnsmasq[2511]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
dic 09 00:14:55 DevDorrejo dnsmasq-dhcp[2511]: read /var/lib/libvirt/dnsmasq/default.hostsfile
dic 09 00:14:56 DevDorrejo dnsmasq[2559]: started, version 2.76 cachesize 2000
dic 09 00:14:56 DevDorrejo dnsmasq[2559]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dic 09 00:14:56 DevDorrejo dnsmasq[2559]: warning: no upstream servers configured
dic 09 00:14:56 DevDorrejo dnsmasq[2559]: read /etc/hosts - 7 addresses
dic 09 00:14:56 DevDorrejo dnsmasq[2559]: read /var/lib/libvirt/dnsmasq/intnet.addnhosts - 0 addresses
dic 09 00:14:56 DevDorrejo dnsmasq[2588]: started, version 2.76 cachesize 2000
dic 09 00:14:56 DevDorrejo dnsmasq[2588]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dic 09 00:14:56 DevDorrejo dnsmasq-dhcp[2588]: DHCP, IP range 192.168.10.5 -- 192.168.10.254, lease time 1h
dic 09 00:14:56 DevDorrejo dnsmasq-dhcp[2588]: DHCP, sockets bound exclusively to interface virbr2
dic 09 00:14:56 DevDorrejo dnsmasq[2588]: no servers found in /etc/resolv.conf, will retry
dic 09 00:14:56 DevDorrejo dnsmasq[2588]: read /etc/hosts - 7 addresses
dic 09 00:14:56 DevDorrejo dnsmasq[2588]: read /var/lib/libvirt/dnsmasq/bridge.addnhosts - 0 addresses
dic 09 00:14:56 DevDorrejo dnsmasq-dhcp[2588]: read /var/lib/libvirt/dnsmasq/bridge.hostsfile
dic 09 00:16:50 DevDorrejo dnsmasq[2511]: reading /etc/resolv.conf
dic 09 00:16:50 DevDorrejo dnsmasq[2588]: reading /etc/resolv.conf
dic 09 00:16:50 DevDorrejo dnsmasq[2588]: using nameserver 148.103.0.73#53
dic 09 00:16:50 DevDorrejo dnsmasq[2511]: using nameserver 148.103.0.73#53
dic 09 00:16:50 DevDorrejo dnsmasq[2588]: using nameserver 190.94.1.177#53
dic 09 00:16:50 DevDorrejo dnsmasq[2511]: using nameserver 190.94.1.177#53
dic 09 00:18:23 DevDorrejo libvirtd[1528]: 2017-12-09 04:18:23.378+0000: 1581: error : virConnectNumOfInterfaces:136 : this function is not supported by the connection driver: virConnectNumOfInterfaces
dic 09 00:19:57 DevDorrejo systemd[1]: Stopping Virtualization daemon...
dic 09 00:19:58 DevDorrejo systemd[1]: libvirtd.service: Main process exited, code=dumped, status=11/SEGV
dic 09 00:19:58 DevDorrejo systemd[1]: Stopped Virtualization daemon.
dic 09 00:19:58 DevDorrejo systemd[1]: libvirtd.service: Unit entered failed state.
dic 09 00:19:58 DevDorrejo systemd[1]: libvirtd.service: Failed with result 'core-dump'.
dic 09 00:19:58 DevDorrejo systemd[1]: Starting Virtualization daemon...
dic 09 00:19:58 DevDorrejo libvirtd[3972]: 2017-12-09 04:19:58.106+0000: 3972: info : libvirt version: 3.10.0
dic 09 00:19:58 DevDorrejo libvirtd[3972]: 2017-12-09 04:19:58.106+0000: 3972: info : hostname: DevDorrejo
dic 09 00:19:58 DevDorrejo libvirtd[3972]: 2017-12-09 04:19:58.106+0000: 3972: warning : netcfIfaceRegister:1193 : Failed to intialize libnetcontrol.  Management of interface devices is disabled
dic 09 00:19:58 DevDorrejo systemd[1]: Started Virtualization daemon.
dic 09 00:19:58 DevDorrejo dnsmasq[2559]: read /etc/hosts - 7 addresses
dic 09 00:19:58 DevDorrejo dnsmasq[2559]: read /var/lib/libvirt/dnsmasq/intnet.addnhosts - 0 addresses
dic 09 00:19:58 DevDorrejo dnsmasq[2588]: read /etc/hosts - 7 addresses
dic 09 00:19:58 DevDorrejo dnsmasq[2588]: read /var/lib/libvirt/dnsmasq/bridge.addnhosts - 0 addresses
dic 09 00:19:58 DevDorrejo dnsmasq-dhcp[2588]: read /var/lib/libvirt/dnsmasq/bridge.hostsfile
dic 09 00:19:58 DevDorrejo dnsmasq[2511]: read /etc/hosts - 7 addresses
dic 09 00:19:58 DevDorrejo dnsmasq[2511]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
dic 09 00:19:58 DevDorrejo dnsmasq-dhcp[2511]: read /var/lib/libvirt/dnsmasq/default.hostsfile
dic 09 00:20:33 DevDorrejo systemd[1]: Stopping Virtualization daemon...
dic 09 00:20:33 DevDorrejo systemd[1]: Stopped Virtualization daemon.
dic 09 00:20:33 DevDorrejo systemd[1]: Starting Virtualization daemon...
dic 09 00:20:33 DevDorrejo libvirtd[4211]: 2017-12-09 04:20:33.706+0000: 4211: info : libvirt version: 3.10.0
dic 09 00:20:33 DevDorrejo libvirtd[4211]: 2017-12-09 04:20:33.706+0000: 4211: info : hostname: DevDorrejo
dic 09 00:20:33 DevDorrejo libvirtd[4211]: 2017-12-09 04:20:33.706+0000: 4211: warning : netcfIfaceRegister:1193 : Failed to intialize libnetcontrol.  Management of interface devices is disabled
dic 09 00:20:33 DevDorrejo systemd[1]: Started Virtualization daemon.
dic 09 00:20:34 DevDorrejo dnsmasq[2559]: read /etc/hosts - 7 addresses
dic 09 00:20:34 DevDorrejo dnsmasq[2559]: read /var/lib/libvirt/dnsmasq/intnet.addnhosts - 0 addresses
dic 09 00:20:34 DevDorrejo dnsmasq[2588]: read /etc/hosts - 7 addresses
dic 09 00:20:34 DevDorrejo dnsmasq[2588]: read /var/lib/libvirt/dnsmasq/bridge.addnhosts - 0 addresses
dic 09 00:20:34 DevDorrejo dnsmasq-dhcp[2588]: read /var/lib/libvirt/dnsmasq/bridge.hostsfile
dic 09 00:20:34 DevDorrejo dnsmasq[2511]: read /etc/hosts - 7 addresses
dic 09 00:20:34 DevDorrejo dnsmasq[2511]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
dic 09 00:20:34 DevDorrejo dnsmasq-dhcp[2511]: read /var/lib/libvirt/dnsmasq/default.hostsfile
dic 09 00:20:39 DevDorrejo libvirtd[4211]: 2017-12-09 04:20:39.880+0000: 4215: error : virConnectNumOfInterfaces:136 : this function is not supported by the connection driver: virConnectNumOfInterfaces
dic 09 00:23:40 DevDorrejo libvirtd[4211]: 2017-12-09 04:23:40.976+0000: 4220: error : virConnectNumOfInterfaces:136 : this function is not supported by the connection driver: virConnectNumOfInterfaces
dic 09 00:26:24 DevDorrejo libvirtd[4211]: 2017-12-09 04:26:24.966+0000: 4218: error : virConnectNumOfInterfaces:136 : this function is not supported by the connection driver: virConnectNumOfInterfaces

- User groups:

users vboxusers libvirt qemu systemd-network systemd-journal video kvm audio wheel sshd

- Hwinfo 

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
03:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
Comment 1 James Fehlig 2017-12-09 15:54:38 UTC
(In reply to Walddys Emmanuel Dorrejo Céspedes from comment #0)
> dic 09 00:19:58 DevDorrejo libvirtd[3972]: 2017-12-09 04:19:58.106+0000:
> 3972: warning : netcfIfaceRegister:1193 : Failed to intialize libnetcontrol.
> Management of interface devices is disabled

libvirt was unable to initialize libnetcontrol, hence unable to manage interface devices. And a bridge is a type of interface device. Do you have NetworkManager running? libnetcontrol will fail to initialize if NetworkManager is managing interfaces.
Comment 2 Walddys Emmanuel Dorrejo Céspedes 2017-12-09 18:31:16 UTC
(In reply to James Fehlig from comment #1)
> (In reply to Walddys Emmanuel Dorrejo Céspedes from comment #0)
> > dic 09 00:19:58 DevDorrejo libvirtd[3972]: 2017-12-09 04:19:58.106+0000:
> > 3972: warning : netcfIfaceRegister:1193 : Failed to intialize libnetcontrol.
> > Management of interface devices is disabled
> 
> libvirt was unable to initialize libnetcontrol, hence unable to manage
> interface devices. And a bridge is a type of interface device. Do you have
> NetworkManager running? libnetcontrol will fail to initialize if
> NetworkManager is managing interfaces.

so to work with bridge i need use wicked?
Comment 3 James Fehlig 2017-12-11 06:25:33 UTC
(In reply to Walddys Emmanuel Dorrejo Céspedes from comment #2)
> so to work with bridge i need use wicked?

If you want to manage your bridges with libvirt, yes. You can also choose to use NetworkManager to mange your bridges, but the two are mutually exclusive.
Comment 4 James Fehlig 2017-12-12 16:26:46 UTC
Have you tried managing interface devices through libvirt when wicked is enabled and NetworkManager disabled?
Comment 5 James Fehlig 2017-12-29 01:53:57 UTC
Closing. Please reopen if you are unable to manage interfaces devices through libvirt with wicked enabled.