v3 service catalog returns services without names, but v2.0 api does not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Lin Hua Cheng |
Bug Description
For services without names, it appeared that v2.0 api filtered out these services (w/o names) from the service catalog. To the contrary, v3 api presents these services in the service catalog (w/o names) without filtering them out, which I think is a bug.
Here the dump...
v3
==
$ curl -s -H "Content-Type: application/json" -d '{ "auth": {"identity": {"methods": ["password"
{
"token": {
],
"catalog": [
{ <== Service without a name
},
{
],
},
{
],
},
{ <== Another service without a name.
},
* ommited*
v2.0
====
$ curl -s -H "Content-Type: application/json" -d '{"auth": {"tenantName": "admin", "passwordCreden
{
"access": {
"metadata": {
]
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
},
{
],
}
],
"token": {
],
"id": "b96d96ad5bd74b
}
},
"user": {
"id": "832ac2ef798340
"name": "admin",
{
},
{
}
],
}
}
}
Changed in keystone: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
Changed in keystone: | |
assignee: | Lin Hua Cheng (lin-hua-cheng) → David Stanek (dstanek) |
Changed in keystone: | |
assignee: | David Stanek (dstanek) → Lin Hua Cheng (lin-hua-cheng) |
Changed in keystone: | |
milestone: | none → kilo-2 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | kilo-2 → 2015.1.0 |
According to some of the examples in the API spec [1], it looks like name should be included in the v3 catalog response. It would appear that the documentation is inconsistent with the implementation.
[1] https:/ /github. com/openstack/ keystone- specs/blob/ master/ api/v3/ identity- api-v3. rst#catalog- opt-out