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 <[email protected]> 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 > <[email protected]>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 >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > > > > -- > Jaime Melis > Project Engineer > OpenNebula - The Open Source Toolkit for Cloud Computing > www.OpenNebula.org | [email protected] > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
