]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: wait pgs to be clean before using the pools 42923/head
authorXiubo Li <xiubli@redhat.com>
Tue, 27 Jul 2021 01:53:58 +0000 (09:53 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 30 Aug 2021 15:37:03 +0000 (23:37 +0800)
Or in some use cases, like the mds-full tests, we will hit the
"PG_AVAILABILITY" warning.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit a448d1c3ee161dc1910ff9fd71a82f7eb0020526)

qa/tasks/cephfs/filesystem.py

index f48ff146ede4ae6743ad734ed259e5cdfa1f9934..e66185c42753f47d24577a95403753d0c36ea39e 100644 (file)
@@ -727,6 +727,9 @@ class Filesystem(MDSCluster):
 
         self.getinfo(refresh = True)
 
+        # wait pgs to be clean
+        self.mon_manager.wait_for_clean()
+
     def run_client_payload(self, cmd):
         # avoid circular dep by importing here:
         from tasks.cephfs.fuse_mount import FuseMount