virt-manager Network bridge Operation not permitted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
~$ uname -a
Linux mainline 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
~$ apt-show-versions virt-manager
virt-manager/karmic uptodate 0.7.0-3ubuntu1
Expected Result:
That I would navigate Ubuntu 9.10 menus, Applications > System Tools > Virtual Machine Manager, then use this application to connect with KVM/Qemu, then navigate this window's menu to, Edit > Host Details, then move into Virtual Networks tab, and create a network there.
This almost happened.
Actual Result:
Instead, creating a software default 10.0.0.0/8 network causes errors. I tried two forwarding options, Isolated, and NAT to device lo: Both return errors when trying to make the bridge.
After creating the 10.0.0.0/8 network and exiting the original program instance, I restarted it from terminal and tried starting the network again. It is configured for an Isolated network now. Same error.
~$ virt-manager --debug --no-fork
2010-02-09 18:54:53,106 (virt-manager:144): Application startup
/usr/share/
properties=props)
2010-02-09 18:54:53,570 (engine:81): About to connect to uris ['qemu:///session']
2010-02-09 18:54:53,578 (connection:144): Bonding masters are: []
2010-02-09 18:54:53,586 (connection:170): Got physical net device /org/freedeskto
2010-02-09 18:54:53,587 (connection:230): Adding net device virbr0 56:32:54:10:18:a9 /sys/class/
2010-02-09 18:54:53,588 (connection:202): Checking for VLANs on /sys/class/
2010-02-09 18:54:53,592 (connection:170): Got physical net device /org/freedeskto
2010-02-09 18:54:53,594 (connection:230): Adding net device lo 00:00:00:00:00:00 /sys/class/net/lo (bridge: None)
2010-02-09 18:54:53,594 (connection:202): Checking for VLANs on /sys/class/net/lo
2010-02-09 18:54:53,604 (connection:170): Got physical net device /org/freedeskto
2010-02-09 18:54:53,606 (connection:230): Adding net device eth2 00:17:31:10:ef:72 /sys/class/net/eth2 (bridge: None)
2010-02-09 18:54:53,607 (connection:202): Checking for VLANs on /sys/class/net/eth2
2010-02-09 18:54:53,614 (connection:170): Got physical net device /org/freedeskto
2010-02-09 18:54:53,616 (connection:230): Adding net device eth1 00:14:bf:58:c7:6e /sys/class/net/eth1 (bridge: None)
2010-02-09 18:54:53,617 (connection:202): Checking for VLANs on /sys/class/net/eth1
2010-02-09 18:54:53,621 (connection:170): Got physical net device /org/freedeskto
2010-02-09 18:54:53,622 (connection:230): Adding net device eth0 00:1c:f0:91:79:55 /sys/class/net/eth0 (bridge: None)
2010-02-09 18:54:53,623 (connection:202): Checking for VLANs on /sys/class/net/eth0
2010-02-09 18:54:53,676 (engine:320): window counter incremented to 1
2010-02-09 18:54:53,692 (connection:456): Scheduling background open thread for qemu:///session
2010-02-09 18:54:53,693 (connection:586): Background thread is running
2010-02-09 18:54:53,697 (connection:624): Background open thread complete, scheduling notify
2010-02-09 18:54:53,787 (connection:633): Notifying open result
2010-02-09 18:55:44,400 (error:76): Uncaught Error: Error starting network: cannot create bridge 'virbr0': Operation not permitted : Traceback (most recent call last):
File "/usr/share/
net.start()
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virNetworkCre
libvirtError: cannot create bridge 'virbr0': Operation not permitted
Thanks for your attention. _o_O/
I'm not sure if this is expected to work with the qemu:///session , rather than qemu:///system