Hello Nikola,<div><br></div><div>apparently the 'oneadmin' user is not allowed to execute 'brctl show' in your worker node. Could you log into that worker node as the 'oneadmin' user and give it a try? Maybe 'brctl' is not in the $PATH for the 'oneadmin' user?</div>
<div><br></div><div>In any case, the best way to debug this is to execute the hook by hand from the worker node. </div><div><br></div><div>You also need to enable the privilege for oneadmin to execute ebtables with sudo.</div>
<div><br></div><div>regards,</div><div>Jaime</div><div><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 3:25 PM, Nikola Garafolic <span dir="ltr"><<a href="mailto:nikola.garafolic@srce.hr" target="_blank">nikola.garafolic@srce.hr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Nikola Garafolic wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, thanks for info, but still have some problems with ebtables.<br>
Its installed on nodes, sudo is setup ok (I dont get why it asks for password when ebtables is set in sudo.), but vm.log shows this:<br>
<br>
<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: Command execution fail: 'share/hooks/ebtables-xen one-42'<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: STDERR follows.<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: Password:<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: Password:<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: Password:<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: share/hooks/ebtables-xen:33:in `get_bridges': undefined method `each' for nil:NilClass (NoMethodError)<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: from share/hooks/ebtables-xen:47:in `get_interfaces'<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: from share/hooks/ebtables-xen:58<br>
Fri Feb 5 15:05:27 2010 [HKM][I]: ExitCode: 1<br>
Fri Feb 5 15:05:27 2010 [HKM][E]: Error executing Hook: ebtables-start.<br>
<br>
</blockquote></div>
Does anyone use ebtables-xen script?<br>
<br>
Regards,<br><font color="#888888">
Nikola</font><div><div></div><div><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>
</div></div></blockquote></div><br></div>