We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on
Thanks for reporting this issue.
As said in this bug report, you need to use localhost (QEMU) in virt-
manager and not localhost (QEMU Usermode) in order to connect to
qemu:///system.
Can you still reproduce this issue with a recent virt-manager, such as
the one in Karmic or Lucid?
** Changed
I have the same problem with the following command.
virt-manager -c qemu:///system
Unable to open connection to hypervisor URI 'qemu:///system':
class 'libvirt.libvirtError' virConnectOpenReadOnly() failed could not
connect to qemu:///system
Traceback (most recent call last):
File
The userspace libvirt (qemu:///session) cannot add interfaces to a
bridge device.
This won't get fixed unless virt-manager provides a helper script to run
something like sudo brcrtl addif br0 tap0.
Or just put You need root privileges to use bridged interfaces with
virt-manager into the
That's because virsh uses the root libvirtd and virt manager uses the userspace
one.
The same result is achieved by running virt-manager with sudo.
Still, thanks a lot for the information because I was experiencing the
same problem, but then on a personal Ubuntu server I access remotely.
If you use this
virt-manager -c qemu:///system
You can even skip the sudo's.
Make sure you are part of the libvirtd group.
--
Error starting domain: virDomainCreate() failed Failed to add tap interface
'vnet%d' to bridge 'br0' : Permission denied
https://bugs.launchpad.net/bugs/247677
You
This may be a problem related to virt-manager (the GUI for libvirt).
I've just experienced the same problem with virt-manager, and managed to
circumnavigate the issue by booting the VM using the command line tools.
Here's what I did:
Connect: virsh --connect qemu:///system
Start the VM: start
[EMAIL PROTECTED]:~$ grep tun /etc/group
tun:x:1002:andreas
[EMAIL PROTECTED]:~$ groups | grep tun
tun
[EMAIL PROTECTED]:~$ ls -l /dev/net/tun
crw--- 1 root root 10, 200 2008-04-29 23:05 /dev/net/tun
[EMAIL PROTECTED]:~$ sudo chown :tun /dev/net/tun
[sudo] password for andreas:
[EMAIL
[EMAIL PROTECTED]:~$ grep tun /etc/group
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ groups | grep tun
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ ls -l /dev/net/tun
crw--- 1 root root 10, 200 2008-04-29 23:05 /dev/net/tun
[EMAIL PROTECTED]:~$
--
Error starting domain: virDomainCreate()
It looks as if you don't have non-root permissions to use the tun
device. Do the following:
$ sudo addgroup tun
$ sudo adduser $(id -un) tun
log-out and log-in again to effect the new group membership, then check
tun is listed in the user's groups:
$ groups
Now follow the instruction in my
What is the output of:
grep tun /etc/group
groups | grep tun
ls -l /dev/net/tun
--
Error starting domain: virDomainCreate() failed Failed to add tap interface
'vnet%d' to bridge 'br0' : Permission denied
https://bugs.launchpad.net/bugs/247677
You received this bug notification because you
11 matches
Mail list logo