RETIRED, Curated Tools and Scripts for OpenStack Operators
7bf037d32d
listorphans.py lists orphaned Neutron objects. 'Orphans' in this context are objects which OpenStack knows about and manages but which do not have a valid project (tenant) ID. The previous version was very inefficient in that for every object being checked, it would do a discrete Keystone API call to see if the associated tenant ID was valid or not. For an installation of any reasonable size, i.e one with 100s of Neutron routers, this method was particularly slow. The script has been updated to first build a list of all tenant IDs, and then for every Neutron object check project ownership validity against this list instead. Output has also changed slightly to print out a list of discovered orphans, simplifying workflow e.g when piping to another command which cleans up these objects. Closes-Bug: #1515300 Change-Id: I72ca84fe48beb623d43ee446a32ea1bb30730bcc |
||
---|---|---|
ansible | ||
cinder | ||
libvirt | ||
neutron | ||
nova | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
listorphans.py | ||
README.md | ||
tox.ini |
tools-generic
Generic OpenStack Operations Tools