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

Jean-Daniel Bonnetot jean-daniel.bonnetot at ovh.net
Tue Dec 2 17:27:56 UTC 2014


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


More information about the OpenStack-operators mailing list