summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-04-28 13:53:39 +0100
committerLee Yarwood <lyarwood@redhat.com>2021-08-12 14:26:45 +0100
commit32676a9f45807ea8770dc7bdff1e859673af1b61 (patch)
treec757d6e88c3ee13042603cf7c1b9437f9df3ba3f /doc
parent59d9871e8a0672538f8ffc43ae99b3d1c4b08909 (diff)
downloadnova-32676a9f45807ea8770dc7bdff1e859673af1b61.tar.gz
Clear rebalanced compute nodes from resource tracker
There is a race condition in nova-compute with the ironic virt driver as nodes get rebalanced. It can lead to compute nodes being removed in the DB and not repopulated. Ultimately this prevents these nodes from being scheduled to. The issue being addressed here is that if a compute node is deleted by a host which thinks it is an orphan, then the compute host that actually owns the node might not recreate it if the node is already in its resource tracker cache. This change fixes the issue by clearing nodes from the resource tracker cache for which a compute node entry does not exist. Then, when the available resource for the node is updated, the compute node object is not found in the cache and gets recreated. Change-Id: I39241223b447fcc671161c370dbf16e1773b684a Partial-Bug: #1853009
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions