Getting Critical Traceback on glance_api check when the check fails. Should be an appropriate error message. ---- GLANCE_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/glance.py", line 30, in _check_glance_api options, args, client = glance.setup() File "/usr/lib/python2.7/site-packages/oschecks/utils.py", line 169, in setup client = self.glance._get_versioned_client(api_version, options) File "/usr/lib/python2.7/site-packages/glanceclient/shell.py", line 447, in _get_versioned_client region_name=args.os_region_name) File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 679, in get_endpoint return auth.get_endpoint(self, **kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 329, in get_endpoint service_catalog = self.get_access(session).service_catalog File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 254, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 89, in get_auth_ref authenticated=False, log=False) File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 519, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner return wrapped(*args, **kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 404, in request resp = send(**kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 448, in _send_request raise exceptions.ConnectionRefused(msg) ConnectFailure: Unable to establish connection to http://10.35.169.17:5000/v2.0/tokens
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