7.2. Removing a compute node from a host aggregate
Remove a compute node from its host aggregate before decommissioning or reassigning the node. This ensures that the scheduler stops directing workloads to the node.
Procedure
Access the remote shell for the OpenStackClient pod from your workstation:
$ oc rsh -n openstack openstackclientView a list of all the Compute nodes assigned to the host aggregate:
# openstack aggregate show <aggregate_name>To remove an assigned Compute node from the host aggregate, enter the following command:
# openstack aggregate remove host <aggregate_name> <host_name>-
Replace
<aggregate_name>with the name of the host aggregate to remove the Compute node from. -
Replace
<host_name>with the name of the Compute node to remove from the host aggregate.
-
Replace