When some instance aren't deleted correctly and libvirt still keep the domain for the instance, the resource tracker will failed to update available resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
High
|
Alex Xu | ||
Liberty |
New
|
Undecided
|
Unassigned |
Bug Description
When instance was deleted in the db, but it is still at compute node, the resource tracker will fail to update available resource.
2016-03-04 10:58:28.143 ERROR nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
2016-03-04 10:58:28.143 TRACE nova.compute.
The available resource won't get update until periodic_task '_cleanup_
Changed in nova: | |
assignee: | nobody → Alex Xu (xuhj) |
Actually I think this is already fixed:
https:/ /review. openstack. org/#/c/ 221162/
Now it checks:
if guest.uuid in local_instances: