From 12a391ea011a772dbcc720b825f7b8dd8ecbf702 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 25 Aug 2014 08:51:40 -0700 Subject: [PATCH] thrashosds: increase osd revive timeout (75s -> 150s) This is needed when running valgrind. Signed-off-by: Sage Weil --- tasks/ceph_manager.py | 2 +- tasks/thrashosds.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/ceph_manager.py b/tasks/ceph_manager.py index 10e3bde4a6db5..20d3d9469d92e 100644 --- a/tasks/ceph_manager.py +++ b/tasks/ceph_manager.py @@ -70,7 +70,7 @@ class Thrasher: self.stopping = False self.logger = logger self.config = config - self.revive_timeout = self.config.get("revive_timeout", 75) + self.revive_timeout = self.config.get("revive_timeout", 150) if self.config.get('powercycle'): self.revive_timeout += 120 self.clean_wait = self.config.get('clean_wait', 0) diff --git a/tasks/thrashosds.py b/tasks/thrashosds.py index cdd671b99ce2b..9fbf19b0d025e 100644 --- a/tasks/thrashosds.py +++ b/tasks/thrashosds.py @@ -66,7 +66,7 @@ def task(ctx, config): to become clean after each cluster change. If this doesn't happen within the timeout, an exception will be raised. - revive_timeout: (75) number of seconds to wait for an osd asok to + revive_timeout: (150) number of seconds to wait for an osd asok to appear after attempting to revive the osd thrash_primary_affinity: (true) randomly adjust primary-affinity -- 2.39.5