diff --git a/manila/share/drivers/cephfs/driver.py b/manila/share/drivers/cephfs/driver.py index 6117a7e27c..5964f600ba 100644 --- a/manila/share/drivers/cephfs/driver.py +++ b/manila/share/drivers/cephfs/driver.py @@ -1140,6 +1140,10 @@ class NFSProtocolHelper(NFSProtocolHelperMixin, ganesha.GaneshaNASHelper2): super(NFSProtocolHelper, self).__init__(execute, config_object, **kwargs) + LOG.warning('The NFSProtocolHelper has been deprecated. Starting ' + 'from the 2025.1 release, we will no longer support ' + 'exporting NFS shares through a NFS Ganesha instance ' + 'that not managed by the Ceph orchestrator.') if not hasattr(self, 'rados_client'): self.rados_client = kwargs.pop('rados_client') if not hasattr(self, 'volname'): diff --git a/releasenotes/notes/deprecate-ceph-nfs-protocol-helper-ba5ec5095d9eaca7.yaml b/releasenotes/notes/deprecate-ceph-nfs-protocol-helper-ba5ec5095d9eaca7.yaml new file mode 100644 index 0000000000..26c10f21c4 --- /dev/null +++ b/releasenotes/notes/deprecate-ceph-nfs-protocol-helper-ba5ec5095d9eaca7.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Usage of the NFSProtocolHelper with the CephFS driver has been + deprecated and it will be removed in the next skip-level release.