[one-users] kvm bridge interface error

Olivier Sallou olivier.sallou at irisa.fr
Thu Oct 14 00:28:19 PDT 2010


  I was using 1.4, but I saw nowhere a config for

qemu:///system


in the script. I forced to qemu:///system and it worked.

Now I switched to 2.0 and it worked directly with no modification.

Thanks

Olivier



Le 10/13/10 5:43 PM, Javier Fontan a écrit :
> Hello,
>
> What is the version you are using? In 2.0 by default it uses
> qemu:///system url to talk to libvirt. If you are using 1.4 in the
> configuration for kvm vmm, the file vmm_kvmrc it should be also
> configured for qemu:///system, is that correct?
>
> Also check that libvirtd is running as root, I suppose it is seeing
> that the files are owned by root. This error usually happens when
> virsh uses qemu:///session url to connect to it.
>
> Bye
>
>
> On Tue, Sep 28, 2010 at 1:28 PM, Olivier Sallou<olivier.sallou at irisa.fr>  wrote:
>>   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
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>



More information about the Users mailing list