]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
mon_thrash: tolerate missing 'scrub' command
authorSage Weil <sage@inktank.com>
Mon, 8 Jul 2013 17:43:32 +0000 (10:43 -0700)
committerSage Weil <sage@inktank.com>
Mon, 8 Jul 2013 17:44:20 +0000 (10:44 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/mon_thrash.py

index 122c26d1818e9daa21f156cd5180ff884dac2a18..ba5131b69d48a081f2bf41cd5530f18a3ea9fc48 100644 (file)
@@ -209,7 +209,10 @@ class MonitorThrasher:
 
       if self.scrub:
         self.log('triggering scrub')
-        self.manager.raw_cluster_cmd('scrub')
+        try:
+          self.manager.raw_cluster_cmd('scrub')
+        except:
+          pass
 
       if self.thrash_delay > 0.0:
         self.log('waiting for {delay} secs before continuing thrashing'.format(