Open JCallicoat opened 4 years ago
Yeah we should look into using cinder-manage and other commands primarily as the data structure changes a lot in cinder. Let's think about this a little more and investigate how make these cleanup scripts part of the product via embedded archival
This would be fairly easy to do and would help for environments that generate and delete a large number of volumes and images. This has been tested in a production Newton environment with these additions to the current script:
If it's too confusing to have
nova-instance-cleanup.sh
do more than just clean up instances then these could be broken out in separate scripts, or the name of the script could be changed.