Comment 0 for bug 1707378

Revision history for this message
zhongjun (jun-zhongjun) wrote : Quota usage value error

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.