]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/cephfs/fuse_mount.py
import 15.2.2 octopus source
[ceph.git] / ceph / qa / tasks / cephfs / fuse_mount.py
index 21a9a6d2f16b803833faf09a7fc6555cd4b8b932..6ca08a460b816350f78acc85636f29668bb4a170 100644 (file)
@@ -244,6 +244,9 @@ class FuseMount(CephFSMount):
         return self.client_remote.run(args=["ls", "-d", self.mountpoint], check_status=False, cwd=self.test_dir, timeout=(15*60)).exitstatus == 0
 
     def umount(self):
+        if not self.is_mounted():
+            return
+
         try:
             log.info('Running fusermount -u on {name}...'.format(name=self.client_remote.name))
             self.client_remote.run(