Repository navigation
teuthology/misc: Add timeout parameter to stop_daemons_of_type for better flexibility - #2014
Conversation
…tter flexibility Updated stop_daemons_of_type to accept a timeout parameter, allowing dynamic control over the timeout value passed to the stop function of each daemon. Signed-off-by: Nitzan Mordechai <[email protected]>
|
Is this tested already? |
i ran few test using my PR issue. didn't riched to timeout, but the param was passed |
|
@NitzanMordhai the timeout didn't work even though the param was passed? But I don't see it being used in these overrides of systemd and cephadm daemons: |
that's the purpose of that PR, to add the timeout so we can use it and not use the default |
|
@NitzanMordhai This PR relies on passing timeout to |
|
it will be pass to teuthology/orchestra/daemon/state.py |
|
Great, it should work well then! |
|
@VallariAg, @NitzanMordhai: is this ready to merge? If it is, let's not hesitate and unblock the PR in |
|
Is it the case that we don't want or don't care about timeouts in |
yes, it is ready |
@zmc It's more for a daemon/state, where we don't pass any timeout and we do care about it. this is just a parameter reveal, that was coded. but never pass along the tests |
|
This PR should solve for daemon/state.py type daemons created in tasks/ceph.py so seems good to merge this PR to unblock the linked ceph PR. |
|
@zmc any other thoughts? can we merge it so ceph/ceph#61021 test can start? |
Updated stop_daemons_of_type to accept a timeout parameter, allowing dynamic control over the timeout value passed to the stop function of each daemon.