resize revert still hitting the legacy allocation handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Dan Smith |
Bug Description
During reverting a resize or a migration Nova still hits the legacy allocation handling code even if the migration is started without any old compute or controller in the system. Search for "Doing legacy allocation math" in [2] for examples.
It is caused by a faulty logic in compute manager[1]. It tries to decide if the reverted migration holds allocation or not to see if the migration is a legacy one or not. However in case of [1] the cn_uuid points to the destination node. Migration never holds allocation on the destination node so the condition at L3955 never be true and the code falls to the legacy path.
It seems that the legacy path still able to handled the allocation properly in the above case so no resource is leaked.
[1] https:/
[2] http://
Changed in nova: | |
importance: | Undecided → Low |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
tags: | added: compute |
tags: | added: resize |
Changed in nova: | |
assignee: | Balazs Gibizer (balazs-gibizer) → Dan Smith (danms) |
Fix proposed to branch: master /review. openstack. org/589425
Review: https:/