From: Xiubo Li Date: Tue, 27 Jul 2021 01:53:58 +0000 (+0800) Subject: qa: wait pgs to be clean before using the pools X-Git-Tag: v17.1.0~1264^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a448d1c3ee161dc1910ff9fd71a82f7eb0020526;p=ceph-ci.git qa: wait pgs to be clean before using the pools Or in some use cases, like the mds-full tests, we will hit the "PG_AVAILABILITY" warning. Signed-off-by: Xiubo Li --- diff --git a/qa/tasks/cephfs/filesystem.py b/qa/tasks/cephfs/filesystem.py index 805b7548dc6..51ca0a45062 100644 --- a/qa/tasks/cephfs/filesystem.py +++ b/qa/tasks/cephfs/filesystem.py @@ -676,6 +676,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