From: Sage Weil Date: Thu, 12 Sep 2019 13:44:46 +0000 (-0500) Subject: qa/tasks/mon_thrash: sync force requires some force flags X-Git-Tag: v15.1.0~1567^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e071f4cecf3650c7797cf35a6afdf648250d47ae;p=ceph.git qa/tasks/mon_thrash: sync force requires some force flags AFAICS this has been the case for basically forever. Not sure why/how the mon_thrash task hasn't had a problem with that? Signed-off-by: Sage Weil --- diff --git a/qa/tasks/mon_thrash.py b/qa/tasks/mon_thrash.py index 2d504e431167..ed0940c4ebf2 100644 --- a/qa/tasks/mon_thrash.py +++ b/qa/tasks/mon_thrash.py @@ -169,7 +169,9 @@ class MonitorThrasher(Thrasher): """ addr = self.ctx.ceph['ceph'].mons['mon.%s' % mon] self.log('thrashing mon.{id}@{addr} store'.format(id=mon, addr=addr)) - out = self.manager.raw_cluster_cmd('-m', addr, 'sync', 'force') + out = self.manager.raw_cluster_cmd('-m', addr, 'sync', 'force', + '--yes-i-really-mean-it', + '--i-know-what-i-am-doing') j = json.loads(out) assert j['ret'] == 0, \ 'error forcing store sync on mon.{id}:\n{ret}'.format(