]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph_manager: fix post-osd-kill pg peered check 32737/head
authorSage Weil <sage@redhat.com>
Mon, 20 Jan 2020 15:45:00 +0000 (09:45 -0600)
committerSage Weil <sage@redhat.com>
Mon, 20 Jan 2020 15:47:36 +0000 (09:47 -0600)
commit9600152593fe4d8f40c7a6b071aa9c905c8cc6cb
tree970c1547f6015cb62d80939ef8de0fceee15864f
parent8ad6cbef5f57635824d9d8fc323f24c63cc41a98
qa/tasks/ceph_manager: fix post-osd-kill pg peered check

This was asserting that all PGs are active or peered, but that assertion
could fail if the concurrent workload created a new pool.

Switch to a loop that checks several times for the condition to be true.

Fixes: https://tracker.ceph.com/issues/43656
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph_manager.py