Nova should confirm quota requests against Keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
os-quota-sets API should check requests for /v2/:tenant/
POST requests to a non-existant tenant should fail with a 400 error code.
GET requests to a non-existant tenant may fail with a 400 error code. Current behavior is to return 200 with the default quotas. A slightly incompatible change would be to return a 302 redirect to /v2/:tenant/
Edit (2014-01-22)
Original Description
-------
GET /v2/:tenant/
returns 200 with the default quotas.
Moreover
POST /v2/:tenant/
with updated quotas succeeds and that metadata is saved!
I'm not sure if this is a bug or not. I cannot find any documentation on this interface.
Changed in python-novaclient: | |
status: | New → Confirmed |
summary: |
- Request of quota sets for nonexistent tenant returns 200 with defaults + Possible to get and update quotas for nonexistant tenant |
Changed in nova: | |
status: | Incomplete → Confirmed |
Changed in nova: | |
assignee: | nobody → Dmitry (hovyakov) |
tags: | added: security ux |
Changed in nova: | |
assignee: | Dmitry (hovyakov) → nobody |
Changed in nova: | |
status: | Opinion → Confirmed |
summary: |
- Possible to get and update quotas for nonexistant tenant + Nova should confirm quota requests against Keystone |
description: | updated |
Changed in nova: | |
assignee: | nobody → vaibhav (vaibhav-bhatkar) |
Changed in nova: | |
assignee: | nobody → Thang Pham (thang-pham) |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | Confirmed → In Progress |
tags: | added: quotas |
Similar bug: https:/ /bugs.launchpad .net/python- novaclient/ +bug/1031139