kubespray/scripts/openstack-cleanup
Kay Yan 647092b483
fix openstack cleanup (#11299)
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2024-06-21 10:30:55 -07:00
..
.gitignore
README.md
main.py fix openstack cleanup (#11299) 2024-06-21 10:30:55 -07:00
requirements.txt Add six module into openstack-cleanup/requirements.txt (#10099) 2023-05-17 20:22:33 -07:00

README.md

openstack-cleanup

Tool to deletes openstack servers older than a specific age (default 4h).

Useful to cleanup orphan servers that are left behind when CI is manually cancelled or fails unexpectedly.

Installation

pip install -r requirements.txt
python main.py --help

Usage

$ python main.py
This will delete VMs... (ctrl+c to cancel)
Will delete server example1
Will delete server example2