ironic/ironic/common/glance_service
Pavlo Shchelokovskyy 63e0ff2f6c Rework keystone auth for glance
this patch changes the way glance client is instantiated, using
keystoneauth sessions and adapters.

In order to support glance API endpoint discovery from keystone catalog
and more unified way of client loading,
many options in `[glance]` config sections are deprecated,
mostly those that specified a (set of) glance API endpoint(s)
or parts of glance API address.
Instead, a single option `[glance]endpoint_override` must be used when
required to access a specific (possibly load-balanced)
glance API endpoint without discovering it from keystone catalog.

Another set of deprecated options are those that are duplicating
keystoneauth session options in [glance] section.

Also, intrinsic support for parsing the glance API URL from image ref
set to the full glance REST path to the image is removed as it was not
working any way since an 'http(s)://' image ref is not treated
as a glance image.

Change-Id: I6a93b71ac097e951dfc93fd1ee4d7ef483514f2c
Partial-Bug: #1699547
Closes-Bug: #1699542
2017-11-17 11:40:14 -05:00
..
v1 Remove unused methods from GlanceImageService 2017-05-31 16:47:11 +00:00
v2 Update the documentation links - code comments 2017-08-15 09:48:13 +03:00
__init__.py Move glance image service client from nova and cinder into ironic 2013-08-12 22:34:41 +02:00
base_image_service.py Rework keystone auth for glance 2017-11-17 11:40:14 -05:00
service.py Remove unused methods from GlanceImageService 2017-05-31 16:47:11 +00:00
service_utils.py Rework keystone auth for glance 2017-11-17 11:40:14 -05:00