Merge "Deprecate the Ceph NFSProtocolHelper"

This commit is contained in:
Zuul 2024-03-13 22:27:17 +00:00 committed by Gerrit Code Review
commit 6c04a9621f
2 changed files with 9 additions and 0 deletions

View File

@ -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'):

View File

@ -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.