Resize does not use appropriate task states

Bug #990805 reported by Gabe Westmaas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Gabe Westmaas

Bug Description

Currently resizes go into task state RESIZE_PREP and never change after that. THere are already task states referenced in the code base, but are never used in the resize process.

./nova/compute/task_states.py:RESIZE_MIGRATING = 'resize_migrating'
./nova/compute/task_states.py:RESIZE_MIGRATED = 'resize_migrated'
./nova/compute/task_states.py:RESIZE_FINISH = 'resize_finish'

Using these would be helpful to quickly see where an instance is in terms of a resize.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6904

Changed in nova:
assignee: nobody → Gabe Westmaas (westmaas)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/6904
Committed: http://github.com/openstack/nova/commit/2511f01f42c7cc57bd17ad06f239723bd19ed1de
Submitter: Jenkins
Branch: master

commit 2511f01f42c7cc57bd17ad06f239723bd19ed1de
Author: Gabe Westmaas <email address hidden>
Date: Sun Apr 29 00:43:11 2012 +0000

    Use additional task states during resize

    Fixes bug lp990805

    Adds 3 additional state changes to instance during resize. Specifially:
    RESIZE_MIGRATING
    RESIZE_MIGRATED
    RESIZE_FINISH

    Change-Id: I61a1c98c8b179c50747717525e1aaed01d372b4b

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in nova:
milestone: none → folsom-1
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.