Lack of task status updates at the beginning of the action 'confirm_resize'
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.
Fix proposed to branch: master /review. openstack. org/244433
Review: https:/