Lack of task status updates at the beginning of the action 'confirm_resize'

Bug #1515476 reported by javeme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
javeme

Bug Description

Almost all of the async operations would update the task state, but the confirm_resize does not.

Not setting the task state causes problems for any applications that poll based on task state:
This would cause some trouble in Horizon such as: our timer in the browser updates the instances based on the task state until it becomes none, if the task state is none(all tasks are completed), we believe the status of an instance is stable, and there is no need to refresh the instance. But at the beginning of the confirm_resize, we did not update the task status, and the task state is still none, so it cause we cannot know when it's completed unless we poll all of the instances of any state.

Moreover it should be at least consistent with the revert_resize,and the state RESIZE_CONFIRMING has been defined but not used.

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/244433

Changed in nova:
status: New → In Progress
javeme (javaloveme)
description: updated
javeme (javaloveme)
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/244433
Reason: This review is > 4 weeks without comment, and is not mergable in it's current state. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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.