Bug #3153

nomethoderror in fault tolerance hook

Added by Carlos Martín almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:08/14/2014
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:Core & System
Target version:Release 4.10
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.8

Description

From the mailing list:
http://lists.opennebula.org/pipermail/users-opennebula.org/2014-August/045751.html

oneadmin at admin:~$ /var/lib/one/remotes//hooks/ft/host_error.rb 0 -r -p 2
/var/lib/one/remotes//hooks/ft/host_error.rb:97:in `<main>': undefined
method `each' for #<String:0x00000001e02148> (NoMethodError)

Something wrong on my end? Sounds like a coding thingy?

HOST_HOOK = [
    name      = "error",
    on        = "ERROR",
    command   = "ft/host_error.rb",
    arguments = "$HID -r -p 2",
    remote    = "no" ]

ONE 4.8 on Ubuntu 14.04.

Associated revisions

Revision b8e8bbd0
Added by Javi Fontan almost 7 years ago

bug #3153: bug in host_error hook reading config

Revision 0e2a996f
Added by Javi Fontan almost 7 years ago

bug #3153: bug in host_error hook reading config

(cherry picked from commit b8e8bbd086a2f565b20e8584d4be67b07ac44a50)

Revision d08e2894
Added by Javi Fontan over 6 years ago

bug #3153: bug in host_error hook reading config

History

#2 Updated by Ruben S. Montero almost 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Javi Fontan

#3 Updated by Javi Fontan almost 7 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

#4 Updated by Ruben S. Montero almost 7 years ago

  • Target version changed from 67 to Release 4.10

Also available in: Atom PDF