]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: Add additional wait_for_clean() check in lost_unfound tasks. 40221/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Tue, 16 Mar 2021 19:48:40 +0000 (01:18 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Thu, 18 Mar 2021 17:05:36 +0000 (22:35 +0530)
commit35b20c0e0c1bd8c9fd383d906637335af42a69b1
tree99d7c460462b69d90257adb982c78ddb6aa8a744
parent25638af5a40f57cd97f1bf7c1877db2144f673fd
qa/tasks: Add additional wait_for_clean() check in lost_unfound tasks.

At the end of the lost_unfound tests add an additional wait_for_clean()
check to ensure that recoveries get enough time to complete before
proceeding and avoid failures down the line. For e.g. failure like
"Scrubbing terminated -- not all pgs were active and clean." is because
recoveries on the PGs did not get sufficient time to complete even though
they were bound to eventually complete.

Fixes: https://tracker.ceph.com/issues/49844
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 88df47230b5ad85e95b0be2eca6f5763914b175c)
qa/tasks/ec_lost_unfound.py
qa/tasks/lost_unfound.py
qa/tasks/rep_lost_unfound_delete.py