Admin tenants list API call returns partial list
Bug #933786 reported by
Gabriel Hurley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Gabriel Hurley |
Bug Description
Prior to the redux branch merge, the admin tenant list API call returned *all* tenants, but now it maps to get_tenants_
Changed in keystone: | |
assignee: | nobody → Gabriel Hurley (gabriel-hurley) |
status: | New → In Progress |
Changed in keystone: | |
milestone: | none → essex-4 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
The API doc at http:// docs.openstack. org/api/ openstack- identity- service/ 2.0/content/ GET_listTenants _v2.0_tenants_ Admin_API_ Service_ Developer_ Operations- d1e1356. html suggests that this is in fact the correct behaviour.
However, an administrator does need to be able to get a complete list of tenants, does that need to be an extension? Seems like it could be something like one of these:
GET /v2.0/tenants/ OS_KSADM
GET /v2.0/OS- KSADM/tenants
Can an extension change the defined behaviour by adding query strings to an already defined URL? If so, this seems simplest:
GET /v2.0/tenants? scope=all