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

Nikola Garafolic nikola.garafolic at srce.hr
Mon Feb 15 04:19:17 PST 2010


I added line for brctl on the nodes to work with sudo. Commands brctl 
and ebtables work normally when used from command line (for oneadmin 
user too), but seems there is some trouble with ebtables script, I would 
say.

Hook executed by hand gives the same output as vm.log.

Regards,
Nikola

Jaime Melis wrote:
> 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 <mailto: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 <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 
> 




More information about the Users mailing list