increase the timeout before stop command failed. in case
of monitor running under valgrind, we sometimes failed beacuse
of timeout.
Fixes: https://tracker.ceph.com/issues/63501
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
valgrind:
mon: [--tool=memcheck, --leak-check=full, --show-reachable=yes]
osd: [--tool=memcheck]
+ stop-daemons-timeout: 1200
roles:
- [mon.a, mon.b, mon.c, mgr.x, mgr.y, osd.0, osd.1, osd.2, client.0]
tasks:
try:
yield
finally:
- teuthology.stop_daemons_of_type(ctx, type_, cluster_name)
+ timeout = config.get('stop-daemons-timeout', 300)
+ teuthology.stop_daemons_of_type(ctx, type_, cluster_name, timeout=timeout)
def healthy(ctx, config):