Request #1144
Hook Support for UNKNOWN State
Status: | Closed | Start date: | 02/26/2012 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Core & System | Estimated 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" ]
Associated revisions
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