You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Calin Cristian Andrei fcb4c8fb61 [kubernetes] make 1.23.6 the new default 2 years ago
..
.gitignore Add automatic cleanup of OpenStack CI VMs (#5760) 4 years ago
README.md Add documentation for scripts/openstack-cleanup (#5803) 4 years ago
main.py Remove subnet from router on tf-elastx_cleanup (#8425) 2 years ago
requirements.txt Add automatic cleanup of OpenStack CI VMs (#5760) 4 years ago

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