Endpoints created by sample_data.sh are pointing to localhost.

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

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

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

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

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

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

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-05-17 13:04:41 -0600

Seen: 54 times

Last updated: May 20 '12