Feature #3654

Implement extra VM state transitions

Added by Carlos Martín over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:03/06/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

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

Description

This ticket is to evaluate new VM transitions that can be implemented, such as:
  • suspended -> stopped
  • poweroff -> undeployed
  • migrate VMs in poweroff/suspend
  • deploy VMs from undeployed/stopped

Related issues

Related to Backlog #2042: Support graceful VM deletion from UNDEPLOY Pending 05/14/2013
Related to Backlog #1769: Decouple deploy and poweron actions Pending 02/18/2013
Related to Feature #2095: Allow Deploy for VM in UNDEPLOYED state Closed 05/29/2013
Related to Feature #1610: Include information about available operations in error m... Closed 10/26/2012
Related to Backlog #2985: Allow administrators to force the VM status Closed 06/16/2014
Related to Bug #2488: A failed resume action will destroy and recreate the VM o... Closed 11/21/2013
Related to Bug #3235: Delete --recreate coming from Stop state should not attem... Closed 10/09/2014
Related to Bug #3775: deleted VMs are canceled asynchronously, host/ip resource... Closed 04/27/2015

Associated revisions

Revision 39c0686c
Added by Carlos Martín over 5 years ago

Feature #3654: Add new transtions to recover failed VM boot

Revision 5f689eb2
Added by Carlos Martín over 5 years ago

Feature #3654: Transtions to recover failed VM boot in oca & sunstone

Revision d683fbcd
Added by Carlos Martín over 5 years ago

Feature #3654: Fix after merge

Revision a7394113
Added by Carlos Martín over 5 years ago

Feature #3654: Transitions to recover a failed prolog migrate

(cherry picked from commit a14a143b6a05c78f29099aa8958ac5cbb5511e83)

Revision 83f08054
Added by Ruben S. Montero over 5 years ago

feature #3654: Recover PROLOG_MIGRATE_FAILURE with retries and recover (boot) action

Revision 946a752b
Added by Ruben S. Montero over 5 years ago

feature #3654 Add comment on onevm boot action, and allow to boot from PROLOG_MIGRATE_FAILURE

Revision dd3edff6
Added by Ruben S. Montero over 5 years ago

feature #3654: Recover through retry

Revision c9cecaec
Added by Carlos Martín over 5 years ago

Feature #3654: Transitions to recover a failed prolog

(cherry picked from commit 00aec5067ce3961e5e3a2e42ed69314d4735e26e)

Revision 5f4066c7
Added by Ruben S. Montero over 5 years ago

feature #3654: Merge back recover actions for new failure states

Revision f8c72863
Added by Carlos Martín over 5 years ago

Feature #3654: Transitions to recover a failed epilog

(cherry picked from commit 75a275d0115390dd2cc2dab4dbb8d83bd3c3d32d)

Revision 763c733a
Added by Ruben S. Montero over 5 years ago

feature #3654: Recover EPILOG states with retry

Revision 7f45e181
Added by Carlos Martín over 5 years ago

Feature #3654 #2095: Allow vm deploy from stopped and undeployed

(cherry picked from commit 3a9d720ad2340a3fd73d362e293ac39c0743d3a1)

Revision 33d23af5
Added by Carlos Martín over 5 years ago

Feature #3654 #2095: Add misssing transitions

(cherry picked from commit e2f0b681007cd821198495b113b6044eff0fae3e)

Revision 8d1f22c0
Added by Ruben S. Montero over 5 years ago

feature #3654: Add new states to deploy a vm to onevm command help

Revision 21cf03c4
Added by Carlos Martín over 5 years ago

Feature #3654: Add boot_failure to vcenter driver

(cherry picked from commit 03b93f0b02be461b68ff7fd38126f938ffcf97c1)

Revision 1b0f23e1
Added by Carlos Martín over 5 years ago

Feature #3654: Add new failure states to oneflow

(cherry picked from commit bd056779949df7929f7d5549d65e1bc9a5ff742c)

