From 39d252da7cf506bd98d3f48d4ea4b23d88642e60 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Thu, 20 Apr 2023 16:33:59 +0200 Subject: [PATCH] Deprecated support for Windows OS As was discussed in Neutron team meeting [1], we are going to deprecated support for running Neutron on Windows OS in 2023.2 cycle and remove it in 2024.2. This decision was made due to the fact that the only company who was behind Winstackers project and was maintaining this Windows support in Neutron is no longer interested in maintaining it [2]. Closes-Bug: #2015844 [1] https://meetings.opendev.org/meetings/networking/2023/networking.2023-04-18-14.01.log.html#l-66 [2] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031044.html Change-Id: I687204d83c6b2e404785bcdec42e80f2b0e8ac2b --- neutron/agent/common/ip_lib.py | 9 +++++++++ ...eprecate-support-for-Windows-OS-80e32ef7e5e05b44.yaml | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 releasenotes/notes/Deprecate-support-for-Windows-OS-80e32ef7e5e05b44.yaml diff --git a/neutron/agent/common/ip_lib.py b/neutron/agent/common/ip_lib.py index 8aaa58288e8..df9ca9fd946 100644 --- a/neutron/agent/common/ip_lib.py +++ b/neutron/agent/common/ip_lib.py @@ -15,6 +15,9 @@ import os +from oslo_log import log as logging + + if os.name == 'nt': from neutron.agent.windows import ip_lib from neutron.conf.agent import windows @@ -25,6 +28,12 @@ else: OPTS = linux.IP_LIB_OPTS_LINUX +if os.name == 'nt': + LOG = logging.getLogger(__name__) + LOG.warning("Support for Neutron on Windows operating systems " + "is deprecated since 2023.2 release and will be removed in " + "2024.2 OpenStack release.") + IPWrapper = ip_lib.IPWrapper IPDevice = ip_lib.IPDevice diff --git a/releasenotes/notes/Deprecate-support-for-Windows-OS-80e32ef7e5e05b44.yaml b/releasenotes/notes/Deprecate-support-for-Windows-OS-80e32ef7e5e05b44.yaml new file mode 100644 index 00000000000..d5a627e8fec --- /dev/null +++ b/releasenotes/notes/Deprecate-support-for-Windows-OS-80e32ef7e5e05b44.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Support for Neutron on Windows operating systems is deprecated since 2023.2 + release and will be removed in 2024.2.