Unable to connect bootstrap-admin-url (http://controller:35357/v3/ )

asked 2020-03-10 02:23:35 -0500

muhaimin aiman gravatar image

updated 2020-03-10 22:05:12 -0500

Hi,

I am using "Ubuntu 18.04.4 LTS". I am trying to install keystone. I had run untill below command :

"keystone-manage bootstrap --bootstrap-password openstack --bootstrap-admin-url http://controller:35357/v3/ --bootstrap-internal-url http://controller:5000/v3/ --bootstrap-public-url http://controller:5000/v3/ --bootstrap-region-id RegionOne"

But then when i try to verify using below command :

"openstack token issue"

It showing me that I am not able to reach http://controller:35357/v3/.

Failed to discover available identity versions when contacting http://controller:35357/v3. Attempting to parse version from URL. Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.httpconnection 0x7f00ae913c90="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',))</urllib3.connection.httpconnection>

It seem i am not able to curl also :

tsadmin@control:~$ curl http://controller:35357/v3 curl: (7) Failed to connect to controller port 35357: Connection refused tsadmin@control:~$

edit retag flag offensive close merge delete

Comments

Most probably the endpoint should be http://controller/identity/v3. Or keystone is simply not running.

Bernd Bausch gravatar imageBernd Bausch ( 2020-03-10 04:45:35 -0500 )edit

How do i check keystone is running or not?

muhaimin aiman gravatar imagemuhaimin aiman ( 2020-03-10 21:06:29 -0500 )edit

You can try the ps command.

Bernd Bausch gravatar imageBernd Bausch ( 2020-03-10 22:41:47 -0500 )edit

root@control:/home/tsadmin# ps -ef | grep keystone root 26699 5944 0 03:45 pts/0 00:00:00 grep --color=auto keystone keystone 30177 30175 0 Mar10 ? 00:00:02 (wsgi:keystone-pu -k start keystone 30179 30175 0 Mar10 ? 00:00:03 (wsgi:keystone-pu -k start

muhaimin aiman gravatar imagemuhaimin aiman ( 2020-03-10 22:46:47 -0500 )edit

Does it meant keystone is running fine?

muhaimin aiman gravatar imagemuhaimin aiman ( 2020-03-10 22:47:08 -0500 )edit