This commit is contained in:
havelight-ee
2023-05-30 14:44:26 +09:00
parent 9a3174deef
commit 4c32a7239d
2598 changed files with 164595 additions and 487 deletions

View File

@@ -0,0 +1,21 @@
# 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
```shell
pip install -r requirements.txt
python main.py --help
```
## Usage
```console
$ python main.py
This will delete VMs... (ctrl+c to cancel)
Will delete server example1
Will delete server example2
```