[Openstack-operators] Wrong URL returned on Keystone /v2.0

Abel Lopez alopgeek at gmail.com
Tue Dec 2 17:45:58 UTC 2014


Did you happen to set the 'public_endpoint' directive in the keystone config?

> On Dec 2, 2014, at 9:27 AM, Jean-Daniel Bonnetot <jean-daniel.bonnetot at ovh.net> wrote:
> 
> Hi Ops,
> 
> I get the wrong URL on this call :
> 
> curl -i -X GET https://mycontroller.ovh.com:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
> HTTP/1.1 200 OK
> 
> {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://172.16.64.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}
> 
> I get "href": "http://172.16.64.1:5000/v2.0/«  witch is not my publicURL, not my internalURL and not my adminURL…
> It’s a kind of ip based internalURL, very strange.
> 
> My catalog is :
> # keystone catalog --service identity
> Service: identity
> +-------------+----------------------------------------------+
> |   Property  |                    Value                     |
> +-------------+----------------------------------------------+
> |   adminURL  | https://mycontroller.ovh.com:35357/v2.0      |
> |      id     |       3e83b592262149ee9a007df65ac9c431       |
> | internalURL |        http://controller284:5000/v2.0        |
> |  publicURL  | https://mycontroller.ovh.com.com:5000/v2.0   |
> |    region   |                  regionOne                   |
> +-------------+———————————————————————+
> 
> There is something anywhere where I can set the url return by this call ?
> 
> Rgds,
> 
>> Jean-Daniel Bonnetot
> @pilgrimstack
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators




More information about the OpenStack-operators mailing list