Bug #2273

Missing OCCI_ACTION POWEROFF -> RESUME

Added by Stefan Kooman over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:08/22/2013
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:-
Target version:Release 4.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.2

Description

It's not possible to change a vm in state "POWEROFF" to state "RESUME" via OCCI service. This is possible via xml-rpc and according to http://opennebula.org/_media/documentation:rel4.0:states-simple.png a valid state change of a VM's life cycle.

Fix:
Add ", POWEROFF" to OCCI_ACTION "RESUME" (line 71 in ONE 4.2)

Affected file: VirtualMachineOCCI.rb

Associated revisions

Revision abe5bf6b
Added by Daniel Molina over 5 years ago

bug #2273: Add missing POWEROFF state in RESUME "from" parameter

Revision 242b04fa
Added by Daniel Molina over 5 years ago

bug #2273: Add missing POWEROFF state in RESUME "from" parameter
(cherry picked from commit abe5bf6ba7a5101474dcd55091a32e5456eb37e9)

History

#1 Updated by Ruben S. Montero over 5 years ago

  • Category set to 19

#2 Updated by Daniel Molina over 5 years ago

  • Status changed from Pending to New

Thank you, we will include it.

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

  • Assignee set to Daniel Molina
  • Target version set to Release 4.4

#4 Updated by Daniel Molina over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF