Hello, everyone!
This is a case about failure to create a volume due to insufficient tenant quota.
Symptom
The number of created volumes or the total size exceeds the quota.
cinder create --name tests1 1
Applicable Version
All FusionSphere OpenStack versions
Cause
The tenant quota has reached the upper limit.
Fault Locating
Query the quota of the tenant based on the command output and confirm the restriction.
Handling Procedure
Run the following command on the PUTTY to confirm the tenant quota:
The VPC created in FM Portal is a tenant, and each tenant has a quota. When Cinder creates volumes, the number of volumes that can be created and the total size of created volumes have upper limits. If the volume exceeds the upper limit, volume creation fails. As shown in the following figure, the tenant can create a maximum of 10 volumes.
Solution
Run the following command to expand the tenant quota:
cat /home/fsp/novarc |grep TENANT // Obtain the tenant name.
keystone tenant-list // List all tenants.
cinder quota-show tenant-id // List tenants' quotas.
cinder quota-update --volumes x --gigabytes x tenant-id // Adding the Tenant Storage and Volume Quota
This is my solution, how about yours? Go ahead and share it with us!