Commit Graph

6 Commits

Author SHA1 Message Date
jichenjc da10530b7b Add shelve and unshelve info into devref doc
The diagram on http://docs.openstack.org/developer/nova/devref/vmstates.html
does not currently show the "SHELVED_OFFLOADED" state and the
associated "shelve", "shelveOffload" and "unshelve" state transitions.

Change-Id: I50eb07a84336160b8120ca294598576eeb982d28
Closes-Bug: #1394215
2014-12-03 01:57:26 +08:00
Komei Shimamura 924c7c5b2c Fix the uris in documentation
Broken image links when viewed from github:
https://github.com/openstack/nova/tree/master/doc/source/devref

Change-Id: Icad6ed2aa742310fbea399ddecd8480123eaac64
2014-10-31 11:42:50 -07:00
Leandro I. Costantino 8ff170dc95 VM in rescue state must have a restricted set of actions
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
2014-05-23 17:43:31 -03:00
Yun Mao 65255ae22b Allow stop API to be called in Error
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
2012-08-14 10:27:14 -04:00
Yun Mao 129b87e17d vm state and task state management
partially implements bp task-management
fixes bug 997867

also see http://wiki.openstack.org/VMState

Refactored the following API/state:
* rebuild
* migrate
* resize
* start
* stop
* delete
* soft delete
* rework sync_power_state in compute/manager.

fix broken tests, add transition diagram in dot

Change-Id: I3c5a97508a6dad7175fba12828bd3fa6ef1e50ee
2012-06-21 15:34:53 -04:00
Sandy Walsh 42b09d91f7 Docs for vm/task state transitions.
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
2012-05-06 19:36:15 -04:00