mirror of
https://github.com/ceph/ceph
synced 2025-01-12 06:00:46 +00:00
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:
commit
ca742514b0
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user