Error creating virtual network: invalid network pointer in no network with matching uuid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: virt-manager
When I attempt to create a virtual network in virt-manager, I get an error that reads:
"Error creating virtual network: invalid network pointer in no network with matching uuid
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.nets[uuid] = vmmNetwork(
File "/usr/share/
self._xml = self.net.XMLDesc(0)
File "/usr/lib/
if ret is None: raise libvirtError ('virNetworkGet
libvirtError: invalid network pointer in no network with matching uuid"
I'm attaching a screenshot of the exact forms and the values I entered.
I also have this same issue, but I got a slightly different stacktrace... virt-manager/ virtManager/ createnet. py", line 301, in finish conn.create_ network( xml) virt-manager/ virtManager/ connection. py", line 743, in create_network self.config, self, net, uuid, False) virt-manager/ virtManager/ network. py", line 36, in __init__ python2. 6/dist- packages/ libvirt. py", line 594, in XMLDesc XMLDesc( ) failed', net=self)
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.nets[uuid] = vmmNetwork(
File "/usr/share/
self._xml = self.net.XMLDesc(0)
File "/usr/lib/
if ret is None: raise libvirtError ('virNetworkGet
libvirtError: invalid network pointer in no network with matching uuid
Line 594 in my libvirt.py is: XMLDesc( ) failed', net=self)
if ret is None: raise libvirtError ('virNetworkGet
And to give some context, here's the whole function:
virNetworkC reateXML( ). """ virNetworkGetXM LDesc(self. _o, flags) XMLDesc( ) failed', net=self)
def XMLDesc(self, flags):
"""Provide an XML description of the network. The description
may be reused later to relaunch the network with
ret = libvirtmod.
if ret is None: raise libvirtError ('virNetworkGet
return ret
I tried it again with a different description for my network and got a new stacktrace: virt-manager/ virtManager/ createnet. py", line 301, in finish conn.create_ network( xml) virt-manager/ virtManager/ connection. py", line 744, in create_network nets[uuid] .start( ) virt-manager/ virtManager/ network. py", line 71, in start net.create( ) python2. 6/dist- packages/ libvirt. py", line 620, in create ate() failed', net=self)
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virNetworkCre
libvirtError: cannot create bridge 'virbr0': Operation not permitted
My user is in the group "libvirtd" and I'm allowing myself to create bridges w/o a password via sudo. From /etc/sudoers:
%libvirtd ALL=(ALL) NOPASSWD: /sbin/ifconfig, /usr/sbin/brctl, /usr/sbin/tunctl
I'm still looking for a fix or workaround to get my VM working in bridged mode.