[one-users] kvm bridge interface error

Olivier Sallou olivier.sallou at irisa.fr
Tue Sep 28 04:28:25 PDT 2010


  Hi,
I have an error at my VM boot:

Tue Sep 28 13:07:09 2010 [VMM][D]: Message received: LOG - 8 error: 
internal error Failed to add tap interface 'vnet%d' to bridge 'br0' : 
Permission denied

I use a bridge on my worker node and my template refer to this bridge. 
The bridge works (I have a manually installed VM that use it).
I think the issue is when one tries a brctl on my bridge (using CentOS).

I wonder what rights are required ? I could of course add oneadmin user 
to root group, but I do not think this is a good solution.

I have set in libvirtd.conf:
unix_sock_group = "oneadmin"

and:

[root at genomobyle network-scripts]# ls -la /var/run/libvirt
total 20
drwxr-xr-x  4 root root     4096 sep 28 13:05 .
drwxr-xr-x 30 root root     4096 sep 28 13:05 ..
srwxrwx---  1 root oneadmin    0 sep 28 13:05 libvirt-sock
srwxrwxrwx  1 root oneadmin    0 sep 28 13:05 libvirt-sock-ro
drwxr-xr-x  2 root root     4096 sep 16 09:51 network
drwxr-xr-x  2 root root     4096 sep 24 14:47 qemu


Thanks if you have any clue...

Olivier


More information about the Users mailing list