When check_api is used it can't find endpoint

Solution Verified - Updated -


  • Checking the file /var/log/glance/glance_api.log shows a Traceback:
++ /usr/libexec/openstack-monitoring/checks/oschecks-check_glance_api --os-auth-url --os-username admin --os-password 51dae95b13a96532c11d4e73e05994d3dd1de792 --os-region-name regionOne --os-tenant-name admin
CRITICAL: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/oschecks/utils.py", line 110, in safe_run
  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 539, in _get_versioned_client
    return glanceclient.Client(api_version, endpoint, **kwargs)
  File "/usr/lib/python2.7/site-packages/glanceclient/client.py", line 51, 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


  • Red Hat OpenStack Platform 8 (Liberty)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content