Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
21 results

openstack-cleanup

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Victor Morales authored
    c2d47005
    History
    Name Last commit Last update
    ..
    .gitignore
    README.md
    main.py
    requirements.txt

    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