quota-show lists info with wrong user-id

Bug #1307363 reported by Tushar Bankar
6
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).

Tags: izeltech
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)
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

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'.

Changed in manila:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.