Getting Critical Traceback on cinder_api check when the check fails. Should be an appropriate error message. ------- CINDER_API ---------- CRITICAL: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/oschecks/utils.py", line 110, in safe_run method() File "/usr/lib/python2.7/site-packages/oschecks/cinder.py", line 44, in _check_cinder_api elapsed, quotas = utils.timeit(quotas_list) File "/usr/lib/python2.7/site-packages/oschecks/utils.py", line 97, in wrapper res = func(*arg, **kw) File "/usr/lib/python2.7/site-packages/oschecks/utils.py", line 105, in timeit return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/oschecks/cinder.py", line 42, in quotas_list return client.quotas.get(options.os_tenant_name) File "/usr/lib/python2.7/site-packages/cinderclient/v1/quotas.py", line 39, in get "quota_set") File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line 308, in _get resp, body = self.api.client.get(url) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 393, in get return self._cs_request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 342, in _cs_request self.authenticate() File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 506, in authenticate auth_url = self._v2_auth(auth_url) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 576, in _v2_auth self._authenticate(url, body) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 587, in _authenticate allow_redirects=True) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 320, in request **kwargs) File "/usr/lib/python2.7/site-packages/requests/api.py", line 57, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 585, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 467, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='10.35.169.17', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x1ce7490>: Failed to establish a new connection: [Errno 113] No route to host',))
osops-tools-monitoring-oschecks-0.1-0.7.9f8354bgit.el7ost
Fixed. tested with osops-tools-monitoring-oschecks-0.1-0.8.9f8354bgit.el7ost.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2950.html