gnocchi unable to connect to wsgi

asked 2018-01-25 15:25:33 -0500

br gravatar image

Hello All,

I am facing below error in gnocchi.

when reading response headers from daemon process 'gnocchi-api': /usr/lib/python2.7/dist-packages/gnocchi/rest/app.wsgi 2018-01-25 13:17:38.777808 2018-01-25 13:17:38.777 40040 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://ubuntu16:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://ubuntu16:35357: HTTPConnectionPool(host='ubuntu16', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.httpconnection 0x7f4ebed74d90="" at="" object="">: Failed to establish a new connection: [Errno 110] Connection timed out',)) 2018-01-25 13:17:38.777808 2018-01-25 13:17:38.777 40041 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://ubuntu16:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://ubuntu16:35357: HTTPConnectionPool(host='ubuntu16', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.httpconnection 0x7f4ebadb1dd0="" at="" object="">: Failed to establish a new connection: [Errno 110] Connection timed out',)) 2018-01-25 13:17:38.777989 mod_wsgi (pid=40040): Exception occurred processing WSGI script '/usr/lib/python2.7/dist-packages/gnocchi/rest/app.wsgi'. 2018-01-25 13:17:38.778009 mod_wsgi (pid=40041): Exception occurred processing WSGI script '/usr/lib/python2.7/dist-packages/gnocchi/rest/app.wsgi'. 2018-01-25 13:17:38.778322 Traceback (most recent call last): 2018-01-25 13:17:38.778379 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 131, in __call__ 2018-01-25 13:17:38.779376 Traceback (most recent call last): 2018-01-25 13:17:38.779427 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 131, in __call__ 2018-01-25 13:17:38.779475 resp = self.call_func(req, </urllib3.connection.httpconnection></urllib3.connection.httpconnection>args, *self.kwargs) 2018-01-25 13:17:38.779495 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 196, in call_func 2018-01-25 13:17:38.779519 resp = self.call_func(req, args, *self.kwargs) 2018-01-25 13:17:38.779539 File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 196, in call_func 2018-01-25 13:17:38.779559 return self.func(req, args, *kwargs) 2018-01-25 13:17:38.779576 File "/usr/lib/python2.7/dist-packages/oslo_middleware/base.py", line 131, in __call__ 2018-01-25 13:17:38.779580 return self.func(req, args, *kwargs) 2018-01-25 13:17:38.779596 File "/usr/lib/python2.7/dist-packages/oslo_middleware/base.py", line 131, in __call__ 2018-01-25 13:17:38.779609 response = req.get_response(self.application) 2018-01-25 13:17:38.779616 response = req.get_response(self.application) 2018-01-25 13:17:38.779630 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1316, in send 2018-01-25 13:17:38.779634 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1316, in send 2018-01-25 13:17:38.779647 application, catch_exc_info=False) 2018-01-25 13:17:38.779659 File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1280, in call_application 2018-01-25 13:17:38.779668 application, catch_exc_info=False) 2018-01-25 13:17:38.779675 app_iter = application(self.environ, start_response) 2018-01-25 13:17:38.779689 File ... (more)

edit retag flag offensive close merge delete

Comments

Looks like Gnocchi can’t access Keystone at http://ubuntu16:35357. Is that URL correct, and is Keystone listening at this address/port?

Bernd Bausch gravatar imageBernd Bausch ( 2018-01-25 21:30:50 -0500 )edit