summaryrefslogtreecommitdiffstats
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-07-27 18:49:05 -0500
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-07-27 18:49:43 -0500
commit2740ef8f31a98a9b1486af344ef8cb3399e68aa0 (patch)
tree450746d86fa3c214b2948d51de6b81c6d29211aa /nova/notifications.py
parentebd97be9d6448298811ffccaf30b886ac08bf49f (diff)
downloadnova-2740ef8f31a98a9b1486af344ef8cb3399e68aa0.tar.gz
nova-2740ef8f31a98a9b1486af344ef8cb3399e68aa0.tar.xz
nova-2740ef8f31a98a9b1486af344ef8cb3399e68aa0.zip
Fix state logic for auto-confirm resizes
In the compute manager, the _poll_unconfirmed_resizes() periodic task mishandled state checks, and would call confirm_resize() in invalid states. This patch fixes the logic so that confirm_resize() is only called if the instance is in vm_state 'resized' and task_state None. The unit test is also fixed for the proper logic. Fixes bug 1030175. Change-Id: I66028b7042d88fb0f1f41df07f42b4b02cf60247
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions