Ask Your Question
0

keystone unable to establish connection to http://locahost:127.0.0.1:35357/v2.0/users

asked 2013-11-21 20:12:17 -0500

944977890-s gravatar image

hi! i am installing openstack following official guide for ubuntu12.04 step by step untill the keystone installation

after i execute: apt-get install keystone #edit connection = mysql://keystone:KEYSTONE_DBPASS@controller/keystone mysql -u root -p mysql> CREATE DATABASE keystone; mysql> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \ IDENTIFIED BY 'KEYSTONE_DBPASS'; mysql> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \ IDENTIFIED BY 'KEYSTONE_DBPASS'; ... when i execute the following:

root@controller :~#export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0 root@controller :~#keystone user-list root@controller :~#unable to establish connection to http://controller:35357/v2.0

then i changed the address to http://localhost:35357/v2.0 same error occured

maybe i could figure it out by reinstall openstack but i really want to learn how to solve this problem so appreciate your help!

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2013-11-26 17:18:25 -0500

Hi Sim Galler,

Sorry to say but there could be multiple reasons for the mentioned generic error.

  1. (Most likely) There might be problem with backend database, try to debug sql (resetting the password and all )
  2. apt-get install python-mysqldb (or) apt-get reinstall python-mysqldb. Simply run one of the above command.
  3. Try uninstalling and installing keystone error
  4. Check your proxy server settings so that you do have have any problem with internet(http_proxy,https_proxy,no_proxy)
  5. The reason which I may not be aware of :)

Anyway request you to provide additional information like running the same command with --debug option

edit flag offensive delete link more
0

answered 2013-12-03 06:06:14 -0500

you can identify by doing following operation.

  1. Run whether keystone service running or not
    1. Check netstat -ntpl | grep python

Usually if service is not running then you could face this issue. While restarting the keystone service, you will get the error in python module and what causing this issue.

edit flag offensive delete link more
0

answered 2013-12-03 07:37:46 -0500

944977890-s gravatar image

thank you!

I think that's exactly the reason. Actually not once have I started the keystone successfully.

I have install an another ubuntu of vm and figured it out.

thanks for your concern !

edit flag offensive delete link more
0

answered 2013-12-03 07:44:14 -0500

944977890-s gravatar image

@Shree Duth Awasthi Thanks for your solution. I think the third one could help me figure it out. but i've tried to uninstalling keystone.which seems hard to get rid of the old one . so i gave up and installed an another vm to install a keystone . then i start keystone successfully .though it's not a perfect end

edit flag offensive delete link more
0

answered 2014-07-30 12:37:59 -0500

Hi! I have same question but none of answers above could help me! When I run this command wget http://10.0.1.21:35357 I get this error: Connecting to http:10.0.1.21:35357 failed:connection refused Please help me:-( This project is my university project and I have to do it:-(

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: 2013-11-21 20:12:17 -0500

Seen: 8,955 times

Last updated: Dec 03 '13