]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mon_thrash: sync force requires some force flags 30361/head
authorSage Weil <sage@redhat.com>
Thu, 12 Sep 2019 13:44:46 +0000 (08:44 -0500)
committerSage Weil <sage@redhat.com>
Thu, 12 Sep 2019 13:44:46 +0000 (08:44 -0500)
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 <sage@redhat.com>
qa/tasks/mon_thrash.py

index 2d504e431167ee0e0812aab7092382a2efc593bb..ed0940c4ebf2e2dff7a8972c5c6ad5db5bc3ff8e 100644 (file)
@@ -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(