nova/releasenotes/notes/placement-via-ksa-02d87c87636912f8.yaml
Eric Fried 987d451f4d Use ksa adapter for placement conf & requests
Switch usage of the placement API over to using the new
nova.utils.get_ksa_adapter method.  Now REST calls with the placement
API go through the resulting keystoneauth1 Adapter - which already
incorporates endpoint filtering - rather than a keystoneauth1 Session.

To make this fit, switch the placement conf over to using
nova.conf.utils.register_ksa_opts and get_ksa_adapter_opts.  In so
doing, deprecate os_interface and os_region_name in favor of the
imported Adapter opts valid_interfaces and region_name, respectively.

Change-Id: I69e9b30d96390a70198b12d74e7efa9bd61db217
Partial-Implements: bp use-ksa-adapter-for-endpoints
2017-10-28 01:52:21 +00:00

17 lines
682 B
YAML

---
upgrade:
- |
Nova now uses keystoneauth1 configuration to set up communication with the
placement service. Use keystoneauth1 loading parameters for auth, Session,
and Adapter setup in the ``[placement]`` conf section. Note that, by
default, the 'internal' interface will be tried first, followed by the
'public' interface. Use the conf option ``[placement].valid_interfaces``
to override this behavior.
deprecations:
- |
Configuration options in the ``[placement]`` section are deprecated as
follows:
* ``os_region_name`` is deprecated in favor of ``region_name``
* ``os_interface`` is deprecated in favor of ``valid_interfaces``