wrong volume_quota exception msg when extending volume_size

Bug #1985962 reported by yao ning
6
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: quota
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/852945

Changed in cinder:
status: New → In Progress
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.