From f7deddb89ce63c2ccc7a207461188aeb7a41af32 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Thu, 2 Feb 2012 16:28:55 -0800 Subject: 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 --- nova/api/openstack/common.py | 1 + 1 file changed, 1 insertion(+) (limited to 'nova/api') 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', -- cgit