nova/releasenotes
EdLeafe 965fffc09d Delete a compute node's resource provider when node is deleted
Currently when a compute node is deleted, its record in the cell DB is
deleted, but its representation as a resource provider in the placement
service remains, along with any inventory and allocations. This could
cause the placement engine to return that provider record, even though
the compute node no longer exists. And since the periodic "healing" by
the resource tracker only updates compute node resources for records in
the compute_nodes table, these old records are never removed.

This patch adds a call to delete the resource provider when the compute
node is deleted. It also adds a method to the scheduler report client
to make these calls to the placement API.

Partial-Bug: #1661258
Closes-Bug: #1661014

Change-Id: I6098d186d05ff8b9a568e23f860295a7bc2e6447
2017-02-03 14:16:58 +00:00
..
notes Delete a compute node's resource provider when node is deleted 2017-02-03 14:16:58 +00:00
source Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00