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

Bug #1515476 reported by javeme on 2015-11-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)

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.

Fix proposed to branch: master

Changed in nova:
status: New → In Progress
javeme (javaloveme) on 2015-11-12
description: updated
javeme (javaloveme) on 2016-02-18
description: updated
description: updated

Change abandoned by Sean Dague (<email address hidden>) on branch: master
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  Edit
Everyone can see this information.

Other bug subscribers