← Back to team overview

openstack team mailing list archive

Re: CLI username and password prompt

 

OK got the URL to work but now I get the error "ERROR: Invalid OpenStack Nova credentials"

What should the default credentials be or is there a place this is stored?



________________________________
 From: "andrewsben@xxxxxxxxx" <andrewsben@xxxxxxxxx>
To: Jake G. <dj_dark_junglist@xxxxxxxxx> 
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
Sent: Wednesday, July 17, 2013 3:32 PM
Subject: Re: [Openstack] CLI username and password prompt
 


Hubcap coming through with the docs... Go with the url he referenced which will tell you what all the possible environment variables are. 
On Jul 17, 2013 2:31 AM, "andrewsben@xxxxxxxxx" <andrewsben@xxxxxxxxx> wrote:

Should be something similar to:
>http://(url or ip):8770/v2.0
>On Jul 17, 2013 2:29 AM, "Jake G." <dj_dark_junglist@xxxxxxxxx> wrote:
>
>What should the OS_AUTH_URL look like?|
>>
>>
>>
>>________________________________
>> From: "andrewsben@xxxxxxxxx" <andrewsben@xxxxxxxxx>
>>To: Jake G. <dj_dark_junglist@xxxxxxxxx> 
>>Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
>>Sent: Wednesday, July 17, 2013 3:23 PM
>>Subject: Re: [Openstack] CLI username and password prompt
>> 
>>
>>
>>use env vars.
>>
>>export OS_PASSWORD=password
>>export OS_USERNAME=user
>>export OS_TENANT_NAME=project
>>export OS_AUTH_URL=<url>:8770/v2.0
>>
>>
>>
>>
>>
>>On Wed, Jul 17, 2013 at 2:19 AM, Jake G. <dj_dark_junglist@xxxxxxxxx> wrote:
>>
>>Hi All,
>>>Every time I type a command from the CLI it requires me to enter a username(--os-username) and password(--os-password) .
>>>
>>>
>>>Anyway to prevent having to enter these everytime?
>>>
>>>
>>>Thanks,
>>>Jake
>>>_______________________________________________
>>>Mailing list: https://launchpad.net/~openstack
>>>Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>Unsubscribe : https://launchpad.net/~openstack
>>>More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>>
>>_______________________________________________
>>Mailing list: https://launchpad.net/~openstack
>>Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>Unsubscribe : https://launchpad.net/~openstack
>>More help   : https://help.launchpad.net/ListHelp
>>
>>

Follow ups

References