Request #1144

Hook Support for UNKNOWN State

Added by Anonymous over 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:02/26/2012
Priority:LowDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & SystemEstimated time:1.00 hour
Target version:Release 3.8
Pull request:

Description

OpenNebula does not support hooks for the UNKNOWN state. Therefore, the following hook, which is nice to have, would register correctly:

VM_HOOK = [
name = "on_crash_restart",
on = "UNKNOWN",
command = "/usr/bin/env onevm restart",
arguments = "$VMID" ]

Reference:
http://opennebula.org/documentation:rel3.2:hooks

Associated revisions

Revision 0d163cd3
Added by Ruben S. Montero almost 9 years ago

feature #1144: Hook for UNKNOWN

History

#1 Updated by Calogero Lo Leggio over 9 years ago

Very useful feature!

For example, when omm_killer kills the vm because it's out of memory.

Please consider to add it.
Many thanks.

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

  • Status changed from New to Assigned
  • Assignee set to Ruben S. Montero
  • Target version set to Release 3.8

#3 Updated by Ruben S. Montero over 8 years ago

  • Status changed from Assigned to Closed

Now in master, ready for 3.8

Also available in: Atom PDF