Incorrect quota usage reported for generic volume groups quotas
Bug #1711381 reported by
Abhishek Sharma M
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Abhishek Sharma M |
Bug Description
After installation, for the first time when we create a generic volume group, the in_use quota value is shown as 2 (instead of 1).
Changed in cinder: | |
assignee: | nobody → Abhishek Sharma M (abhi.sharma) |
Changed in cinder: | |
status: | New → In Progress |
To post a comment you must log in.
What I observed is that when i try to create a generic volume group using POST-/v3/ {project_ id}/groups API, just after the openstack installation, quota usage of generic volume group is shown as 2 (instead of 1). This happens only for the first time. After this, for every x generic volume group created, x will be added to already stored number.
This behavior is not that it happens only when the generic volume group quota is zero, it happens when no row of generic volume group exists in the 'cinder' database in 'quota_usages' table.