quota-show lists info with wrong user-id
Bug #1307363 reported by
Tushar Bankar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Won't Fix
|
Undecided
|
Harshada Mangesh Kakad |
Bug Description
manila quota-show --user wrong-id
Manila returns answer 200 Ok with list of quotas.
But it is expected 404 Not Found.
It is bad, because if we try id which looks like a real user-id, but actually is wrong, we will not know which quota we got, current user id or typed (with mistake).
Changed in manila: | |
assignee: | nobody → Tushar Bankar (tushar-bankar) |
tags: | added: izeltech |
Changed in manila: | |
assignee: | Tushar Bankar (tushar-bankar) → nobody |
Changed in manila: | |
assignee: | nobody → Harshada Mangesh Kakad (harshada-kakad) |
To post a comment you must log in.
Set it as "won't fix" because:
Manila has default values for all quotas, independently from tenants/projects in auth service.
When quota is updated manila creates record in database.
So, when we request quota for tenant, even not existent, quota will be calculated correctly - if no record in DB, assumed default quota without check for existance of tenant/project. Same situation for all operations with quotas.
In conclusion: all bugs, related to such kind of quotas behavior should be closed as 'won't fix'.