Incorrect Cinder quota usage shown via CLI/API after Quota Settings Changed
Bug #1410034 reported by
Bruce Xu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
Reproduce steps:
1.Update nova quota settings.
cinder quota-update --volumes vaule TENANT_ID
cinder quota-update --gigabytes 100 TENANT_ID
cinder quota-update --snapshots 30 TENANT_ID
2.Delete the quota settings and the quota should back to the default.
cinder quota-delete --tenant TENANT_ID
3.Query nova quota usage
cinder absolute-limits --tenant tenant_ID
the usage of volume show "0", it is not correct.
The issue is observed on Havana & icehouse.
description: | updated |
Changed in cinder: | |
assignee: | nobody → Gorka Eguileor (gorka) |
status: | Opinion → In Progress |
Changed in cinder: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-1 → 7.0.0 |
To post a comment you must log in.
Exactly what 'delete quotas for a tenant' means is not clearly defined, but I think setting them to zero meets one definition.
Putting them to defaults is somewhat counter intuitive - if you delete somebody's quota and they have quota afterwards (might even be *more* quota than before the delete if the defaults are higher than the override) I'd say that was unexpected.
Might be better to add a separate command to give somebody back default quota(s)?