Failure in resize_instance after cast to finish_resize still sets instance error state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Low
|
Unassigned |
Bug Description
This is from code inspection only.
ComputeManager.
with self._error_
...stuff...
self.
... Responsibility for the instance has now been punted to the destination, but...
self.
compute_
self.
The problem is that a failure in anything after the cast to finish_resize will cause the instance to be put in an error state and its quotas rolled back. This would not be correct, as any error here would be purely ephemeral. The resize operation will continue on the destination regardless, so this would almost certainly result in an inconsistent state.
tags: | added: compute resize |
Fix proposed to branch: master /review. openstack. org/462499
Review: https:/