Deleting Overcloud Nodes

You can delete specific nodes from an overcloud with command:

openstack overcloud node delete --stack $STACK_NAME --templates [templates dir] <list of nova instance IDs>

This command updates the heat stack with updated numbers and list of resource IDs (which represent nodes) to be deleted.

Train

In Train, we added a user confirmation to the scale down command to prevent accidental node removal. To skip it, please use “–yes”.

Note

If you are Provisioning Baremetal Before Overcloud Deploy then follow those scale-down instructions to call openstack overcloud node delete with a --baremetal-deployment argument instead of passing a list of nodes to delete as arguments.

Note

If you passed any extra environment files when you created the overcloud (for instance, in order to configure network isolation), you must pass them again here using the -e or --environment-file option to avoid making undesired changes to the overcloud.

Note

Before deleting a compute node or a cephstorage node, please make sure that the node is quiesced, see Quiescing a Compute Node or Quiescing a CephStorage Node.

Note

A list of nova instance IDs can be listed with command:

openstack server list