quota checking wrong with project unlimited and user limited
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
zhangqing |
Bug Description
When creating share, it will check the quota, if the quota is over it will raise error:ShareLimi
In One case, when a project's quota set unlimited(-1), and user in the project is limited to a value(>=0).In normal, the user could create share when the user's share not over the user quota. But now,even when the user not over the user's quota they can't create share.
The method _quota_reserve in manila.
Changed in manila: | |
assignee: | nobody → zhangqing (zhang-qing) |
status: | New → In Progress |
description: | updated |
Changed in manila: | |
importance: | Undecided → Medium |
milestone: | none → ussuri-rc1 |
Fix proposed to branch: master /review. opendev. org/#/c/ 713434/
Review: https:/