RFE: Provide an admin API to query quotas for all user in a project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
In Progress
|
Low
|
Matheus Andrade |
Bug Description
Admins might face some hard times when dealing with user quotas for resources.
Currently, Manila accepts quotas sets for any user-id and this might lead to unwanted DB entries if the admin enters, by mistake, an invalid user-id. At the end, this will affect the total project quota that will consider all user quotas.
This is a request for implement an new API to query all user's quotas associated to an project. In this way, admins will be able to unwanted entries using quota-delete operations.
How to reproduce the behavior:
1. Create a quota for user-A using its user-id (correct way)
$ manila quota-update 1fc7b1ed9a7d4b4
2. Try to update user-A, and provide a different user-id, by mistake:
$ manila quota-update 1fc7b1ed9a7d4b4
3. Try to update project quot:
$ manila quota-update 1fc7b1ed9a7d4b4
ERROR: Quota limit must be greater than 15. (HTTP 400)
The database has both entries and there is no easy way for admins to retrieve this information.
description: | updated |
Changed in manila: | |
milestone: | none → victoria-1 |
importance: | Undecided → Low |
Changed in manila: | |
assignee: | nobody → Carlos Eduardo (silvacarlose) |
Changed in manila: | |
milestone: | victoria-1 → victoria-2 |
Changed in manila: | |
milestone: | victoria-2 → victoria-3 |
Changed in manila: | |
milestone: | wallaby-3 → none |
milestone: | none → xena-1 |
Changed in manila: | |
milestone: | xena-1 → xena-2 |
Changed in manila: | |
assignee: | Carlos Eduardo (silvacarlose) → Luisa (rfluisa) |
milestone: | xena-2 → yoga-1 |
Changed in manila: | |
milestone: | yoga-1 → yoga-2 |
Changed in manila: | |
milestone: | yoga-2 → yoga-3 |
Changed in manila: | |
milestone: | yoga-3 → zed-1 |
Changed in manila: | |
assignee: | Luisa (rfluisa) → Matheus Andrade (matheusandrade777) |
Changed in manila: | |
milestone: | zed-1 → zed-2 |
Changed in manila: | |
milestone: | zed-2 → zed-3 |
Changed in manila: | |
milestone: | zed-3 → antelope-3 |
Changed in manila: | |
milestone: | antelope-3 → antelope-rc1 |
Changed in manila: | |
milestone: | antelope-rc1 → bobcat-1 |
Changed in manila: | |
milestone: | bobcat-1 → bobcat-rc1 |
milestone: | bobcat-rc1 → bobcat-3 |
Changed in manila: | |
milestone: | bobcat-3 → bobcat-rc1 |
Changed in manila: | |
milestone: | bobcat-rc1 → caracal-1 |
Additional comments http:// eavesdrop. openstack. org/meetings/ manila/ 2020/manila. 2020-04- 30-15.00. log.html