Quota usage value error in batch delete
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.
2017-07-31 09:16:25.168 ERROR oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.168 TRACE oslo_messaging.
2017-07-31 09:16:25.299 ERROR oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
2017-07-31 09:16:25.299 TRACE oslo_messaging.
summary: |
- Quota usage value error + Quota usage value error in batch delete |
description: | updated |
Changed in manila: | |
milestone: | none → pike-rc1 |
importance: | Undecided → High |
Changed in manila: | |
milestone: | pike-rc1 → queens-1 |
Changed in manila: | |
milestone: | queens-1 → pike-rc1 |
Changed in manila: | |
status: | Incomplete → In Progress |
Changed in manila: | |
milestone: | pike-rc1 → none |
milestone: | none → queens-1 |
Changed in manila: | |
assignee: | Valeriy Ponomaryov (vponomaryov) → zhongjun (jun-zhongjun) |
Fix proposed to branch: master /review. openstack. org/489501
Review: https:/