[one-users] kvm config on CentOS 5.5

davood ghatreh davood.gh2000 at gmail.com
Wed May 23 02:50:32 PDT 2012


Hi,

As far as I know, oneadmin execute commands using sudo, you need to specify
which command oneadmin is allowed to run in /etc/sudoers. and also, no
password should be asked when it use sudo. for instance, if you add
following, you let it run any command with sudo, without any password
required:

oneadmin    ALL=(ALL)       NOPASSWD: ALL


add this line to /etc/sudoers, then try to modify your bridge using
oneadmin user.

pleas also attach latest logs in /var/log/one/oned.conf when you face the
error message

Thanks
Davood

On Wed, May 23, 2012 at 1:43 PM, Jaime Melis <jmelis at opennebula.org> wrote:

> Hello,
>
> I can't give you much advice on Centos 5.5 since it's not officially
> supported any more and we haven't used it for a while. However, it seems
> your problem can be solved by properly configuring
> /etc/libvirt/libvirtd.conf and /etc/libvirt/qemu.conf
>
> Have you followed the KVM guide (dynamic ownership, setting oneamdin as
> the user, etc):
> http://opennebula.org/documentation:rel3.4:kvmg
>
> Also you might want to check the contents of /etc/qemu-if{up,down} and
> compare it with the debian scripts.
>
> Cheers,
> Jaime
>
>
> On Tue, May 15, 2012 at 5:58 PM, Olivier Sallou <olivier.sallou at irisa.fr>wrote:
>
>> hi,
>> has anyone successfully configured KVM on CentOS 5.5 for OpenNebula?
>>
>> I have an issue with the  interface create at VM startup.
>>
>> Failed to add tap interface to bridge 'br0': Operation not permitted
>>
>> I know commands on Debian, but I cannot find how to do this on Centos
>> (give non root user permissions to add a tap to the bridge).
>> I added a rule : KERNEL=="tun", NAME="net/%k", GROUP="kvm", MODE="0660"
>>
>> but it does not seem to be enough....
>>
>> Thanks
>>
>> Olivier
>>
>> --
>>
>> gpg key id: 4096R/326D8438  (keyring.debian.org)
>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jmelis at opennebula.org
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120523/7bee7b6b/attachment-0003.htm>


More information about the Users mailing list