Feature #75

Include Error state

Added by Ruben S. Montero almost 3 years ago. Updated over 2 years ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:Ruben S. Montero % Done:

0%

Category:OpenNebula Core
Target version:Release 1.4
Resolution:fixed Addon:
Story points-
Velocity based estimate-

Description

OpenNebula 1.2 periodically polls a VM, in case the VM could not be found or if it failed OpenNebula assumes that it is done and silently puts it in DONE state. It would be better to mark this VM as in an ERROR state, so the admin can manually remove it.

Additionally, we can still poll the VM in case the hypervisor recovers from the error. During the Error state the capacity allocated to the VM can not be freed


Related issues

related to Bug #91: onevm does not define the guest, deletes after shutdown Closed

History

Updated by Ruben S. Montero over 2 years ago

This has been implemented in the OpenNebula_XML branch. The changes include:
  • A VM not found is put in UNKNOWN state
  • OpenNebula core also polls VMs in UNKNOWN state
  • If the VM is recovered, e.g. by rebooting it or restoring the connection with the physical node, the VM is placed in RUNNING state
  • A VM in the UNKNOWN state can be restarted (onevm restart). Note that VM disk images are in place and we can try to boot the VM.
The documentation must be updated with:
  • New state machine
  • New commands for onevm

Updated by Ruben S. Montero over 2 years ago

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

Also available in: Atom PDF