Ask Your Question

Keystone First Time Configuration [closed]

asked 2014-02-04 20:32:41 -0500

Saba gravatar image

Hello all,

After installing Keystone on the controller, I created the database and tables on MySql. I also defined an authorization token for the shared secret between the Identity Service and others. Then I created the signing keys and certificates for the PKI tokens. Finally I started the service and everything looked fine.

Now, I want to define users and tenants. This is what I have done:

# export OS_SERVICE_TOKEN=myAuthorizationToken
# keystone tenant-create --name=admin

And this is the error I get:

Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

What is the OS_AUTH_URL, and how should I set this? My operating system is CentOS and I'm using Open Stack Havana.

Thank you in advance for your time.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-02-05 23:27:23.900231



This should work. Can you try setting SERVICE_TOKEN and SERVICE_ENDPOINT. I suspect some issue in installation. Hence requesting you to check this. Also hope token is updated keystone.conf as well.

dheeru gravatar imagedheeru ( 2014-02-04 22:22:54 -0500 )edit

Thank you. I tried with SERVICE_TOKEN and SERVICE_ENDPOINT but faced with the same error. keystone.conf was also updated. But then I removed keystone and installed it back again and the problem was solved.

Saba gravatar imageSaba ( 2014-02-05 16:57:19 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-02-04 23:20:04 -0500

koolhead17 gravatar image


Following official step by step install guide will be helpful

Hope it helps!!

edit flag offensive delete link more


Thank you for your response. This document is exactly what I am following.

Saba gravatar imageSaba ( 2014-02-05 16:57:48 -0500 )edit

answered 2014-02-05 17:00:34 -0500

Saba gravatar image

When I was installing keystone, I first installed the package python-keystoneclient and then when trying to install openstack-keystone, it was already installed. I removed both of the packages and then installed "openstack-keystone" first. Then the problem got solved and the commands worked fine.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-04 20:32:41 -0500

Seen: 173 times

Last updated: Feb 05 '14