[one-users] Multiple HOST_HOOKs in oned.conf ?

Carlos Martín Sánchez cmartin at opennebula.org
Mon Nov 24 01:28:58 PST 2014


Hi Dmitri,

On Sun, Nov 23, 2014 at 4:13 PM, Dmitri Chebotarov <dchebota at gmu.edu> wrote:

>  Carlos,
> thank you for for the info.
>
>  I’ve noticed that HOST HOOK on ERROR executes every time, for as long as
> HOST is not reachable.
> This somewhat I didn’t expect and thought HOOK would execute once per
> status change (i.e. once when HOST goes ON to ERROR).
> My plan was to use ERROR HOOK to reset host’s power (via IPMI), but since
> it takes more that a minute for host to boot it would send the host into
> endless power cycle…
>  The script will need to implement some kind of tracking/cookie, so it
> doesn’t send power reset more then once.
>

You are right, that's a problem. I think we weren't aware of that, I've
opened a ticket to look into it [1].

Regards

[1] http://dev.opennebula.org/issues/3378

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141124/75f223ce/attachment.htm>


More information about the Users mailing list