Create a volume will show the same error tips, no matter what --type
option with.
# openstack volume create --size 500 test_vol
VolumeSizeExceedsAvailableQuota: Requested volume or snapshot exceeds allowed gigabytes quota.
Requested 500G, quota is 965362G and 965362G has been consumed.
# openstack volume create --size 500 --type ceph_ssd test_vol_ssd
VolumeSizeExceedsAvailableQuota: Requested volume or snapshot exceeds allowed gigabytes quota.
Requested 500G, quota is 965362G and 965362G has been consumed.
# openstack quota show
| Field | Value |
| gigabytes | 965362 |
| gigabytes___DEFAULT__ | -1 |
| gigabytes_ceph_ssd | 9965362 |
In sometime, while create a ceph_ssd
volume type, it will tips that gigabytes_ceph_ssd quota exceeds. Like this:
# openstack volume create --size 500 --type ceph_ssd test_vol_ssd
VolumeSizeExceedsAvailableQuota: Requested volume or snapshot exceeds allowed gigabytes_ceph_ssd quota.
What's wrong with that? How could I solve this question? Anything was misunderstand by me?
Shame of my ignorance.
gigabytes means
Volume gigabytes allowed for each project
.It will check whether exception.OverQuota for creating new volume previously. First will check the gigabytes for all volume capacity, and then the gigabytes_specify_volume_type while create volume with
--type
option.Verify in develop environment: