When a host aggregate no longer applies in a given environment, it can be deleted. A host aggregate must have all hosts removed before it can be removed.
To delete a host aggregate, you will need the following information:
openstack
command-line clientopenrc
file containing appropriate credentialsFor the following example, we will delete the cookbook-threadripper-hosts
aggregate.
The following commands are used to delete a host aggregate:
openstack aggregate list
This will bring back the following output:
openstack aggregate show cookbook-threadripper-hosts
This will bring back the following output:
openstack aggregate delete cookbook-threadripper-hosts
openstack aggregate list
This will bring back the following output, where the host aggregate has now been removed:
3.12.160.63