mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
inject bdev failures when killing osd on bluestore
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
173a7b270d
commit
f4de41c24f
@ -1,4 +1,6 @@
|
||||
overrides:
|
||||
thrashosds:
|
||||
bdev_inject_crash: 2
|
||||
ceph:
|
||||
conf:
|
||||
osd:
|
||||
|
@ -1930,7 +1930,7 @@ class CephManager:
|
||||
self.raw_cluster_cmd(
|
||||
'--', 'tell', 'osd.%d' % osd,
|
||||
'injectargs',
|
||||
'--bdev-inject-crash ' + self.config.get('bdev_inject_crash'),
|
||||
'--bdev-inject-crash %d' % self.config.get('bdev_inject_crash'),
|
||||
)
|
||||
try:
|
||||
self.ctx.daemons.get_daemon('osd', osd, self.cluster).wait()
|
||||
|
Loading…
Reference in New Issue
Block a user