[one-users] need network and host template for xen

Jaime Melis j.melis at fdi.ucm.es
Thu Feb 11 09:08:04 PST 2010


Hello Nikola,

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?

In any case, the best way to debug this is to execute the hook by hand from
the worker node.

You also need to enable the privilege for oneadmin to execute ebtables with
sudo.

regards,
Jaime

On Tue, Feb 9, 2010 at 3:25 PM, Nikola Garafolic
<nikola.garafolic at srce.hr>wrote:

> Nikola Garafolic wrote:
>
>> Well, thanks for info, but still have some problems with ebtables.
>> 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:
>>
>>
>> Fri Feb  5 15:05:27 2010 [HKM][I]: Command execution fail:
>> 'share/hooks/ebtables-xen one-42'
>> Fri Feb  5 15:05:27 2010 [HKM][I]: STDERR follows.
>> Fri Feb  5 15:05:27 2010 [HKM][I]: Password:
>> Fri Feb  5 15:05:27 2010 [HKM][I]: Password:
>> Fri Feb  5 15:05:27 2010 [HKM][I]: Password:
>> Fri Feb  5 15:05:27 2010 [HKM][I]: share/hooks/ebtables-xen:33:in
>> `get_bridges': undefined method `each' for nil:NilClass (NoMethodError)
>> Fri Feb  5 15:05:27 2010 [HKM][I]: from share/hooks/ebtables-xen:47:in
>> `get_interfaces'
>> Fri Feb  5 15:05:27 2010 [HKM][I]: from share/hooks/ebtables-xen:58
>> Fri Feb  5 15:05:27 2010 [HKM][I]: ExitCode: 1
>> Fri Feb  5 15:05:27 2010 [HKM][E]: Error executing Hook: ebtables-start.
>>
>>  Does anyone use ebtables-xen script?
>
> Regards,
> Nikola
>
> _______________________________________________
> 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/20100211/25424e67/attachment-0003.htm>


More information about the Users mailing list