Comment 1 for bug 1869089

Revision history for this message
Rabi Mishra (rabi) wrote :

Would not it be better to change the documentation for deployed server scale down[1] above to create an environment with RemovalPolicies (with the to be blacklisted indexes) and use it rather than making an inefficient search for 'name' atrribute of the Deployedserver heat resource?

IMO, we should probably deprecate and remove the node delete command and ask users to use environments with RemovalPolicies.

The key issue with node delete is that, it internally calculates the role count and is different from the ones provided in env files or role_data and users have issues most of the time doing an update after scale down and failing if there are not enough baremetal nodes to provision.