Comment 13 for bug 1798688

Revision history for this message
Matt Riedemann (mriedem) wrote :

There is a note in the compute code when removing allocations which says if we PUT {} for allocations that placement will delete the consumer record:

https://review.openstack.org/#/c/591597/8/nova/scheduler/client/report.py@2091

But I'm not seeing that actually anywhere in the placement handler code here:

https://github.com/openstack/nova/blob/e27905f482ba26d2bbf3ae5d948dee37523042d5/nova/api/openstack/placement/handlers/allocation.py#L404

In fact I see it ensure a consumer exists, but doesn't delete it.