Right now it is possible to pause, suspend and stop a VM in state RESCUED,
so after the state is changed, it's not possible to trigger unrescue anymore
since the original state is lost.
This patch remove vm_states.RESCUED as valid state from stop,
pause and suspend actions.
The vm_states devref is also updated to reflect this change including the
current reboot flow.( vm_states.RESCUED cannot be rebooted as per
today code)
DocImpact
Closes-Bug: #1319182
Co-Authored-By: Cyril Roelandt <cyril.roelandt@enovance.com>
Change-Id: I531dea5a5499bf93c24bea37850d562134dee281
We already allow the stop API to be called when the VM is in Error
state. This is to update the diagram in devref doc.
Change-Id: I792028dc6f851f66d42b852c27505c479eab4df7
Added diagrams to RST docs that show required vm_state / task_state
transitions for compute api operations.
(Set Sandy Walsh as author since he created the diagrams)
Change-Id: Ie6a9cd4b54321a98fea5429ee52eb781f57f31a4