]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: get_rand_pg_acting_set needs to wait for pool to create PGs 64016/head
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 18 Jun 2025 14:06:50 +0000 (15:06 +0100)
committerBill Scales <bill_scales@uk.ibm.com>
Wed, 18 Jun 2025 14:06:50 +0000 (15:06 +0100)
commitcbaadf521919e28dc2d916088a106304a18830f9
tree02889a7e01b30133ff1e5b8370f898c9a89cccb5
parentef1533711d28c9cd5019281214da913b93d88e8a
qa: get_rand_pg_acting_set needs to wait for pool to create PGs

There is a race hazard in the OSD thrasher which tests if a pool
exists and then queries the PGs in the pool. It is possible that
a pool exists (has been added to OSDMap) but the PGs have not
been created yet (by the OSDs). Add a sleep/retry to mitigate
the race.

Fixes: https://tracker.ceph.com/issues/70818
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
qa/tasks/ceph_manager.py