Comment 1 for bug 1811726

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: Deleting compute service only deletes "first" ironic node from placement

I don't think [3] is doing what you'd expect for cleaning up orphans since it won't return compute nodes records from the database if the API deleted them:

https://github.com/openstack/nova/blob/da98f4ba4554139b3901103aa0d26876b11e1d9a/nova/compute/manager.py#L7777

So that for loop here:

https://github.com/openstack/nova/blob/da98f4ba4554139b3901103aa0d26876b11e1d9a/nova/compute/manager.py#L7758

Could just be an empty list, right?