Fixes: https://tracker.ceph.com/issues/58228
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
conf_obj_name,
available_clusters,
check_fs,
- restart_nfs_service)
+ restart_nfs_service, check_cephfs_path)
if TYPE_CHECKING:
from nfs.module import Module
access_type: str,
clients: list = [],
sectype: Optional[List[str]] = None) -> Dict[str, Any]:
+
+ check_cephfs_path(self.mgr, fs_name, path)
+
pseudo_path = normalize_path(pseudo_path)
if not self._fetch_export(cluster_id, pseudo_path):