[one-users] Host hooks aren't triggered

Zaina AFOULKI zaina.afoulki at ensi-bourges.fr
Thu Mar 31 07:20:27 PDT 2011


 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



More information about the Users mailing list