0a8f019be0
Provide a new method: nova.utils.get_ksa_adapter(service_type, ks_auth=None, ks_session=None, min_version=None, max_version=None)) ...to configure a keystoneauth1 Adapter for a service. The Adapter, and its component keystoneauth1 artifacts not passed into the method, are loaded based on options in the conf group corresponding to the specified service_type. The ultimate goal is to replace the various disparate mechanisms used by different services to do endpoint URL and version discovery. In Queens, the original mechanisms will still take precedence, but (other than [glance]api_servers - see the spec) will be deprecated. In Rocky, the deprecated options will be removed. This change incorporates the above utility into endpoint discovery for glance and ironic. Future change sets will do the same for other services (cinder, neutron, placement). Change-Id: If625411f40be0ba642baeb02950f568f43673655 Partial-Implements: bp use-ksa-adapter-for-endpoints Closes-Bug: #1707860
12 lines
442 B
YAML
12 lines
442 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
Nova now uses keystoneauth1 configuration to set up communication with the
|
|
baremetal service. Use keystoneauth1 loading parameters for auth, Session,
|
|
and Adapter setup in the ``[ironic]`` conf section. This includes using
|
|
``endpoint_override`` in favor of ``api_endpoint``.
|
|
deprecations:
|
|
- |
|
|
Configuration option ``[ironic]api_endpoint`` is deprecated in favor of
|
|
``[ironic]endpoint_override``.
|