]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "pybind/ceph_volume_client: allow volume_client to"
authorNathan Cutler <ncutler@suse.com>
Mon, 21 Oct 2019 12:02:03 +0000 (14:02 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 21 Oct 2019 12:02:03 +0000 (14:02 +0200)
This reverts commit 1ab18fcf056ef8e4fcb9ed27e64ee4f8a75866dc.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/pybind/ceph_volume_client.py

index 740f9e757e2136265020f590499ddae735cf3ece..32c73c3dbc8707483b4228779142a6fa4a0331ad 100644 (file)
@@ -243,10 +243,8 @@ class CephFSVolumeClient(object):
     DEFAULT_VOL_PREFIX = "/volumes"
     DEFAULT_NS_PREFIX = "fsvolumens_"
 
-    def __init__(self, auth_id, conf_path, cluster_name, volume_prefix=None, pool_ns_prefix=None,
-                 fs_name=None):
+    def __init__(self, auth_id, conf_path, cluster_name, volume_prefix=None, pool_ns_prefix=None):
         self.fs = None
-        self.fs_name = fs_name
         self.rados = None
         self.connected = False
         self.conf_path = conf_path
@@ -478,7 +476,7 @@ class CephFSVolumeClient(object):
             self.evict(premount_evict)
             log.debug("Premount eviction of {0} completes".format(premount_evict))
         log.debug("CephFS mounting...")
-        self.fs.mount(filesystem_name=self.fs_name)
+        self.fs.mount()
         log.debug("Connection to cephfs complete")
 
         # Recover from partial auth updates due to a previous