From: Sage Weil Date: Mon, 8 Jul 2013 17:43:32 +0000 (-0700) Subject: mon_thrash: tolerate missing 'scrub' command X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0afd5627da23d52106ac66fe45e94c8edeefd6c;p=teuthology.git mon_thrash: tolerate missing 'scrub' command Signed-off-by: Sage Weil --- diff --git a/teuthology/task/mon_thrash.py b/teuthology/task/mon_thrash.py index 122c26d18..ba5131b69 100644 --- a/teuthology/task/mon_thrash.py +++ b/teuthology/task/mon_thrash.py @@ -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(