Is it possible to configure a quota for ephemeral disk for a project?
Issue
OpenStack only has one storage
quota, which only applies to cinder, and nothing apparently applicable to ephemeral disks:
[stack@undercloud ~]$ openstack quota show
+----------------------+----------------------------------+
| Field | Value |
+----------------------+----------------------------------+
| backup_gigabytes | 1000 |
| backups | 10 |
| cores | -1 |
| fixed-ips | -1 |
| floating-ips | 50 |
| gigabytes | 100 |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | -1 |
| key-pairs | 100 |
| networks | 10 |
| per_volume_gigabytes | -1 |
| ports | -1 |
| project | 9c1af43d483442e9a22c354a6309b76d |
| properties | 128 |
| ram | -1 |
| rbac-policies | 10 |
| routers | 10 |
| secgroup-rules | 100 |
| secgroups | 10 |
| server-group-members | 10 |
| server-groups | 10 |
| snapshots | 10 |
| subnetpools | -1 |
| subnets | 10 |
| trunk | -1 |
| volumes | -1 |
+----------------------+----------------------------------+
[stack@undercloud ~]$ openstack limits show --absolute --project admin
+--------------------------+-------+
| Name | Value |
+--------------------------+-------+
| maxServerMeta | 128 |
| maxTotalInstances | -1 |
| maxPersonality | 5 |
| totalServerGroupsUsed | 0 |
| maxImageMeta | 128 |
| maxPersonalitySize | 10240 |
| maxTotalRAMSize | -1 |
| maxServerGroups | 10 |
| maxSecurityGroupRules | 20 |
| maxTotalKeypairs | 100 |
| totalCoresUsed | 26 |
| totalRAMUsed | 53248 |
| maxSecurityGroups | 10 |
| totalFloatingIpsUsed | 0 |
| totalInstancesUsed | 9 |
| maxServerGroupMembers | 10 |
| maxTotalFloatingIps | 10 |
| totalSecurityGroupsUsed | 1 |
| maxTotalCores | -1 |
| totalSnapshotsUsed | 1 |
| maxTotalBackups | 10 |
| maxTotalVolumeGigabytes | 100 |
| maxTotalSnapshots | 10 |
| maxTotalBackupGigabytes | 1000 |
| totalBackupGigabytesUsed | 0 |
| maxTotalVolumes | -1 |
| totalVolumesUsed | 83 |
| totalBackupsUsed | 0 |
| totalGigabytesUsed | 3346 |
+--------------------------+-------+
Is it possible to set quotas for ephemeral disks?
Environment
- Red Hat OpenStack Platform 10.0
- Red Hat OpenStack Platform 13.0
- Red Hat OpenStack Platform 14.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.