Quota usage value error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
zhongjun |
Bug Description
Steps to reproduce:
We have 4 share-api service in each 4 vm
# manila create NFS 1 #create a new share
# manila quota-show --detail #The number of shares is equal to 4, the gigabytes is equal to 4
+------
| Property | Value |
+------
| share_groups | in_use = 0 |
| | limit = 50 |
| | reserved = 0 |
| gigabytes | in_use = 4 |
| | limit = 1000 |
| | reserved = 0 |
| snapshot_gigabytes | in_use = 0 |
| | limit = 1000 |
| | reserved = 0 |
| shares | in_use = 4 |
| | limit = 50 |
| | reserved = 0 |
#manila delete share_id # Delete the same share at the same time in each 4 vm
# manila quota-show --detail # The number of shares is equal to 0, the gigabytes is equal to 0
+------
| Property | Value |
+------
| share_groups | in_use = 0 |
| | limit = 50 |
| | reserved = 0 |
| gigabytes | in_use = 0 |
| | limit = 1000 |
| | reserved = 0 |
| snapshot_gigabytes | in_use = 0 |
| | limit = 1000 |
| | reserved = 0 |
| shares | in_use = 0 |
| | limit = 50 |
| | reserved = 0 |
We only delete one share, but the number of shares changed from 4 to 0, the gigabytes also changed from 4 to 0.
Changed in manila: | |
assignee: | nobody → zhongjun (jun-zhongjun) |
status: | Triaged → In Progress |
This bug to be fixed as part of the quota system rewrite planned for Rocky.