]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: delete all fs during tearDown 40772/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 26 Feb 2021 17:13:21 +0000 (09:13 -0800)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Apr 2021 21:14:12 +0000 (23:14 +0200)
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 <pdonnell@redhat.com>
(cherry picked from commit 4e6d9e6a0484357d483fb1a183d1bfbcc33b021a)

Conflicts:
qa/tasks/cephfs/cephfs_test_case.py
- trivial resolution

qa/tasks/cephfs/cephfs_test_case.py

index 3b32635880c947f26642e0ec92464353264d5ac8..4a7c05f2242e31a68a325133132d2e6fd4fb8f2c 100644 (file)
@@ -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]