Merge PR #30361 into master

* refs/pull/30361/head:
	qa/tasks/mon_thrash: sync force requires some force flags

Reviewed-by: João Eduardo Luís <joao@suse.de>
This commit is contained in:
Sage Weil 2019-09-13 09:59:01 -05:00
commit ca742514b0

View 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(