Hi,<br><br>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:<br>

<br>oneadmin    ALL=(ALL)       NOPASSWD: ALL<br><br><br>add this line to /etc/sudoers, then try to modify your bridge using oneadmin user.<br><br>pleas also attach latest logs in /var/log/one/oned.conf when you face the error message<br>

<br>Thanks<br>Davood<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 1:43 PM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<div><br></div><div>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</div>



<div><br></div><div>Have you followed the KVM guide (dynamic ownership, setting oneamdin as the user, etc):</div><div><a href="http://opennebula.org/documentation:rel3.4:kvmg" target="_blank">http://opennebula.org/documentation:rel3.4:kvmg</a></div>



<div><br></div><div>Also you might want to check the contents of /etc/qemu-if{up,down} and compare it with the debian scripts.</div><div><br></div><div>Cheers,<br>Jaime</div><div><br></div><div><br><div class="gmail_quote">



On Tue, May 15, 2012 at 5:58 PM, Olivier Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



hi,<br>
has anyone successfully configured KVM on CentOS 5.5 for OpenNebula?<br>
<br>
I have an issue with the  interface create at VM startup.<br>
<br>
Failed to add tap interface to bridge 'br0': Operation not permitted<br>
<br>
I know commands on Debian, but I cannot find how to do this on Centos<br>
(give non root user permissions to add a tap to the bridge).<br>
I added a rule : KERNEL=="tun", NAME="net/%k", GROUP="kvm", MODE="0660"<br>
<br>
but it does not seem to be enough....<br>
<br>
Thanks<br>
<span><font color="#888888"><br>
Olivier<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
<br>
gpg key id: 4096R/326D8438  (<a href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)<br>
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</font></span></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>

OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>




</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>