Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- I am using the regular openrc script provided by my grizzly openstack installation but it seems not to work with nova python client on my ubuntu 15.04.
- (ubuntu 15.04) $ nova --version
- 2.22.0
- Env variables are correctly exported but the client keeps connecting to localhost (http://localhost:5000/v2.0/tokens). Where it's not located at localhost at all.
- The same happen with nova , glance or any command line tool.
- However I can use the **same** openrc script with success from another older debian box and use all tools.
- What could be the issue here ?
- Here is a log trace :
- <pre>
- (ubuntu 15.04) $ source myopenrc.sh
- (typing the password)
- (ubuntu 15.04) $ nova --debug list
- DEBUG (session:195) REQ: curl -g -i -X GET http://my.url.com:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
- INFO (connectionpool:188) Starting new HTTP connection (1): my.url.com
- DEBUG (connectionpool:362) "GET /v2.0 HTTP/1.1" 200 612
- DEBUG (session:223) RESP: [200] date: Wed, 02 Sep 2015 07:23:24 GMT vary: X-Auth-Token content-length: 612 content-type: application/json connection: keep-alive
- RESP BODY: {"version": {"status": "stable", "updated": "2013-03-06T00: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://localhost: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"}]}}
- DEBUG (v2:76) Making authentication request to http://localhost:5000/v2.0/tokens
- INFO (connectionpool:188) Starting new HTTP connection (1): localhost
- DEBUG (shell:914) Unable to establish connection to http://localhost:5000/v2.0/tokens
- </pre>
- Thank you
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement