ironic/releasenotes/notes/deprecated-inspector-opts-b19a08339712cfd7.yaml
Pavlo Shchelokovskyy 303ac3f835 Use adapters for inspectorclient
Inspector-client is a bit lacking behind other clients, as it does not
have Adapter-based SessionClient and thus does not support all
adapter-related options.
That's why we construct a session and an adapter from config section,
use adapter to resolve inspector API from service catalog
(or return the fixed endpoint_override one)
and then pass the session and inspector API endpoint to client.

This patch also deprecates `[inspector]service_url` in favor of
`[inspector]endpoint_override`.

As a side-effect, addressig inspector service now supports both regions
and interfaces to specify entry in service catalog.

Also, inspectorclient calls are now being made with the user token
(wrapped with a service token) when there is a token in the task's
request context.

Change-Id: I21836e712fa9764468ac2654525554b5b4f03741
Partial-Bug: #1699547
2017-11-21 09:33:08 +02:00

18 lines
823 B
YAML

---
deprecations:
- |
Configuration option ``[inspector]/service_url`` is deprecated
and will be ignored in the Rocky release.
Instead, use ``[inspector]/endpoint_override`` configuration option to set
specific ironic-inspector api address when automatic discovery of
inspector API endpoint from keystone catalog is not desired.
This new option has no default value (``None``) and must be set explicitly.
- |
Relying on the value of ``[DEFAULT]/auth_strategy`` configuration option to
configure usage of standalone mode for inspector client is deprecated and
will be impossible the the Rocky release.
Instead, set ``[inspector]/auth_type`` configuration option to ``none`` and
provide the inspector API address as ``[inspector]/endpoint_override``
configuration option.