Description of problem: When you call oschecks-check_glance_api, it doesn't works. Version-Release number of selected component (if applicable): osops-tools-monitoring-oschecks-0.1-0.5.a9d3fdagit.el7ost.noarch python-glanceclient-1.1.1-1.el7ost.noarch How reproducible: Steps to Reproduce: 1. yum install osops-tools-monitoring-oschecks-0.1-0.5.a9d3fdagit.el7ost.noarch 2. source stackrc 3. /usr/libexec/openstack-monitoring/checks/oschecks-check_glance_api Actual results: 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 171, in setup client = self.glance._get_versioned_client(api_version, options) File "/usr/lib/python2.7/site-packages/glanceclient/shell.py", line 542, in _get_versioned_client return glanceclient.Client(api_version, endpoint, **kwargs) File "/usr/lib/python2.7/site-packages/glanceclient/client.py", line 50, in Client endpoint, url_version = utils.strip_version(endpoint) File "/usr/lib/python2.7/site-packages/glanceclient/common/utils.py", line 401, in strip_version raise ValueError("Expected endpoint") ValueError: Expected endpoint Expected results: OK: Get images, Glance API is working: list 5 images in 0 seconds.|response_time=0 Additional info:
Created attachment 1191494 [details] Compatibility patch OSP-8 compatibility patch - makes oschecks-check_glance* checks work with: - python-glanceclient-1.1.1-1.el7ost - python-keystoneclient-1.7.2-1.el7ost
Hi Cyril, I've attached patch to this BZ and also built new version of oschecks, which contains the patch: osops-tools-monitoring-oschecks-0.1-0.6.a9d3fdagit.el7_2ost
Hi martin, when the new rpm package will be release?
glance_api is working. tested with osops-tools-monitoring-oschecks-0.1-0.6.3986ef2git.el7ost.noarch
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/RHBA-2017-0208.html