list_services API filtered by name can't find the service when using list_limit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Roxana Gherle |
Bug Description
/services?
Before setting list_limit in keystone.conf the following API call behaves correctly:
stack@mitaka2:
% Total % Received % Xferd Average Speed Time Time Time Current
100 318 100 318 0 0 95 0 0:00:03 0:00:03 --:--:-- 95
{
"links": {
"next": null,
"previous": null,
"self": "http://
},
"services": [
{
"id": "f7ef63607b8542
},
"name": "keystone",
"type": "identity"
}
]
}
After setting list_limit=3 in the Default section in keystone.conf, the API can't find the service any more:
stack@mitaka2:
% Total % Received % Xferd Average Speed Time Time Time Current
100 143 100 143 0 0 43 0 0:00:03 0:00:03 --:--:-- 43
{
"links": {
"next": null,
"previous": null,
"self": "http://
},
"services": [],
"truncated": true
}
It seems like the list is truncated before applying the name filter.
Changed in keystone: | |
assignee: | nobody → Roxana Gherle (roxana-gherle) |
Changed in keystone: | |
milestone: | none → newton-2 |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/331790
Review: https:/