Public bug reported: 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 ** Affects: keystone Importance: Low Status: New ** Changed in: keystone Importance: Undecided => Low -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to 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 Keystone: New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

