From: Sage Weil Date: Fri, 10 Jan 2014 19:00:55 +0000 (-0800) Subject: thrashosds: change min_in from 2 -> 3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9b7e793df23b23971cac8549851814f2979cea3b;p=teuthology.git thrashosds: change min_in from 2 -> 3 See #7171. In rare cases CRUSH can't handle it when only 2/6 of the OSDs are marked in. Avoid those situations for now. Signed-off-by: Sage Weil (cherry picked from commit 495f2163a8debe6323b1b67737a47a0b31172f07) --- diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index cff36ede3b..4c904eeeff 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -24,7 +24,7 @@ class Thrasher: if self.config.get('powercycle'): self.revive_timeout += 120 self.clean_wait = self.config.get('clean_wait', 0) - self.minin = self.config.get("min_in", 2) + self.minin = self.config.get("min_in", 3) num_osds = self.in_osds + self.out_osds self.max_pgs = self.config.get("max_pgs_per_pool_osd", 1200) * num_osds diff --git a/teuthology/task/thrashosds.py b/teuthology/task/thrashosds.py index 1702dbdfd5..98c7ab2511 100644 --- a/teuthology/task/thrashosds.py +++ b/teuthology/task/thrashosds.py @@ -19,7 +19,7 @@ def task(ctx, config): The config is optional, and is a dict containing some or all of: - min_in: (default 2) the minimum number of OSDs to keep in the + min_in: (default 3) the minimum number of OSDs to keep in the cluster min_out: (default 0) the minimum number of OSDs to keep out of the