Failed to discover available identity version when contacting http://192.168.x.x:5000/v3. Attempting to parse version from URL.

asked 2018-11-21 07:35:16 -0600

najeh gravatar image
  • I deleted all nova databases and after the creation of these databases whe trying commands to create user and endpoints i recieve this error

Failed to discover available identity version when contacting http://192.168.x.x:5000/v3. Attempting to parse version from URL. Unable to establish connection to http://192.168.x.x:5000/v3/auth/tokens: HTTPConnectionPool(host='192.168.x.x' port=5000): Max retries exceede with url: /v3/auth/tokens (caused by NewConnectionError('<urllib3.connection.httpconnection 0x7f1500ed16d0="" at="" object="">: Failed to establish a new connection: [Errno 101] Network is unreachable',))</urllib3.connection.httpconnection>

  • the /var/log/nova/nova-api.log file display:

ERROR oslo service.service DBConnectionError: (pymysql.err.OperationalError) (2003, "can't connect to MYSQL server on '' ([Errno 113] EHOSTUNREACH)") (Background on this error at

edit retag flag offensive close merge delete



check rabbit-mq is running or not,check your binding ip in mysql configuration file,check endpoints table in keystone database,check connection's value in database section in keystone and nova's config file,if your making anychange,sync databases

Eranachandran gravatar imageEranachandran ( 2018-11-21 08:22:20 -0600 )edit

Your network setup seems to have issues. Find out why 192.168.x.x is unreachable. Is this address correct in the first place?

Also find out if is correct and reachable, and the MySQL port is open on that server.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-21 16:38:41 -0600 )edit

The error is corrected, but when i tried this command " openstack compute service list" nothing is listed for me the process still searching for result and the command "nova-status upgrade check " display these errors

najeh gravatar imagenajeh ( 2018-11-22 07:43:54 -0600 )edit

File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/", line 54, in cache ret = fn(self, con, args, *kw) File "/usr/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/", line 2172, in _setup_parser full_name=full_name)

najeh gravatar imagenajeh ( 2018-11-22 07:45:50 -0600 )edit

File "/usr/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/", line 2267, in _show_create_table raise exc.NoSuchTableError(full_name) NoSuchTableError: compute_nodes

najeh gravatar imagenajeh ( 2018-11-22 07:46:05 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2019-08-24 06:05:44 -0600

mojtaba_vj gravatar image

I have done this problem. I replaced "" instead of "controller:5000". and now I can see field and value column.

edit flag offensive delete link more

answered 2018-11-22 08:30:45 -0600

najeh gravatar image

updated 2018-11-22 08:31:31 -0600

I corrected the problem by uninstalling rabbitmq-server

apt remove rabbitmq-server

apt purge rabbitmq-server

apt install rabbitmq-server

edit flag offensive delete link more


okay, you have reinstalled rabbitmq and reconfigured rabbitmq credentials

Eranachandran gravatar imageEranachandran ( 2018-11-22 09:59:40 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-21 07:35:16 -0600

Seen: 5,006 times

Last updated: Aug 24 '19