Ask Your Question
0

Endpoints created by sample_data.sh are pointing to localhost.

asked 2012-05-17 13:04:41 -0500

There is file /usr/share/openstack-keystone/sample_data.sh it contains keystone endpoint-create --region RegionOne --service_id $NOVA_SERVICE \ --publicurl 'http://localhost:$(compute_port)s/v1.1/$(tenant_id)s' \

This is not convenient because it prevents actions to be executed from remote machine.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-05-17 14:41:41 -0500

heut2008 gravatar image

you can change it to the actual nova api service manually.the localhost is just the default for single host test.

edit flag offensive delete link more
0

answered 2012-05-19 07:41:09 -0500

What about using hostname -f in place of "localhost". Or what about some option that could default to localhost, but would be changeable from commandline?

edit flag offensive delete link more
0

answered 2012-05-20 18:48:53 -0500

heckj gravatar image

sample data is meant to be an example file for use in devstack, or potentially as a means of understanding how to create your own data. It's not a general installation/setup tool I'm afraid.

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: 2012-05-17 13:04:41 -0500

Seen: 27 times

Last updated: May 20 '12