From 6df75ca6962504741caee747b3237bfdbaa03611 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Fri, 27 Jan 2023 12:04:05 +0100 Subject: [PATCH] Deprecate allow_stateless_action_supported config option This config option will not be needed anymore in 2023.2 (Bobcat) release of Neutron as we will not support then Ubuntu 20.04 so we will be able to bump minimal required OVN version to be >= 21.06. Related-Bug: #2003999 Change-Id: I6933019406dfee67b279a413310a7a19f485d372 --- neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py | 2 ++ ...disable-stateless-security-groups-2cd5d9d2b21ab168.yaml | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml diff --git a/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py b/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py index 40f4e0315cb..0b0be8f56ae 100644 --- a/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py +++ b/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py @@ -215,6 +215,8 @@ ovn_opts = [ 'baremetal nodes. Defaults to False.')), cfg.BoolOpt('allow_stateless_action_supported', default=True, + deprecated_for_removal=True, + deprecated_since="2023.1", help=_('If OVN older than 21.06 is used together with ' 'Neutron, this option should be set to ``False`` in ' 'order to disable ``stateful-security-group`` API ' diff --git a/releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml b/releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml new file mode 100644 index 00000000000..b1379eeec1c --- /dev/null +++ b/releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + Config option ``allow_stateless_action_supported`` is deprecated to + removal and will be removed in ``2023.2 (Bobcat)`` release. + This option will not be needed anymore as Neutron will not be supported to + be run with OVN < 21.06.