Fixing https://bugs.launchpad.net/osops/+bug/1534660. Some of these
fixes are not pretty and I've not been able to test the tools still
work.
I think the bashate rules should be relaxed for operations tools ... or
people shouldn't use bash for such tools. Sometimes it's pretty
difficult to shorten lines and still have readable code.
Co-Authored-By: Peter Jenkins <mail@peter-jenkins.com>
Co-Authored-By: Mike Dorman <mdorman@godaddy.com>
Change-Id: I70cfc2420cc9a2a4ec553ab7b7ca43a7fc38a9f0
orphaned_volumes.sh is a script that gets a list of all volumes and
their owner (as reported by cinder) and compares it to a list of all
tenants (as reported by keystone). If any volume has an owner who does
not exist in keystone, it is returned in the output. Orphaned cinder
volumes can occur when a tenant is deleted but still had volumes
provisioned.
Change-Id: I3e20826be54595b4a9a35aaac95be881ce658fa0