From: Patrick Donnelly Date: Fri, 26 Feb 2021 17:13:21 +0000 (-0800) Subject: qa: delete all fs during tearDown X-Git-Tag: v15.2.13~8^2~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5269c9bc78a24e7db28bc5407b95064fba85c986;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 (cherry picked from commit 4e6d9e6a0484357d483fb1a183d1bfbcc33b021a) Conflicts: qa/tasks/cephfs/cephfs_test_case.py - trivial resolution --- diff --git a/qa/tasks/cephfs/cephfs_test_case.py b/qa/tasks/cephfs/cephfs_test_case.py index 3b32635880c9..4a7c05f2242e 100644 --- a/qa/tasks/cephfs/cephfs_test_case.py +++ b/qa/tasks/cephfs/cephfs_test_case.py @@ -174,6 +174,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 i, m in enumerate(self.mounts): m.client_id = self._original_client_ids[i]