Skip to main content
Ask Question
OpenStackOpenStack
Asked a question 3 years ago

How do I install and use ospurge in Bright 7.3 OpenStack?

Where am I?

In Bright Computing, Inc. you can ask and answer questions and share your experience with others!

How do I install and use ospurge in Bright Cluster Manager 7.3 OpenStack?

Prerequisites:

The following packages are needed:

  • git
  • python34
  • python34-pip
  • python34-devel

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:

git clone http://github.com/openstack/ospurge28
cd ospurge
python34 setup.py24 install

After ospurge installation these python 3 packages must also be installed:
pip3.4 install os-client-config shade pbr typing 

Using ospurge:

ospurge is run from the head node.
Basic help can be viewed with:
ospurge -h
 
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:
ospurge --purge-own-project

The tool works over multiple domains.