X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fqa%2Ftasks%2Fcephfs%2Ffuse_mount.py;h=6ca08a460b816350f78acc85636f29668bb4a170;hb=1911f103e16ae0d04db10fb41db8217ef4c320d3;hp=21a9a6d2f16b803833faf09a7fc6555cd4b8b932;hpb=78f773100ed5d2ebc9d99e65a3d7e3a6f541a97e;p=ceph.git diff --git a/ceph/qa/tasks/cephfs/fuse_mount.py b/ceph/qa/tasks/cephfs/fuse_mount.py index 21a9a6d2f..6ca08a460 100644 --- a/ceph/qa/tasks/cephfs/fuse_mount.py +++ b/ceph/qa/tasks/cephfs/fuse_mount.py @@ -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(