← Back to team overview

savanna-all team mailing list archive

get_auth_token's host

 

Hello!

I tried to run the get_auth_token script and got the following error. It seems that the script used a fixed value called "openstack." I have edited my ./etc/savanna/savanna.conf so that os_auth_host points to localhost on which my devstack is running.

Any hints?

Thanks,
Senhua

-------------- Error Message ---------------------
ubuntu@ubuntu:~/Developer/savanna$ tools/get_auth_token 
User: admin
Password: nova
Tenant: admin
Auth URL: http://openstack:35357/v2.0/
Traceback (most recent call last):
  File "tools/get_auth_token.py", line 55, in <module>
    main()
  File "tools/get_auth_token.py", line 44, in main
    auth_url=auth_url
  File "/home/ubuntu/Developer/savanna/.venv/local/lib/python2.7/site-packages/keystoneclient/v2_0/client.py", line 134, in __init__
    self.authenticate()
  File "/home/ubuntu/Developer/savanna/.venv/local/lib/python2.7/site-packages/keystoneclient/client.py", line 205, in authenticate
    token)
  File "/home/ubuntu/Developer/savanna/.venv/local/lib/python2.7/site-packages/keystoneclient/v2_0/client.py", line 180, in get_raw_token_from_identity_service
    "%s" % e)
keystoneclient.exceptions.AuthorizationFailure: Authorization Failed: HTTPConnectionPool(host='openstack', port=35357): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)



Follow ups