[one-users] execute host_error.rb error on ONE3.8.1

张光鹏 zhanggp at neusoft.com
Thu Dec 6 00:53:42 PST 2012


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: zhanggp at neusoft.com
移动互联网事业部

东软集团股份有限公司
http://www.neusoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121206/cbc62782/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 11635 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121206/cbc62782/attachment-0001.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: host_error.rb
Type: application/octet-stream
Size: 4043 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121206/cbc62782/attachment-0001.obj>
-------------- next part --------------
---------------------------------------------------------------------------------------------------
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. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121206/cbc62782/attachment-0003.htm>


More information about the Users mailing list