Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#566882: libvirtError: cannot create bridge 'virbr0': File exists

250 views
Skip to first unread message

Jonny Lamb

unread,
Jan 25, 2010, 2:30:02 PM1/25/10
to
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

--
Jonny Lamb, UK
jo...@debian.org

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Guido Günther

unread,
Jan 30, 2010, 12:30:02 PM1/30/10
to
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
0 new messages