wrong calculation on user quota
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Tom Patzig |
Bug Description
Here is the failure test case:
In a pure manila environment. Create two users for telent "demo" : "user1" and "user2"
Step1:
create two shares and each 1 share 1GB with "user1". You could check the quota usage through "manila absolute-limits" that two shares and 2 GB are used
This is step is right.
Step2:
Change to "user2". Delete the two shares just created by user1 . Then use "manila absolute-limits" to check the quota usage, this 1 share and 1 GB is used even there is no share left any more.
I compared with Nova db with similiar case found that the big difference is in the db table "quota_usages". If "user2" delete the resource created by "user1". In nova, the user1's quota usage will be decreased even you are using "user2"but for manila, user2's quota usage decreased until to "-1".
tags: | added: bugsmash-mitaka |
Changed in manila: | |
assignee: | nobody → Marc Koderer (m-koderer) |
Changed in manila: | |
assignee: | Marc Koderer (m-koderer) → Tom Patzig (tom-patzig) |
Changed in manila: | |
milestone: | none → mitaka-rc1 |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/289992
Review: https:/