Activity log for bug #1872872

Date Who What changed Old value New value Message
2020-04-15 02:21:26 zhangqing bug added bug
2020-04-15 02:33:08 OpenStack Infra manila: status New In Progress
2020-04-15 02:33:08 OpenStack Infra manila: assignee zhangqing (zhang-qing)
2020-04-15 02:36:42 zhangqing description When creating share, it will check the quota, if the quota is over it will raise error:ShareLimitExceeded. 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.db.sqlalchemy.api will check the project or user over or not. If user quota >=0, it will check project quota and project quota usage, user quota and user quota usage. In the situation above, project quota (-1) must be smaller than project usage, then the value 'overs' is not None, it will raise ShareLimitExceeded.Actually, it shouldn't raise error. When creating share, it will check the quota, if the quota is over it will raise error:ShareLimitExceeded. 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.db.sqlalchemy.api will check the project or user over or not. If user quota >=0, it will check project quota and project quota usage, user quota and user quota usage. In the situation above, project quota (-1) must be smaller than project usage, then the value 'overs' is not None, it will raise ShareLimitExceeded. Actually,it shouldn't raise error.
2020-04-16 15:40:01 Vida Haririan manila: importance Undecided Medium
2020-04-16 15:40:16 Vida Haririan manila: milestone ussuri-rc1
2020-04-22 12:20:57 OpenStack Infra manila: status In Progress Fix Released
2020-04-27 18:39:53 OpenStack Infra tags in-stable-train
2020-04-28 04:40:37 OpenStack Infra tags in-stable-train in-stable-stein in-stable-train
2020-04-29 07:40:40 OpenStack Infra tags in-stable-stein in-stable-train in-stable-rocky in-stable-stein in-stable-train
2020-05-01 22:01:13 OpenStack Infra tags in-stable-rocky in-stable-stein in-stable-train in-stable-queens in-stable-rocky in-stable-stein in-stable-train