Hi,

I'm having some trouble getting the HOST_HOOKS to work:
I added this to the configuration file and restarted oned.

HOST_HOOK = [
    name      = "disable",
    on        = "DISABLE",
    command   = "host_error.rb",
    arguments = "$HID -r y",
    remote    = "no" ]

However when I disable a host using "onehost disable" the VMs aren't re-submitted.
The oned.log doesn't indicate that the hook has been triggered.

I'm using OpenNebula 2.2 and the script host_error.rb is indeed
located in my $ONE_LOCATION/share/hooks/

What am I doing wrong? Thanks

--
Zaina
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to