Skip to content

qa/rados: do not set rados_osd_op_timeout in thrashing suites - #72389

Merged
ljflores merged 1 commit into
ceph:mainfrom
ronen-fr:wip-rf-nothrashto
Oct 14, 2026
Merged

ljflores merged 1 commit into
ceph:mainfrom
ronen-fr:wip-rf-nothrashto

Conversation

@ronen-fr

@ronen-fr ronen-fr commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

c1b30c0 ("qa/rados: bound client hangs with rados_osd_op_timeout") put the client deadline in qa/config/rados.yaml, which is symlinked by 15 suites - including every thrash suite. The commit message justified 900s as "several times longer than the longest stall any thrasher here induces on purpose". That is wrong.

thrashosds' in/out walk is a random walk with no bounded recovery time, and nothing ties min_in to the min_size of the pools the workload creates. qa/suites/rados/thrash-erasure-code-isa/thrashers is a symlink to the replicated suite's thrashers, all of which use "min_in: 2", while the workloads there build EC pools needing 6 to 10 shards. In https://tracker.ceph.com/issues/81135 that left an ISA k=6 m=3 pool with 3 of 16 OSDs in for over twelve minutes; every op type in flight took 400-500s, and the copy_from whose deadline happened to expire first aborted ceph_test_rados. There is no safe value of the timeout for these suites.

Move the setting into its own fragment and include it only where nothing can render a pool unavailable for longer than the deadline: suites with no OSD thrasher. That excludes rados/singleton and rados/verify, which carry thrashosds fragments, and netsplit, which partitions the network on purpose.

Fixes: https://tracker.ceph.com/issues/81135

c1b30c0 ("qa/rados: bound client hangs with
rados_osd_op_timeout") put the client deadline in qa/config/rados.yaml,
which is symlinked by 15 suites - including every thrash suite. The
commit message justified 900s as "several times longer than the longest
stall any thrasher here induces on purpose". That is wrong.

thrashosds' in/out walk is a random walk with no bounded recovery time,
and nothing ties min_in to the min_size of the pools the workload
creates. qa/suites/rados/thrash-erasure-code-isa/thrashers is a symlink
to the replicated suite's thrashers, all of which use "min_in: 2", while
the workloads there build EC pools needing 6 to 10 shards. In
https://tracker.ceph.com/issues/81135 that left an ISA k=6 m=3 pool with
3 of 16 OSDs in for over twelve minutes; every op type in flight took
400-500s, and the copy_from whose deadline happened to expire first
aborted ceph_test_rados. There is no safe value of the timeout for these
suites.

Move the setting into its own fragment and include it only where nothing
can render a pool unavailable for longer than the deadline: suites with
no OSD thrasher. That excludes rados/singleton and rados/verify, which
carry thrashosds fragments, and netsplit, which partitions the network
on purpose.

Fixes: https://tracker.ceph.com/issues/81135
Assisted-by: Claude
Signed-off-by: Ronen Friedman <[email protected]>
@ronen-fr
ronen-fr requested a review from a team as a code owner October 5, 2026 05:55
@ronen-fr
ronen-fr requested a review from ljflores October 5, 2026 05:58
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath31-testing-20261006.075505-main.

@amathuria

Copy link
Copy Markdown
Contributor

@ljflores
ljflores merged commit 3eb359d into ceph:main Oct 14, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants