Ask Your Question
0

How to determine my "auth url"?

asked 2014-06-25 11:53:58 -0500

RedCricket gravatar image

Sorry for being such a noob, but how do I determine what I should use as my auth url. I ask because when I execute ...

$ nova list

... I get this error message ...

ERROR (CommandError): You must provide an auth url via either --os-auth-url or env[OS_AUTH_URL] or specify an auth_system which defines a default url with --os-auth-system or env[OS_AUTH_SYSTEM]

I am using devstack as I am a total noob.

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-06-25 11:59:51 -0500

mpetason gravatar image

updated 2014-06-25 12:01:04 -0500

You'll want to setup an openrc file. Step 4.

http://docs.openstack.org/trunk/insta...

You can also get your endpoint if you do:

keystone endpoint-list

With Devstack see if there is already an openrc file, then just type:

source openrc

If it's named something else you would source {filename}.

edit flag offensive delete link more

Comments

Yes! Thanks there is an openrc file in the devstack directory.

[red@localhost devstack]$ source openrc 
[red@localhost devstack]$ env | grep -i url
OS_AUTH_URL=http://192.168.33.129:5000/v2.0
RedCricket gravatar imageRedCricket ( 2014-06-25 12:34:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-25 11:53:58 -0500

Seen: 9,599 times

Last updated: Jun 25 '14