]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph_manager: default chance_down to 0.4
authorSamuel Just <sam.just@inktank.com>
Thu, 24 Jan 2013 01:44:05 +0000 (17:44 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 24 Jan 2013 01:44:05 +0000 (17:44 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
teuthology/task/ceph_manager.py
teuthology/task/thrashosds.py

index 49f82f07b4c5c8336fe1819a6fe06ff293908b66..c3385cc7186ce1176c7275ee07ed196755bc3164 100644 (file)
@@ -148,7 +148,7 @@ class Thrasher:
         assert not the_one in status['down']
 
     def choose_action(self):
-        chance_down = self.config.get('chance_down', 0)
+        chance_down = self.config.get('chance_down', 0.4)
         chance_test_min_size = self.config.get('chance_test_min_size', 0)
         if isinstance(chance_down, int):
             chance_down = float(chance_down) / 100
index a945dbc475a8b3bba19b7e7e89da583d172d6a7e..409adb6f9253d742c4051a8ae4566036a63d0f8c 100644 (file)
@@ -38,7 +38,7 @@ def task(ctx, config):
        to probabilistically choose when to wait, and the method used
        makes it closer to -- but not identical to -- the half-life.)
 
-    chance_down: (0) the probability that the thrasher will mark an
+    chance_down: (0.4) the probability that the thrasher will mark an
        OSD down rather than marking it out. (The thrasher will not
        consider that OSD out of the cluster, since presently an OSD
        wrongly marked down will mark itself back up again.) This value