Hi,

There was a bug preventing the hook to load the needed .rb files. Please 
find the solution at [1].

Regards,

-Tino

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

--
Constantino Vázquez Blanco, PhD, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula



On Thu, Dec 6, 2012 at 9:53 AM, 张光鹏 <[email protected]> wrote:

> ** 
> Hi, all
> I encountered an error when to experience one3.8's hook function.
> I have a host which id is 3,and the configuration in oned.conf file is :
>  HOST_HOOK = [
>     name      = "error",
>     on        = "ERROR",
>     command   = "ft/host_error.rb",
>     arguments = "$ID -r f",
>     remote    = "no" ]
> But when my host monitore error ,the hook execute failure, log is:
>
>  
> Thu Dec  6 16:44:13 2012 [InM][E]: Error monitoring host 3 : MONITOR FAILURE 
> 3 Could not update remotes
>
> Thu Dec  6 16:44:13 2012 [ReM][D]: Req:8352 UID:0 HostPoolInfo result 
> SUCCESS, "<HOST_POOL><HOST><ID..."
>
> Thu Dec  6 16:44:13 2012 [HKM][D]: Message received: LOG I 3 Command 
> execution fail: /opt/nebula/ONE/var/remotes//hooks/ft/host_error.rb 3 -r f
> Thu Dec  6 16:44:13 2012 [HKM][D]: Message received: LOG I 3 ExitCode: 255
>
> Thu Dec  6 16:44:13 2012 [HKM][D]: Message received: EXECUTE FAILURE 3 error: 
> -
>  
> There are no error when i use one3.6, so i doubt that if one3.8's 
> host_error.rb have error?
>
>  
> ------------------------------
>  张光鹏
> tel:  13718913184
> mail: [email protected]
> 移动互联网事业部
>  东软集团股份有限公司
> http://www.neusoft.com
>  
>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any 
> accompanying attachment(s) 
> is intended only for the use of the intended recipient and may be 
> confidential and/or privileged of 
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader 
> of this communication is 
> not the intended recipient, unauthorized use, forwarding, printing,  
> storing, disclosure or copying 
> is strictly prohibited, and may be unlawful.If you have received this 
> communication in error,please 
> immediately notify the sender by return e-mail, and delete the original 
> message and all copies from 
> your system. Thank you. 
>
> ---------------------------------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>

<<attachment: 11635_______20__________________logo(0(01-16-12-08-11).jpg>>

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

Reply via email to