/v2.0/tenants: the 'limit' paramter should limit results instead of scopes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Dolph Mathews |
Bug Description
When the optional 'marker' and 'limit' parameters are both specified, 'limit' is applied before 'marker'.
GET /v2.0/tenants:
{
"tenants_links": [],
"tenants": [
{ "enabled": true, "description": null, "name": "tenant1", "id": "81f502a8e4204a
{ "enabled": true, "description": null, "name": "tenant2", "id": "90fb2d6420144a
{ "enabled": true, "description": null, "name": "tenant3", "id": "95e384faee5f48
{ "enabled": true, "description": null, "name": "tenant4", "id": "144e098b71de43
]
}
GET /v2.0/tenants?
{
"tenants_links": [],
"tenants": [
{ "enabled": true, "description": null, "name": "tenant2", "id": "90fb2d6420144a
]
}
What we expect:
{
"tenants_links": [],
"tenants": [
{ "enabled": true, "description": null, "name": "tenant2", "id": "90fb2d6420144a
{ "enabled": true, "description": null, "name": "tenant3", "id": "95e384faee5f48
]
}
Reproducible: always.
Version: 2012.1.
Changed in keystone: | |
assignee: | nobody → Dolph Mathews (dolph) |
status: | New → In Progress |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
status: | Fix Committed → In Progress |
Changed in keystone: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-3 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/8036
Review: https:/