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_jungl...@yahoo.com 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
What should the OS_AUTH_URL look like?| From: andrews...@gmail.com andrews...@gmail.com To: Jake G. dj_dark_jungl...@yahoo.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net 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_jungl...@yahoo.com 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
On Jul 16, 2013, at 11:19 PM, Jake G. 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? See [1] Set environment variables [1] http://docs.openstack.org/cli/quick-start/content/authenticate.html ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
Should be something similar to: http://(url or ip):8770/v2.0 On Jul 17, 2013 2:29 AM, Jake G. dj_dark_jungl...@yahoo.com wrote: What should the OS_AUTH_URL look like?| -- *From:* andrews...@gmail.com andrews...@gmail.com *To:* Jake G. dj_dark_jungl...@yahoo.com *Cc:* openstack@lists.launchpad.net openstack@lists.launchpad.net *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_jungl...@yahoo.comwrote: 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
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, andrews...@gmail.com andrews...@gmail.com wrote: Should be something similar to: http://(url or ip):8770/v2.0 On Jul 17, 2013 2:29 AM, Jake G. dj_dark_jungl...@yahoo.com wrote: What should the OS_AUTH_URL look like?| -- *From:* andrews...@gmail.com andrews...@gmail.com *To:* Jake G. dj_dark_jungl...@yahoo.com *Cc:* openstack@lists.launchpad.net openstack@lists.launchpad.net *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_jungl...@yahoo.comwrote: 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] 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: andrews...@gmail.com andrews...@gmail.com To: Jake G. dj_dark_jungl...@yahoo.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net 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, andrews...@gmail.com andrews...@gmail.com wrote: Should be something similar to: http://(url or ip):8770/v2.0 On Jul 17, 2013 2:29 AM, Jake G. dj_dark_jungl...@yahoo.com wrote: What should the OS_AUTH_URL look like?| From: andrews...@gmail.com andrews...@gmail.com To: Jake G. dj_dark_jungl...@yahoo.com Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net 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_jungl...@yahoo.com 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
On Jul 16, 2013, at 11:39 PM, Jake G. wrote: 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? If you are using devstack you should be able to source ~/devstack/openrc, and it will provide what you need to run the cli commands. . ~/devstack/openrc See what that does for ya. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
Using RDO Packstack From: Michael Basnight mbasni...@gmail.com To: Jake G. dj_dark_jungl...@yahoo.com Cc: andrews...@gmail.com andrews...@gmail.com; openstack@lists.launchpad.net openstack@lists.launchpad.net Sent: Wednesday, July 17, 2013 3:48 PM Subject: Re: [Openstack] CLI username and password prompt On Jul 16, 2013, at 11:39 PM, Jake G. wrote: 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? If you are using devstack you should be able to source ~/devstack/openrc, and it will provide what you need to run the cli commands. . ~/devstack/openrc See what that does for ya.___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
On Jul 16, 2013, at 11:48 PM, Jake G. wrote: Using RDO Packstack From http://openstack.redhat.com/Quickstart Once the process is complete, you can log in to the OpenStack web interface Horizon by going tohttp://$YOURIP/dashboard. The username is admin. The password can be found in the file keystonerc_admin in the /root/ directory of the control node. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CLI username and password prompt
Got it! Forgot about that file. Thank you very much ! From: Michael Basnight mbasni...@gmail.com To: Jake G. dj_dark_jungl...@yahoo.com Cc: andrews...@gmail.com andrews...@gmail.com; openstack@lists.launchpad.net openstack@lists.launchpad.net Sent: Wednesday, July 17, 2013 3:55 PM Subject: Re: [Openstack] CLI username and password prompt On Jul 16, 2013, at 11:48 PM, Jake G. wrote: Using RDO Packstack From http://openstack.redhat.com/Quickstart Once the process is complete, you can log in to the OpenStack web interface Horizon by going tohttp://$YOURIP/dashboard. The username is admin. The password can be found in the file keystonerc_admin in the /root/ directory of the control node.___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp