Since 2023.2, we deprecated some settings in the [neutron] section
('endpoint', 'endpoint_type' and 'ca_certificates_file'), they are
respectively replaced by 'endpoint_override', 'valid_interfaces' and
'cafile'. There's some code in Octavia that automatically sets the new
settings if the user still has the old settings (it is required because
keystoneauth uses the CONF objects to establish the sessions).
But some corner cases were not correctly addressed in that patch.
Now Octavia ensures that the override of the parameters is correctly
handled.
Conflicts: octavia/common/config.py
Change-Id: Ic37e9f699e32431ae1735ddc9642689967ddc696
Closes-Bug: 2051604
(cherry picked from commit 7bb6096eccc7966bd963a0529dc7b352246dfdbb)
Reviewed: https:/ /review. opendev. org/c/openstack /octavia/ +/917673 /opendev. org/openstack/ octavia/ commit/ a9a3c64eeb277a9 c980ff5b84d0eba 41eb40b622
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit a9a3c64eeb277a9 c980ff5b84d0eba 41eb40b622
Author: Gregory Thiemonge <email address hidden>
Date: Thu Feb 1 14:23:01 2024 +0100
Fix neutron setting overrides
Since 2023.2, we deprecated some settings in the [neutron] section s_file' ), they are override' , 'valid_interfaces' and
('endpoint', 'endpoint_type' and 'ca_certificate
respectively replaced by 'endpoint_
'cafile'. There's some code in Octavia that automatically sets the new
settings if the user still has the old settings (it is required because
keystoneauth uses the CONF objects to establish the sessions).
But some corner cases were not correctly addressed in that patch.
Now Octavia ensures that the override of the parameters is correctly
handled.
Conflicts:
octavia/ common/ config. py
Change-Id: Ic37e9f699e3243 1ae1735ddc96426 89967ddc696 bd963a0529dc7b3 52246dfdbb)
Closes-Bug: 2051604
(cherry picked from commit 7bb6096eccc7966