[Pkg-libvirt-maintainers] Bug#566882: Bug#566882: libvirtError: cannot create bridge 'virbr0': File exists

Guido Günther agx at sigxcpu.org
Sat Jan 30 17:16:51 UTC 2010


Hi Jonny,
On Mon, Jan 25, 2010 at 07:20:28PM +0000, Jonny Lamb wrote:
> Package: virt-manager
> Version: 0.8.2-2
> Severity: normal
> 
> I tried to create a network, but it failed with the following items
> appearing in the log.
> 
> I guess the XML shows you what I was trying to do exactly.
> 
> [Mon, 25 Jan 2010 19:18:00 virt-manager 24880] DEBUG (createnet:347) About to create network <network>  <name>network1</name>
>   <forward mode='nat'/>
>   <ip address='192.168.100.1' netmask='255.255.255.0'>
>     <dhcp>
>       <range start='192.168.100.128' end='192.168.100.254'/>
>     </dhcp>
>   </ip>
> </network>
> 
> [Mon, 25 Jan 2010 19:18:00 virt-manager 24880] DEBUG (error:79) Uncaught Error: Error creating virtual network: cannot create bridge 'virbr0': File exists : Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/createnet.py", line 350, in finish
>     self.conn.create_network(xml)
>   File "/usr/share/virt-manager/virtManager/connection.py", line 644, in create_network
>     net.create()
>   File "/usr/lib/python2.5/site-packages/libvirt.py", line 686, in create
>     if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
> libvirtError: cannot create bridge 'virbr0': File exists
Can you reproduce this? If so please describe how and attache the output
of ~/.virt-manager/virt-manager.log.
I wonder where the virbr0 device comes from. Could you also attach
"virsh net-list --all" and "virsh net-dumpxml <network>" of all your
networks?
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list