From e071f4cecf3650c7797cf35a6afdf648250d47ae Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 12 Sep 2019 08:44:46 -0500 Subject: [PATCH] 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 --- qa/tasks/mon_thrash.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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( -- 2.47.3