Skip to main content

Bag of hammers to fix problems

Project description

Percussive maintenance.

Collection of various tools to keep things ship-shape. Not particularly bright tools, but good for a first-pass.

  1. Neutron resource reaper

neutron-reaper {ip, port} <grace-days> [--info]

Reclaims idle floating IPs and cleans up stale ports. Pipe into neutron to act upon what it finds.

  1. Conflicting Ironic/Neutron MACs

conflict-macs {info, delete}

  1. Undead Instances clinging to nodes

undead-instances {info, delete}

Nova instances that have been put to rest but still cling to Ironic nodes, preventing the next generation from being…ensouled? Checks for the inconsistency and fixed it.

  1. Retry cleaning up after IPMI errors

retry-ipmi {info, reset}

Resets Ironic nodes in error state with a known, common error. Records those resets on the node metadata (extra field) and refuses after a magic number of attempts.

Common options:

  • --slack <json-options> - if provided, used to post notifications to Slack

  • --osrc <rc-file> - alternate way to feed in the OS authentication vars

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hammers-0.1.7.tar.gz (26.0 kB view hashes)

Uploaded Source

Built Distribution

hammers-0.1.7-py2.py3-none-any.whl (35.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page