How do I install and use ospurge in Bright Cluster Manager 7.3 OpenStack?
The following packages are needed:
You can install them with:
yum install git python34 python34-pip python34-devel
The ospurge software must also be pulled into the head node. This can be pulled with:
After ospurge installation these python 3 packages must also be installed:
pip3.4 install os-client-config shade pbr typing
ospurge is run from the head node.
Basic help can be viewed with:
To purge a project by ID
<project_id> or by name <project_name> the following syntax can be used:
ospurge --verbose --purge-project <project_id||project_name>
A user can purge his own project with his own credentials as follows:
The tool works over multiple domains.