Revision b5da4036
Added by Ruben S. Montero over 5 years ago

feature #3654: Add retry option to the recover API calls and onevm command

Revision 6d3e9f4f
Added by Carlos Martín over 5 years ago

Feature #3654: Transitions to migrate VMs in poweroff

(cherry picked from commit 783775471eae90759b9ca74431415551b2b83495)
(cherry picked from commit 07015c349ffe6ca2d6d0afa08c2f4091f7b23513)

Revision 56d74355
Added by Ruben S. Montero over 5 years ago

feature #3654: Recover lcm_state_to_str interface

(cherry picked from commit c328fc076d23c26d436c8280b4822b778691a893)

Revision 23aa6b04
Added by Ruben S. Montero over 5 years ago

feature #3654: Retry PROLOG_MIGRATE_POWEROFF

(cherry picked from commit b36fe966801fe65a35f62eea86fb6fcaae13ba93)

Revision 4e884f86
Added by Ruben S. Montero over 5 years ago

feature #3654: Add reason to ERROR after a failed resume from POWEROFF or SUSPEND

Revision 8e582e33
Added by Ruben S. Montero over 5 years ago

feature #3654: Add action to history records on resume failure

Revision f46afca3
Added by Carlos Martín over 5 years ago

Feature #3654: Transitions to migrate suspended VMs

(cherry picked from commit ee7bccf48a6852117091ae3051d219cd93addd3d)

Revision 211d0eab
Added by Ruben S. Montero over 5 years ago

feature #3654: Retry failures on PROLOG_MIGRATE_SUSPEND

Revision b030daa7
Added by Ruben S. Montero over 5 years ago

feature #3654: Adjust migrate history actions and reasons, fix transition

Revision 2f351130
Added by Carlos Martín over 5 years ago

Feature #3654: Transition from suspended to stopped

(cherry picked from commit 9f56a2445748d7b07592b551f42ef06d1b81dcde)
(cherry picked from commit 0d157414579ef0e79b9613f5f1ce17d91a868874)

Revision df40f760
Added by Carlos Martín over 5 years ago

Feature #3654: Transition from poweroff to undeployed

(cherry picked from commit b69a0e649f24df69eb7e3ff394b5db889fb45277)
(cherry picked from commit df6d271a9b6e40c69c45fff9e4bf4c11c7590f64)

Revision 22dcd3ed
Added by Ruben S. Montero over 5 years ago

feature #3654: Add missing change after merges

Revision 7f139815
Added by Carlos Martín over 5 years ago

Feature #3654: Allow graceful shutdown from suspended and poweroff

(cherry picked from commit 004c2cb1411c4bf99fe16db5cfa312d28e603807)

Revision e95bde2a
Added by Carlos Martín over 5 years ago

Feature #3654: Refactor VM state change log

(cherry picked from commit 329f0ef0fd099c46b2c5b30c61093c421d961e2b)

Revision 8b0c4c42
Added by Ruben S. Montero over 5 years ago

feature #3654: remove restart states added after merge

Revision 18783b71
Added by Ruben S. Montero over 5 years ago

feature #3654: Remove missing "New VM state is..." messages

Revision 4179a2f3
Added by Carlos Martín over 5 years ago

Feature #3654: Refactor LCM::cancel

(cherry picked from commit 7e3869be0aac24e267cc796f79afc472d6098099)

Revision 40240005
Added by Carlos Martín over 5 years ago

Feature #3654 #1610: Improve reason when an action is not available

(cherry picked from commit 24fa8d779c745cf6d80a75a0aaed28875209bd08)

Revision 753f6401
Added by Carlos Martín over 5 years ago

Feature #3654: Update vm recover action in sunstone

Revision c5ab2dca
Added by Carlos Martín over 5 years ago

Feature #3654: Show the complete lcm state name in sunstone

Revision 9be8b151
Added by Carlos Martín over 5 years ago

Feature #3654: Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy

