Failed forced live migration does not rollback doubled up allocations in placement
Bug #1784022 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
High
|
Unassigned |
Bug Description
***This is purely based on code inspection right now.***
With a forced host live migration, we bypass the scheduler and copy the instance's resource allocations from the source node to the dest node:
On successful post live migration, we remove the doubled up allocations (after logging a warning that we couldn't find allocations on the migration record):
However, for a failed live migration, we don't do anything like that in _rollback_
But it won't find allocations on the migration record and just return False:
Which means the instance will have doubled up allocations on both the source and dest nodes.
To post a comment you must log in.
Looks like this was regressed in Queens:
https:/ /review. openstack. org/#/c/ 507638/ 29/nova/ compute/ manager. py@a6289
And I even pointed it out on the review but we didn't think about the forced live migration case:
https:/ /review. openstack. org/#/c/ 507638/ 25/nova/ compute/ manager. py@6252