diff --git a/doc/source/admin/generic_driver.rst b/doc/source/admin/generic_driver.rst index aabdac97c1..8d24d83f90 100644 --- a/doc/source/admin/generic_driver.rst +++ b/doc/source/admin/generic_driver.rst @@ -259,6 +259,9 @@ Windows SMB driver when Windows VMs are preferred. For more details, please check out the following page: :ref:`windows_smb_driver`. +.. note:: + This driver has been deprecated in 18.0.0 release. + The :mod:`manila.share.drivers.generic` Module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/manila/share/drivers/windows/windows_smb_driver.py b/manila/share/drivers/windows/windows_smb_driver.py index 3dd32a505f..908470c277 100644 --- a/manila/share/drivers/windows/windows_smb_driver.py +++ b/manila/share/drivers/windows/windows_smb_driver.py @@ -35,6 +35,8 @@ class WindowsSMBDriver(generic.GenericShareDriver): def __init__(self, *args, **kwargs): super(WindowsSMBDriver, self).__init__(*args, **kwargs) + LOG.warning('Windows SMB share driver has been deprecated and is ' + 'expected to be removed in a future release.') self._remote_execute = winrm_helper.WinRMHelper( configuration=self.configuration).execute diff --git a/releasenotes/notes/deprecate-windows-smb-654983cf22856e31.yaml b/releasenotes/notes/deprecate-windows-smb-654983cf22856e31.yaml new file mode 100644 index 0000000000..3a4293fcb5 --- /dev/null +++ b/releasenotes/notes/deprecate-windows-smb-654983cf22856e31.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + The Windows SMB share driver has been deprecated and will be removed in + a future release.