Skip to content

tentacle: qa: rbd_mirror_fsx_compare.sh doesn't error out as expected - #67797

Merged
batrick merged 3 commits into
ceph:tentaclefrom
idryomov:wip-75239-tentacle
Apr 6, 2026
Merged

batrick merged 3 commits into
ceph:tentaclefrom
idryomov:wip-75239-tentacle

Conversation

@idryomov

Copy link
Copy Markdown
Contributor

In mirror-thrash tests, one of the clusters can be effectively stopped
due to a watchdog bark while rbd_mirror_fsx_compare.sh is running and is
in the middle of the "wait for all images" loop:

2026-03-01T12:55:35.059 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1040
2026-03-01T12:55:35.060 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1040 -le 7200 ']'
2026-03-01T12:55:35.060 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T12:55:35.060 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T12:55:35.084 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 290 -ge 292 ']'
2026-03-01T12:55:35.084 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10
...
2026-03-01T12:55:49.568 INFO:tasks.daemonwatchdog.daemon_watchdog:thrasher.rbd_mirror.[cluster2] failed
2026-03-01T12:55:49.568 INFO:tasks.daemonwatchdog.daemon_watchdog:BARK! unmounting mounts and killing all daemons

In this scenario "rbd ls" is going to time out repeatedly, turning the
loop into up to a ~60-hour sleep (up to 720 iterations with a 5-minute
timeout + 10-second sleep per iteration).

Fixes: https://tracker.ceph.com/issues/75239
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 81a5906)
In mirror-thrash tests, status() can be invoked after one of the
clusters is effectively stopped due to a watchdog bark:

2026-03-01T22:27:38.633 INFO:tasks.daemonwatchdog.daemon_watchdog:thrasher.rbd_mirror.[cluster2] failed
2026-03-01T22:27:38.633 INFO:tasks.daemonwatchdog.daemon_watchdog:BARK! unmounting mounts and killing all daemons
...
2026-03-01T22:32:46.964 INFO:tasks.workunit.cluster1.client.mirror.trial199.stderr:+ status
2026-03-01T22:32:46.964 INFO:tasks.workunit.cluster1.client.mirror.trial199.stderr:+ local cluster daemon image_pool image_ns image
2026-03-01T22:32:46.964 INFO:tasks.workunit.cluster1.client.mirror.trial199.stderr:+ for cluster in ${CLUSTER1} ${CLUSTER2}

In this scenario all commands that are invoked from the loop body
are going to time out anyway.

Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 82717e4)
It was missed in commit 5fe64fa ("qa: rbd_mirror.sh: change
parameters to cluster rather than daemon name").

Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 1a280b9)
@idryomov idryomov added this to the tentacle milestone Mar 14, 2026
@idryomov
idryomov requested a review from a team as a code owner March 14, 2026 20:09
@idryomov

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@sunilangadi2

Copy link
Copy Markdown

https://tracker.ceph.com/issues/75682
Tracker got approved @idryomov @yuriw i don't have permission to merge PR's
Please feel free to merge all PR's related to this tracker.

@yuriw can you please give me access to merge PR?

@batrick
batrick merged commit 6002d36 into ceph:tentacle Apr 6, 2026
7 checks passed
@idryomov
idryomov deleted the wip-75239-tentacle branch April 14, 2026 08:12
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.

3 participants