nova/nova/tests/unit/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
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
abs.tar.gz move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py conf: Remove deprecated 'null_kernel' opt 2017-10-21 00:23:51 +00:00
rel.tar.gz move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_fake.py Fix invalid import order 2016-07-04 16:03:42 +05:30
test_glance.py Workaround glanceclient bug when CONF.glance.api_servers not set 2018-02-08 09:06:48 -05:00