wrong volume_quota exception msg when extending volume_size
Bug #1985962 reported by
yao ning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Low
|
Unassigned |
Bug Description
when extending volume size, the quota exceed certain quota class raise wrong exception msg to frontend. It does not consider the quota class now so that the exception message below give the wrong actual quota_size:
when setting volume_type ssd quota for all projects 30GB, and quota for all volume_type is 1000GB. And create a 20GB volume, then extend it to 30GB. the error message is:
"Requested volume or snapshot exceeds allowed gigabytes quota, Requested 20G, quota is 1000G and 20G has been consumed"
but we expect to receive error message:
"Requested volume or snapshot exceeds allowed gigabytes quota, Requested 20G, quota is 30G and 20G has been consumed"
tags: | added: quotas |
tags: |
added: quota removed: quotas |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in cinder: | |
importance: | Medium → Low |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/852945
Review: https:/