Feature #2135

shutdown --hard can not be used with a machine in UNKNOWN state

Added by Javi Fontan about 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:06/21/2013
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Core & System
Target version:Release 4.4
Resolution:fixed Pull request:

Description

When a VM is shutdown from inside goes to UNKNOWN. In this state shutdown --hard can not be performed so any deferred disk snapshot is lost.

Associated revisions

Revision 35711d11
Added by Carlos Martín almost 8 years ago

Feature #2135: Allow VMs in unknown state to be shutdown

Revision ba0c0ad8
Added by Carlos Martín almost 8 years ago

Feature #2135: Missing unknown state in cancel action

Revision aac1b1fe
Added by Javi Fontan almost 8 years ago

feature #2135: skip xen cancel when VM is not defined

Revision 1f6a7d47
Added by Javi Fontan almost 8 years ago

feature #2135: skip VMware cancel when VM is not defined

Revision 3a2c1abd
Added by Javi Fontan almost 8 years ago

feature #2135: add UNKNOWN state to onevm shutdown

Revision 6d447c08
Added by Carlos Martín almost 8 years ago

Feature #2135: Update vm state diagrams

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Tracker changed from Bug to Feature
  • Category set to Core & System
  • Target version set to Release 4.2

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

  • Target version changed from Release 4.2 to Release 4.4

#3 Updated by Carlos Martín almost 8 years ago

  • Assignee set to Carlos Martín

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

  • Status changed from Pending to New

#5 Updated by Ruben S. Montero almost 8 years ago

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

The VM should be recover before shutdown in this case

#6 Updated by Ruben S. Montero almost 8 years ago

  • Status changed from Closed to New
  • Resolution deleted (wontfix)

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

This issue will be solved with:

  1. OpenNebula core will implement shutdown operation in shutdown state. The VM will follow the usual state flow (epilog-done/failed)
  2. cancel scripts will be improved to SUCCESS when the VMs does not exists.

#8 Updated by Ruben S. Montero almost 8 years ago

  • Assignee changed from Carlos Martín to Javi Fontan

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

  • Assignee changed from Javi Fontan to Carlos Martín

Core and drivers are updated. The state diagram needs to be updated to close it.

#10 Updated by Carlos Martín almost 8 years ago

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

Also available in: Atom PDF