A tenant can't get his own global quota limit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kingbird |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If use user=demo, project_id=demo, openstack token issue to get the token for the demo user, and then execute the global quota limit show the limit for the tenant with the demo's project-id,
curl -H "Content-Type: application/json" -H "X-Auth-Token: $kb_token" http://
File "/opt/stack/
context, project_id)
File "/opt/stack/
if not is_admin_
File "/opt/stack/
if not context.user or not context.tenant_id:
AttributeError: 'RequestContext' object has no attribute 'tenant_id'
description: | updated |
Changed in kingbird: | |
status: | New → In Progress |
The project_id=demo by default doesn't have the admin rights. So I'd guess that if you tried with admin it'll work