Get user/tenant by name returning full list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Justin Shepherd |
Bug Description
As recently posted to the email list here: https:/
...
As per the Keystone v2.0 API docs, I've been trying to use the 'get user
by name' and 'get tenant by name' APIs to retrieve the respective
resource by name. The URI signatures are:
v2.0/users
v2.0/tenants
respectively.
However, both of these APIs are returning the full list (collection) of
users/tenants rather than the single resource specified in the 'name'
parameter.
EX:
----------------
(request)
GET http://
(response)
{u'tenants': [{u'id': u'0e98e4ac95904
True, u'description': u'Services Tenant', u'name': u'Services'}, {u'id':
u'6f8945f2d47f4
u'Default Tenant', u'name': u'DefaultTenant'}], u'tenants_links': []}
----------------
These APIs are documented here:
If the 'get by name' APIs are not supported, the it might be a good idea to get them out of the docs to remove end user confusion.
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → grizzly-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | grizzly-1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/14275
Review: https:/