]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: short-circuit status() if "ceph -s" fails
authorIlya Dryomov <idryomov@gmail.com>
Sun, 1 Mar 2026 21:55:52 +0000 (22:55 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 3 Mar 2026 10:39:59 +0000 (11:39 +0100)
commit82717e43a08a1262987f5e271fd72d4433c4fb3b
tree81f8ec5d810ab7743fc470a46fc87640aac3ab8b
parent81a5906f0d1cc844bb4ef16aae9ace3e7d371ac2
qa/workunits/rbd: short-circuit status() if "ceph -s" fails

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 <idryomov@gmail.com>
qa/workunits/rbd/rbd_mirror_helpers.sh