keystone configuring problem [closed]

asked 2013-10-31 03:33:53 -0600

oyc gravatar image

updated 2013-10-31 03:41:30 -0600

I'm installing openstack havana on Ubuntu 12.04 LTS

and I got an err message from openstack

root@controller:~# export OS_SERVICE_ENDPOINT=http://x.x.x.x
root@controller:~# keystone tenant-create --name=admin --description="Admin Tenant"

Unable to communicate with identity service: <title>404 Not Found</title>

Not Found

The requested URL /tenants was not found on this server.

Apache/2.2.22 (Ubuntu) Server at x.x.x.x Port 80
. (HTTP 404)

What's the matter? I only install it only one machine and no virtual machine, and x.x.x.x is controller machine's static ip.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-23 10:36:04.170457

3 answers

Sort by ยป oldest newest most voted

answered 2013-10-31 12:11:09 -0600

dheeru gravatar image

I presume you are working with havana. Did you follow the instruction set in the following link ?

  1. Try telnet HOSTIP 35357. This should prove that your keystone is working
  2. Set the OS_SERVICE_ENDPOINT = http://<hostip>:portNo. You are missing the port number in your configuration. Since you are missing the port number, it is trying to connect port 80 which is default for any HTTP connection. I strongly suspect this issue.</hostip>
  3. If it is not havana release you can set the SERIVCE_TOKEN and SERVICE_ENDPOINT variables. Please note there is no OS prepended. This is less likely case.
edit flag offensive delete link more

answered 2013-10-31 05:50:12 -0600

updated 2013-10-31 05:51:11 -0600

export OS_SERVICE_ENDPOINT=http://x.x.x.x looks incorrect. Please try this:


export OS_SERVICE_ENDPOINT="http://${HOST_IP}:35357/v2.0"

Take a look here

edit flag offensive delete link more

answered 2013-11-13 23:44:46 -0600

oyc gravatar image

Thank you for all of you...

I just configured /etc/keystone/keystone.conf file incorrectly. admin_token was wrong. hahaha..

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-31 03:33:53 -0600

Seen: 1,053 times

Last updated: Nov 13 '13