Feature #2135
shutdown --hard can not be used with a machine in UNKNOWN state
| Status: | Closed | Start date: | 06/21/2013 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % 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
Feature #2135: Allow VMs in unknown state to be shutdown
Feature #2135: Missing unknown state in cancel action
feature #2135: skip xen cancel when VM is not defined
feature #2135: skip VMware cancel when VM is not defined
feature #2135: add UNKNOWN state to onevm shutdown
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:
- OpenNebula core will implement shutdown operation in shutdown state. The VM will follow the usual state flow (epilog-done/failed)
 - 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