mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
tasks/thrashosds: fix powercycle, bdev_inject_crash
The CephManager.kill_osd expects these in its config, not Thrasher's. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
9d6ff34b50
commit
4936d40438
@ -159,8 +159,12 @@ def task(ctx, config):
|
||||
'but not available on osd role: {r}'.format(
|
||||
r=remote.name))
|
||||
|
||||
log.info('Beginning thrashosds...')
|
||||
cluster_manager = ctx.managers[cluster]
|
||||
for f in ['powercycle', 'bdev_inject_crash']:
|
||||
if config.get(f):
|
||||
cluster_manager.config[f] = config.get(f)
|
||||
|
||||
log.info('Beginning thrashosds...')
|
||||
thrash_proc = ceph_manager.Thrasher(
|
||||
cluster_manager,
|
||||
config,
|
||||
|
Loading…
Reference in New Issue
Block a user