diff options
| author | Brian Waldon <bcwaldon@gmail.com> | 2012-02-02 16:28:55 -0800 |
|---|---|---|
| committer | Brian Waldon <bcwaldon@gmail.com> | 2012-02-03 14:55:49 -0800 |
| commit | f7deddb89ce63c2ccc7a207461188aeb7a41af32 (patch) | |
| tree | 66ff65dbd66bc6fd3c067bcc2c6ef3824df0a3a0 /nova/api | |
| parent | f0a11485894f56aba337f65af5f92bede12ef17f (diff) | |
| download | nova-f7deddb89ce63c2ccc7a207461188aeb7a41af32.tar.gz nova-f7deddb89ce63c2ccc7a207461188aeb7a41af32.tar.xz nova-f7deddb89ce63c2ccc7a207461188aeb7a41af32.zip | |
Fix status transition when reverting resize
Present the instance being reverted with a 'REVERT_RESIZE' status instead
of 'ACTIVE' after a revertResize action is triggered. Fixes bug 924371
Change-Id: I12e98733fd00c0794fb9a4acb0cc6752ca02e855
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py index b46a6c1eb..9d3d3079f 100644 --- a/nova/api/openstack/common.py +++ b/nova/api/openstack/common.py @@ -66,6 +66,7 @@ _STATE_MAP = { }, vm_states.RESIZING: { 'default': 'RESIZE', + task_states.RESIZE_REVERTING: 'REVERT_RESIZE', }, vm_states.PAUSED: { 'default': 'PAUSED', |
