Nova doesn't clean claims after evacuation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
When a VM is evacuated from the failed server without stating explicit destination (i.e. letting the scheduler decide) claims to the old hypervisor in placement are never deleted.
How to replicate:
- Place VM on the hypervisor
- Check that claims are OK:
+------
| resource_provider | generation | resources | project_id | user_id |
+------
| 229cce5f-
+------
- Stop the hypervisor and after nova pronounce hypervisor dead run evacuation without stating the destination
- Check claims again
+------
| resource_provider | generation | resources | project_id | user_id |
+------
| 229cce5f-
| 5395932e-
+------
Result: Claims to the old hypervisor have not been deleted
Expected results: Only claims for new hypervisor exist
It is possible regression of https:/
It probably happened when the resource tracker was improved and the whole migration procedure was rewritten. Migration/resize work because claims deletion happens in confirm/revert action, however, evacuation doesn't have anything like that and so it's never deleted.
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /926292
Review: https:/