Ask Your Question
0

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 '192.168.1.67' ([Errno 113] EHOSTUNREACH)") (Background on this error at http://sqlalche.me/e/e3q8)

edit retag flag offensive close merge delete

Comments

1

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
1

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 192.168.1.67 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/reflection.py", line 54, in cache ret = fn(self, con, args, *kw) File "/usr/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py", 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/base.py", 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

1 answer

Sort by ยป oldest newest most voted
0

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

Comments

okay, you have reinstalled rabbitmq and reconfigured rabbitmq credentials

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

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: 2018-11-21 07:35:16 -0600

Seen: 61 times

Last updated: Nov 22