Inconsistent URLs reported from discovery endpoints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
New
|
Undecided
|
Prosunjit Biswas |
Bug Description
TLDR; the URLs returned from /, /v2.0 and /v3 are inconsistent.
In detail:
GET / returns
v3.4: http://
v2.0: http://
GET /v2.0 returns
http://
GET /v3 returns:
http://
Notice the /v3 URL is different, it reflects the public endpoint and the others are the admin endpoints.
The end effect is that 'openstack catalog list' (or any openstack CLI command) hangs when I access the v3 API because it gets redirected to an IP that I can't connect to (my client side can only see admin URLs).
More detail:
My catalog has the following in it:
+------
| Field | Value |
+------
| endpoints | regionOne |
| | admin: http://
| | regionOne |
| | internal: http://
| | regionOne |
| | public: http://
| | |
| id | 4709cfbbba2747f
| name | Identity Service |
| type | identity |
+------
Querying at /
$ curl http://
{
"versions": {
"values": [
{
],
],
},
{
],
],
}
]
}
}
Querying at /v2.0:
$ curl http://
{
"version": {
"id": "v2.0",
"links": [
{
},
{
}
],
{
}
],
"status": "stable",
"updated": "2014-04-
}
}
And at /v3.0:
$ curl http://
{
"version": {
"id": "v3.4",
"links": [
{
}
],
{
}
],
"status": "stable",
"updated": "2015-03-
}
}
Changed in keystone: | |
assignee: | nobody → Prosunjit Biswas (prosun-csedu) |
This is probably a duplicate of bug #1235340 It's subtly different but the fix is likely the same.