From 4e6d9e6a0484357d483fb1a183d1bfbcc33b021a Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 26 Feb 2021 09:13:21 -0800 Subject: [PATCH] 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 --- qa/tasks/cephfs/cephfs_test_case.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5