Deleting a host aggregate
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.
Getting ready
To delete a host aggregate, you will need the following information:
- The
openstack
command-line client - The
openrc
file containing appropriate credentials - The name or ID of the aggregate
For the following example, we will delete the cookbook-threadripper-hosts
aggregate.
How to do it…
The following commands are used to delete a host aggregate:
- First, list the existing aggregates:
openstack aggregate list
This will bring back the following output:
- Confirm that the aggregate ...
Get OpenStack Cloud Computing Cookbook - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.