]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/nfs: remove unused 'realm' arg for 'nfs export create rgw' 42406/head
authorSage Weil <sage@newdream.net>
Tue, 27 Jul 2021 14:46:25 +0000 (10:46 -0400)
committerSage Weil <sage@newdream.net>
Tue, 27 Jul 2021 14:47:55 +0000 (10:47 -0400)
This argument is not used.  The rgw exports currently only work on the
default realm.

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/nfs/export.py
src/pybind/mgr/nfs/module.py

index 44afe3dd3e7b8d7ee7a266659612304edb775ec2..545fbe4f50b8f82b6515aeeb2ff9162d0577e8a5 100644 (file)
@@ -585,7 +585,6 @@ class ExportMgr:
                           access_type: str,
                           read_only: bool,
                           squash: str,
-                          realm: Optional[str] = None,
                           clients: list = []) -> Tuple[int, str, str]:
         pseudo_path = self.format_path(pseudo_path)
 
index 04ce5e80925f87a7cfe1a5cb417a5f0eb5c39ab5..5014639751839ec2fe26d63dc1fe6cf07a209ff6 100644 (file)
@@ -49,12 +49,10 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule):
             pseudo_path: str,
             readonly: Optional[bool] = False,
             client_addr: Optional[List[str]] = None,
-            realm: Optional[str] = None,
             squash: str = 'none',
     ) -> Tuple[int, str, str]:
         """Create an RGW export"""
         return self.export_mgr.create_export(fsal_type='rgw', bucket=bucket,
-                                             realm=realm,
                                              cluster_id=cluster_id, pseudo_path=pseudo_path,
                                              read_only=readonly, squash=squash,
                                              addr=client_addr)