savanna-all team mailing list archive
-
savanna-all team
-
Mailing list archive
-
Message #00006
Re: get_auth_token's host
Patch is in the master now. Just pull it and you can omit config-file and etc/savanna/savanna.conf will be used by default.
Sincerely yours,
Sergey Lukjanov
Software Engineer
Mirantis Inc.
GTalk: me@xxxxxxxxxxx
Skype: lukjanovsv
On Apr 1, 2013, at 20:37, "Senhua Huang (senhuang)" <senhuang@xxxxxxxxx> wrote:
> Hi Sergey,
>
> That works. Thanks!
>
> Senhua
>
>
> On Apr 1, 2013, at 9:30 AM, Sergey Lukjanov <slukjanov@xxxxxxxxxxxx>
> wrote:
>
>> Hello Senhua,
>>
>> currently, you should add config-file option to specify configuration path:
>>
>> tools/get_auth_token --config-file etc/savanna/savanna.conf
>>
>> I'll implement default config usage for get_auth_token command by default asap.
>>
>> Sincerely yours,
>> Sergey Lukjanov
>> Software Engineer
>> Mirantis Inc.
>> GTalk: me@xxxxxxxxxxx
>> Skype: lukjanovsv
>>
>> On Apr 1, 2013, at 20:18, "Senhua Huang (senhuang)" <senhuang@xxxxxxxxx> wrote:
>>
>>> 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)
>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~savanna-all
>>> Post to : savanna-all@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~savanna-all
>>> More help : https://help.launchpad.net/ListHelp
>>
>
Follow ups
References