Ask Your Question
0

NewConnectionError when trying to create domains, services, users, and projects in Stein on Ubuntu 18.04 [closed]

asked 2019-06-03 12:22:47 -0500

cunuck32 gravatar image

Hello,

My coworker and I are currently working on installing the services for an Openstack stein machine. On our controller node, we believe we have the correct network configuration, as we are able to ping our router, compute node, and the Internet. However, while installing Keystone whenever we try to input commands such as:

openstack project create --domain default \

--description "Demo Project" myproject

We get an error message:

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

We are using the Stein documentation for reference

https://docs.openstack.org/install-guide/index.html (https://docs.openstack.org/install-gu...)

https://docs.openstack.org/keystone/stein/install/index-ubuntu.html (https://docs.openstack.org/keystone/s...)

If there is any important information I left out, please let me know. We are both very new to openstack and have been learning as we go along. Thanks in advance for any answers.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by cunuck32
close date 2019-06-04 08:03:27.844575

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-06-03 17:02:37 -0500

The usual Keystone port is 5000, not 3306. 3306 is the port for Mysql or MariaDB. You seem to have mixed up the ports in the configuration files or the shell environment.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2019-06-03 12:22:47 -0500

Seen: 24 times

Last updated: Jun 03