yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43327
[Bug 1495664] Re: public base URL is returned in the links even though request is coming from admin URL
This bug can be addressed outside of Keystone by passing the appropriate
X-Forwarded-* headers from the proxy or LB.
** Changed in: keystone
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1495664
Title:
public base URL is returned in the links even though request is coming
from admin URL
Status in OpenStack Identity (keystone):
Won't Fix
Bug description:
Public base URL is returned in the links even though the request is
coming from admin URL. Set both admin_endpoint and public_endpoint in
keystone.conf and notice that public_endpoint is always use as the
base URL in the links. i.e.
$curl -k -s -H 'X-Auth-Token: d5363c1fe9524972b891900002242087' http://localhost:5000/v3/policies | python -mjson.tool
{
"links": {
"next": null,
"previous": null,
"self": "https://public:5000/v3/policies"
},
"policies": []
}
$ curl -k -s -H 'X-Auth-Token: d5363c1fe9524972b891900002242087' http://localhost:35357/v3/policies | python -mjson.tool
{
"links": {
"next": null,
"previous": null,
"self": "https://public:5000/v3/policies"
},
"policies": []
}
This is related to https://bugs.launchpad.net/keystone/+bug/1381961
See
https://github.com/openstack/keystone/blob/master/keystone/common/controller.py#L419
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1495664/+subscriptions
References