How to get the quota details from a Openstack cloud?
Openstack cloud has default quota numbers per tenant for vCPCs, RAM, instances, floating IPs, Volumes, snapshots and GigaBytes, etc. And at a point of time, we need see how much the quota was used per tenant. Just run the below script and get the output as comma separated file.
- Setup the openstack “admin” user credentials.
> source openrc
Find the scripts @ my github location as below:
sh quota_info.sh > quota_details.cvs
Sample ouput looks as below:
TenantName,,RAM(MBs),,,Cores,,,FloatingIps,,,Instances,,,Volumes,,,Gigabytes,,,Snapshots,,,Max,Used,Util %,Max,Used,Util %,Max,Used,Util %,Max,Used,Util%,Max,Used,Util %,Max,Used,Util %,Max,Used,Util %