From c690fe7cbd0d307d92689f4fae03423aa7a91157 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 27 Nov 2023 11:32:33 +0900 Subject: [PATCH] Deprecate Windows OS support Unfortunately the Winstackers project has been retired because of no maintainers[1][2], and OpenStack on Windows host is no longer maintained. [1] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031044.html [2] https://review.opendev.org/c/openstack/governance/+/886880 Change-Id: Ic9438ac444734c397cbc814cfee82f4f60abfd74 --- cinder/service.py | 2 ++ cinder/volume/drivers/windows/iscsi.py | 2 ++ cinder/volume/drivers/windows/smbfs.py | 2 ++ doc/source/reference/support-matrix.ini | 4 ++-- ...cate-windows-support-4667f38d71fa8ad6.yaml | 21 +++++++++++++++++++ 5 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/deprecate-windows-support-4667f38d71fa8ad6.yaml diff --git a/cinder/service.py b/cinder/service.py index a45d48f679b..35e771bb67f 100644 --- a/cinder/service.py +++ b/cinder/service.py @@ -666,6 +666,8 @@ class WindowsProcessLauncher(object): self._signal_handler = service.SignalHandler() self._add_signal_handlers() + LOG.warning("Support for Windows operating systems is deprecated.") + def add_process(self, cmd): LOG.info("Starting subprocess: %s", cmd) diff --git a/cinder/volume/drivers/windows/iscsi.py b/cinder/volume/drivers/windows/iscsi.py index 9ca2b360889..030ffa5ba18 100644 --- a/cinder/volume/drivers/windows/iscsi.py +++ b/cinder/volume/drivers/windows/iscsi.py @@ -58,6 +58,8 @@ class WindowsISCSIDriver(driver.ISCSIDriver): # ThirdPartySystems wiki page CI_WIKI_NAME = "Microsoft_iSCSI_CI" + SUPPORTED = False + def __init__(self, *args, **kwargs): super(WindowsISCSIDriver, self).__init__(*args, **kwargs) self.configuration = kwargs.get('configuration', None) diff --git a/cinder/volume/drivers/windows/smbfs.py b/cinder/volume/drivers/windows/smbfs.py index 3ee552813b2..b168ce3aa06 100644 --- a/cinder/volume/drivers/windows/smbfs.py +++ b/cinder/volume/drivers/windows/smbfs.py @@ -89,6 +89,8 @@ class WindowsSmbfsDriver(remotefs_drv.RevertToSnapshotMixin, # ThirdPartySystems wiki page CI_WIKI_NAME = "Cloudbase_Cinder_SMB3_CI" + SUPPORTED = False + _MINIMUM_QEMU_IMG_VERSION = '1.6' _SUPPORTED_IMAGE_FORMATS = [_DISK_FORMAT_VHD, diff --git a/doc/source/reference/support-matrix.ini b/doc/source/reference/support-matrix.ini index 4cf4cf65524..1072da22891 100644 --- a/doc/source/reference/support-matrix.ini +++ b/doc/source/reference/support-matrix.ini @@ -313,8 +313,8 @@ driver.vrtsaccess=missing driver.vrtscnfs=missing driver.vzstorage=missing driver.vmware=complete -driver.win_iscsi=complete -driver.win_smb=complete +driver.win_iscsi=missing +driver.win_smb=missing driver.yadro=complete driver.zadara=complete diff --git a/releasenotes/notes/deprecate-windows-support-4667f38d71fa8ad6.yaml b/releasenotes/notes/deprecate-windows-support-4667f38d71fa8ad6.yaml new file mode 100644 index 00000000000..cca38c7647a --- /dev/null +++ b/releasenotes/notes/deprecate-windows-support-4667f38d71fa8ad6.yaml @@ -0,0 +1,21 @@ +--- +upgrade: + - | + The following drivers have been marked as unsupported and are now + deprecated. ``enable_unsupported_driver`` will need to be set to ``True`` + in the driver's section in cinder.conf to continue to use these drivers. + + - ``Windows iSCSI Driver`` + - ``Windows SMB Driver`` + +deprecations: + - | + Support for running Cinder in Windows operating systems has been deprecated + because of retirement of the Winstackers project. + + - | + The following drivers have been marked as unsupported and are now + deprecated. + + - ``Windows iSCSI Driver`` + - ``Windows SMB Driver``