Revision ae7fab2f
Added by Carlos Martín over 5 years ago

Feature #3654: Merge the cancel and shutdown states

Revision 36afa9c8
Added by Carlos Martín over 5 years ago

Feature #3654: Allow to run a shutdown again from shutdown state

Revision 55dd9304
Added by Carlos Martín over 5 years ago

Feature #3654: Merge Dispatch Manager reset with reboot

Revision 3eaffe16
Added by Carlos Martín over 5 years ago

Feature #3654: Refactor LCM to init pointers to managers only once

Revision 41782d01
Added by Ruben S. Montero over 5 years ago

feature #3654: Retry PROLOGs, EPILOGs, SHUTDOWNs and BOOTs through recover. Remove restart action from oned, removed shutdown retries through shutdown

feature #3214: Redo saveas check.

Revert "Feature #3654: Allow to run a shutdown again from shutdown state". This reverts 36afa9c864

Revert "Feature #3654: Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy". This reverts 9be8b151bcd

Revision 1c828b28
Added by Ruben S. Montero over 5 years ago

Feature #3654: Refactor DM to init pointers to managers only once

Revision aab0fe21
Added by Ruben S. Montero over 5 years ago

feature #3654: Fix wrong name in state check

Revision f9192426
Added by Carlos Martín over 5 years ago

Feature #3654: Remove boot action from oca, cli & sunstone

Revision b53eca57
Added by Carlos Martín over 5 years ago

Feature #3654: Remove boot action from oneflow

Revision a03e3054
Added by Ruben S. Montero over 5 years ago

feature #3654: Add BOOT_UNDEPLOY_FAILURE and BOOT_STOPPED_FAILURE. Get rid of map<string, string> empty declarations.

Revision 5c0cd43d
Added by Ruben S. Montero over 5 years ago

feature #3654: Update states diagram

Revision 08f32913
Added by Carlos Martín over 5 years ago

Feature #3654: LCM updates the VM life cycle with the poll info

Revision c6c9d90b
Added by Carlos Martín over 5 years ago

Feature #3654: Manage failure states in flow recover action

Revision 4d502316
Added by Ruben S. Montero over 5 years ago

feature #3654: PROLOG_RESUME_FAILURE & PROLOG_UNDEPLOY_FAILURE states

Revision af48f996
Added by Ruben S. Montero about 5 years ago

feature #3654 #2772: Message for onedb

Revision b04d666d
Added by Carlos Martín about 5 years ago

Feature #3654: Fix error state management in oneflow

History

#1 Updated by Carlos Martín over 5 years ago

  • Related to Backlog #2042: Support graceful VM deletion from UNDEPLOY added

#2 Updated by Carlos Martín over 5 years ago

  • Related to Backlog #1769: Decouple deploy and poweron actions added

#3 Updated by Carlos Martín over 5 years ago

  • Related to Feature #2095: Allow Deploy for VM in UNDEPLOYED state added

#4 Updated by EOLE Team over 5 years ago

+1

With shared system datastore, this will permit to boot VM in POWEROFF assigned to a host in ERROR.

#5 Updated by Carlos Martín over 5 years ago

  • Related to Feature #1610: Include information about available operations in error messages added

#6 Updated by Carlos Martín over 5 years ago

  • Related to Backlog #2985: Allow administrators to force the VM status added

#7 Updated by Carlos Martín over 5 years ago

TODO: update vcenter_driver.rb to take care of new states, if needed.

#8 Updated by Carlos Martín over 5 years ago

  • Related to Bug #2488: A failed resume action will destroy and recreate the VM on the next resume added

#9 Updated by Carlos Martín over 5 years ago

  • Related to Bug #3235: Delete --recreate coming from Stop state should not attempt a resume added

#10 Updated by Carlos Martín over 5 years ago

  • Related to Bug #3775: deleted VMs are canceled asynchronously, host/ip resources already shown as freed before releasing them added

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

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

Also available in: Atom PDF