nova/releasenotes/notes/bug-1747511-glance-api-servers-1e17757b901a76d8.yaml
Matt Riedemann 62ef6cfcf0 Workaround glanceclient bug when CONF.glance.api_servers not set
In certain configurations, like when setting [service_user]
config, and not setting [glance]/api_servers, the KSA adapter
get endpoint code (new in Queens) will return a versioned URL
which glanceclient doesn't handle (due to bug 1707995) so we
need to workaround that by parsing the URL to strip the version
from the endpoint URL we got from KSA.

This is validated in the nova-next CI job which configures a
service user token for glance.

Change-Id: I363182e916480c734cc37f279e8e89c8f3ec653c
Closes-Bug: #1747511
Related-Bug: #1707995
2018-02-08 09:06:48 -05:00

12 lines
384 B
YAML

---
issues:
- |
Due to a bug in python-glanceclient:
https://bugs.launchpad.net/python-glanceclient/+bug/1707995
If ``[glance]/api_servers`` is not set in nova.conf, and there is a
versioned endpoint URL in the service catalog, nova makes a best attempt
at parsing and stripping the version from the URL in order to make
API requests to the image service.