Ask Your Question
0

devstack sets endpoint to localhost:5000/v2.0/

asked 2013-05-06 07:12:20 -0500

anonymous user

Anonymous

Installing devstack with grizzly on ubuntu 12.04 results in this output from the API: {"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://localhost:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}

What has to be changed to fix this?

edit retag flag offensive close merge delete

Comments

Do you want to change that endpoint?

Alen Komljen gravatar imageAlen Komljen ( 2013-05-06 07:28:11 -0500 )edit

@alen: Yes, I'd like to make it work with external tools.

unknown11 gravatar imageunknown11 ( 2013-05-06 08:40:32 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-05-06 12:59:00 -0500

updated 2013-05-06 13:01:35 -0500

Steps to change keystone endpoint:

keystone endpoint-list

And pick id of right one. Then delete it:

keystone endpoint-delete <id>

List services to find id of keystone service:

keystone service-list

Create new endpoint:

keystone endpoint-create                                                      \
         --region <region_name>                                               \
         --service-id <service_id>                                            \
         --publicurl "http://<keystone_host>:5000/v2.0"                       \
         --internalurl "http://<keystone_host>:5000/v2.0"                     \
         --adminurl "http://<keystone_host>:35357/v2.0"

Also you need to change new keystone endpoint in all configuration files used by other OpenStack services.

edit flag offensive delete link more
1

answered 2013-05-07 10:36:30 -0500

armando-migliaccio gravatar image

if you set the variable HOST_IP (in your localrc) to the IP address of your devstack node, you should be able to use your devstack deployment from remote locations:

HOST_IP=#your-ip#

You could also set the following variables like so:

SERVICE_HOST=$HOST_IP
IMAGE_HOST=$HOST_IP
IDENTITY_HOST=$HOST_IP

This will ensure that these services will use the same IP.

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

Stats

Asked: 2013-05-06 07:12:20 -0500

Seen: 1,762 times

Last updated: May 07 '13