ovn-octavia-provider/releasenotes/notes/adjust-and-deprecate-neutron-config-options-50edf01318758917.yaml
Gregory Thiemonge 220d8c8581 Replace python-neutronclient with openstacksdk
python-neutronclient has been deprecated and Octavia has already removed
it in the dependend change below. These are the respective changes on
ovn-octavia-provider side and they are in line with changes in Octavia
itself:

- Replaced code that uses the deprecated `python-neutronclient` library
  with code that uses `openstacksdk` and removed `python-neutronclient`
  as a dependency.
- Marked certain configuration options that were related to Keystone
  authentication as deprecated for removal. In future releases
  authentication options options need to be added to the [neutron]
  section of the configuration.

Note: After [1] some calls to neutron test_db_base_plugin_v2 had added
a new param 'as_admin' that need to be included in the calls from
ovn-provider functional tests. Squashed with patch [2] to solve
cross dependency.

[1] https://review.opendev.org/c/openstack/neutron/+/879827
[2] https://review.opendev.org/c/openstack/ovn-octavia-provider/+/882715

Depends-On: https://review.opendev.org/c/openstack/octavia/+/866327
Change-Id: I985b24e4a6db962b1e73eeae69a8c96f4b0760ae
2023-05-10 08:59:10 +02:00

27 lines
1.1 KiB
YAML

---
upgrade:
- |
Authentication settings for Neutron should be added
directly to the [neutron] section of the configuration now. The exact
settings depend on the `auth_type` used. Refer to
https://docs.openstack.org/keystoneauth/latest/plugin-options.html
for a list of possible options.
deprecations:
- |
As part of the effort to replace the deprecated
`python-neutronclient` package in Octavia the following options in the
[neutron] section of the Octavia configuration
file have been marked as deprecated for removal:
`endpoint` is replaced by the `endpoint_override` option,
`endpoint_type` is replaced by the `valid_interfaces` option,
and `ca_certificates_file` is replaced by the `cafile` option.
In a future release `ovn-octavia-provider` will no
longer take the authentication
settings from the [service_auth] section as a fallback. It will
require them to be in the [neutron] section.
other:
- |
Replaced code that uses the deprecated `python-neutronclient` library with
code that uses `openstacksdk` and removed `python-neutronclient` as a
dependency.