]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
thrashosds: change min_in from 2 -> 3
authorSage Weil <sage@inktank.com>
Fri, 10 Jan 2014 19:00:55 +0000 (11:00 -0800)
committerSage Weil <sage@inktank.com>
Fri, 10 Jan 2014 19:21:06 +0000 (11:21 -0800)
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 <sage@inktank.com>
(cherry picked from commit 495f2163a8debe6323b1b67737a47a0b31172f07)

teuthology/task/ceph_manager.py
teuthology/task/thrashosds.py

index cff36ede3bf0e20003e61aa481f3a4e700ec3309..4c904eeeff919c0b127d0bbb1ac238895063bfdd 100644 (file)
@@ -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
index 1702dbdfd5321a850de558710abf2ed8e60f9ce9..98c7ab251105a7aae9fb66a0dc2781906e12e73d 100644 (file)
@@ -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