63e0ff2f6c
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
8 lines
305 B
YAML
8 lines
305 B
YAML
---
|
|
other:
|
|
- |
|
|
Support for parsing the glance API endpoint from the full REST path
|
|
to a glance image was removed as it was not working anyway.
|
|
The image service API is now always resolved from keystone catalog or
|
|
via the options in the ``[glance]`` section in ironic configuration file.
|