From: Patrick Donnelly Date: Fri, 26 Feb 2021 17:13:21 +0000 (-0800) Subject: qa: delete all fs during tearDown X-Git-Tag: v17.1.0~2800^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4e6d9e6a0484357d483fb1a183d1bfbcc33b021a;p=ceph.git qa: delete all fs during tearDown During the ceph task Unwind, the MDS are stopped. If any file system still exists, we will see failover messages in the cluster log. Fixes: https://tracker.ceph.com/issues/49510 Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/cephfs_test_case.py b/qa/tasks/cephfs/cephfs_test_case.py index 9d689456c9de4..49e7ad720864c 100644 --- a/qa/tasks/cephfs/cephfs_test_case.py +++ b/qa/tasks/cephfs/cephfs_test_case.py @@ -214,6 +214,9 @@ class CephFSTestCase(CephTestCase): for m in self.mounts: m.teardown() + # To prevent failover messages during Unwind of ceph task + self.mds_cluster.delete_all_filesystems() + for m, md in zip(self.mounts, self._orig_mount_details): md.restore(m)