Ask Your Question

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

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

anonymous user


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": "", "type": "text/html", "rel": "describedby"}, {"href": "", "type": "application/pdf", "rel": "describedby"}]}}

What has to be changed to fix this?

edit retag flag offensive close merge delete


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

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

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:


You could also set the following variables like so:


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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


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

Seen: 1,881 times

Last updated: May 07 '13