How-To Obtain Quota Usage in OpenStack
Problem
Environment
Procedure
$ openstack limits show --project 42030daa2a68499cb13a54b9f66c47e4 --absolute+--------------------------+--------+| Name | Value |+--------------------------+--------+| maxServerMeta | 128 || maxTotalInstances | 4 || maxPersonality | 5 || totalServerGroupsUsed | 1 || maxImageMeta | 128 || maxPersonalitySize | 10240 || maxTotalRAMSize | 524288 || maxServerGroups | 10 || maxSecurityGroupRules | 20 || maxTotalKeypairs | 100 || totalCoresUsed | 28 || totalRAMUsed | 262144 || maxSecurityGroups | 10 || totalFloatingIpsUsed | 0 || totalInstancesUsed | 1 || maxServerGroupMembers | 10 || maxTotalFloatingIps | 10 || totalSecurityGroupsUsed | 1 || maxTotalCores | 56 || totalSnapshotsUsed | 0 || maxTotalBackups | 10 || maxTotalVolumeGigabytes | 1000 || maxTotalSnapshots | 10 || maxTotalBackupGigabytes | 1000 || totalBackupGigabytesUsed | 0 || maxTotalVolumes | 10 || totalVolumesUsed | 0 || totalBackupsUsed | 0 || totalGigabytesUsed | 0 |+--------------------------+--------+# cinder quota-usage 42030daa2a68499cb13a54b9f66c47e4+----------------------+--------+----------+-------+-----------+| Type | In_use | Reserved | Limit | Allocated |+----------------------+--------+----------+-------+-----------+| backup_gigabytes | 0 | 0 | 1000 | 0 || backups | 0 | 0 | 10 | 0 || gigabytes | 11985 | 0 | 20480 | 0 || groups | 0 | 0 | 10 | 0 || per_volume_gigabytes | 0 | 0 | -1 | 0 || snapshots | 0 | 0 | -1 | 0 || volumes | 33 | 0 | 100 | 0 |+----------------------+--------+----------+-------+-----------+Last updated
