nova/nova/image
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
..
download Deprecate allowed_direct_url_schemes and nova.image.download.modules 2017-10-06 13:01:55 -04:00
__init__.py Align internal image API with volume and network 2014-05-21 16:30:10 -04:00
api.py remove glance usage inside compute 2017-12-01 00:02:38 +08:00
glance.py Workaround glanceclient bug when CONF.glance.api_servers not set 2018-02-08 09:06:48 -05:00