Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. Hi,
  2. 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.
  3.  
  4. (ubuntu 15.04) $ nova --version
  5. 2.22.0
  6.  
  7. 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.
  8. The same happen with nova , glance or any command line tool.
  9.  
  10. However I can use the **same** openrc script with success from another older debian box and use all tools.
  11.  
  12. What could be the issue here ?
  13.  
  14. Here is a log trace :
  15.  
  16. <pre>
  17. (ubuntu 15.04) $ source myopenrc.sh
  18. (typing the password)
  19. (ubuntu 15.04) $ nova --debug list
  20. 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"
  21. INFO (connectionpool:188) Starting new HTTP connection (1): my.url.com
  22. DEBUG (connectionpool:362) "GET /v2.0 HTTP/1.1" 200 612
  23. 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
  24. 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"}]}}
  25.  
  26. DEBUG (v2:76) Making authentication request to http://localhost:5000/v2.0/tokens
  27. INFO (connectionpool:188) Starting new HTTP connection (1): localhost
  28. DEBUG (shell:914) Unable to establish connection to http://localhost:5000/v2.0/tokens
  29. </pre>
  30.  
  31. Thank you
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement