]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks: make the cephadm and vstart_runner tasks aware of watchdog
authorLaura Flores <lflores@ibm.com>
Tue, 4 Nov 2025 21:10:42 +0000 (15:10 -0600)
committerLaura Flores <lflores@ibm.com>
Thu, 6 Nov 2025 16:32:09 +0000 (10:32 -0600)
commit17b8bbd5ff58f1ed547879c905e42df058871eef
treeecc561c812287a38456ac148ee41f08c901c571e
parent72ac13bb1b91646332a10ba8a9990d09a893111a
qa/tasks: make the cephadm and vstart_runner tasks aware of watchdog

The WatchedProcesses class was added in https://github.com/ceph/ceph/pull/64889/commits
to help the DaemonWatchdog montior processes. In https://github.com/ceph/ceph/pull/64889/commits/7ee026be4e7ef07502507dfb7975c74bc8c85fc5,
an attribute 'watched_processes' was added to the cluster context to track
a list of processes. This was added to the ceph task (in ceph.py), but for
tests that use the cephadm task instead (cephadm.py), we need to add it there too.
This applies to `thrash-old-clients` and `upgrade` tests in particular.

To be on the safe side, we should also initialize 'watched_processes' for vstart_runner
in case someone opts into the watchdog there in the future.

This commit also unifies the quotation marks for the 'watched_processes' attribute in the
ceph task with the other attributes. No major logic is changed here- it is only for convention.

Fixes: https://tracker.ceph.com/issues/73682
Signed-off-by: Laura Flores <lflores@ibm.com>
qa/tasks/ceph.py
qa/tasks/cephadm.py
qa/tasks/vstart_runner.py