Ask Your Question
0

How to override the default setting of keystone configuration ?

asked 2013-12-22 13:59:25 -0600

Deepak gravatar image

updated 2014-01-22 15:12:43 -0600

Evgeny gravatar image

Hi,

I am trying to override the default configuration of Keystone server, within the /etc/keystone/keystone.conf. But however when i make the changes in that file and try running the ./stack.sh in devstack the previous endpoint in the [default] is getting overriden with the default values like below

[DEFAULT]
admin_endpoint = http://127.0.0.1:%(admin_port)s/
public_endpoint = http://127.0.0.1:%(public_port)s/
admin_token = anna

Even if I comment the endpoints above, they get the default value pushed into the configuration file from somewhere in devstack. I tried to run keystone service alone and that looks good. It is not overriding the endpoints. Can you please help me on how to remove the above two lines and stack it in a way it is not getting the default values.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-12-23 20:30:26 -0600

larsks gravatar image

The endpoints are calculated based on the host addresses you use when running devstack. If you want something other than 127.0.0.1 to show up in your endpoint URLs, then you should add the following configuration to your localrc before running stack.sh:

KEYSTONE_AUTH_HOST=my.ip.address
KEYSTONE_SERVICE_HOST=my.ip.address

Looking through the code, it looks like you can cause all of your endpoints (i.e., not just Keystone) to use a non-localhost address by setting:

SERVICE_HOST=my.ip.address

This information and more is available by reading through stack.sh and the accompanying README.md file.

edit flag offensive delete link more
0

answered 2013-12-28 09:28:15 -0600

Deepak gravatar image

Hi,

This is sorted by following the steps in

http://fosshelp.blogspot.in/2013/12/how-to-install-federated-keystone-in.html

Thank you

edit flag offensive delete link more

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: 2013-12-22 13:59:25 -0600

Seen: 443 times

Last updated: Dec 28 '13