How-To Get Consolidate Size Information of all The Cinder Volumes Provisioned

Problem

Need to obtain the consolidated size of all the volumes provisioned in a Region for capacity planning.

Environment

  • Platform9 Managed OpenStack - All Versions.
  • Cinder

Procedure

  1. The following script can be used, it gives an option to either get only the size of the volumes in use or the size of the volumes created except the ones which are in the error state.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard