diff options
author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-07-27 18:49:05 -0500 |
---|---|---|
committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-07-27 18:49:43 -0500 |
commit | 2740ef8f31a98a9b1486af344ef8cb3399e68aa0 (patch) | |
tree | 450746d86fa3c214b2948d51de6b81c6d29211aa /nova/notifications.py | |
parent | ebd97be9d6448298811ffccaf30b886ac08bf49f (diff) | |
download | nova-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