2016-10-31 10:19:45 +00:00
|
|
|
tasks:
|
|
|
|
- exec:
|
|
|
|
client.0:
|
2017-06-30 18:59:39 +00:00
|
|
|
- sudo ceph osd erasure-code-profile set teuthologyprofile crush-failure-domain=osd m=1 k=2
|
2016-10-31 10:19:45 +00:00
|
|
|
- sudo ceph osd pool create datapool 4 4 erasure teuthologyprofile
|
2017-02-14 08:04:12 +00:00
|
|
|
- sudo ceph osd pool set datapool allow_ec_overwrites true
|
2017-06-27 01:15:57 +00:00
|
|
|
- rbd pool init datapool
|
2016-10-31 10:19:45 +00:00
|
|
|
|
|
|
|
overrides:
|
2017-04-19 23:46:09 +00:00
|
|
|
thrashosds:
|
|
|
|
bdev_inject_crash: 2
|
|
|
|
bdev_inject_crash_probability: .5
|
2016-10-31 10:19:45 +00:00
|
|
|
ceph:
|
2017-04-19 23:46:09 +00:00
|
|
|
fs: xfs
|
2016-10-31 10:19:45 +00:00
|
|
|
conf:
|
|
|
|
client:
|
|
|
|
rbd default data pool: datapool
|
2017-04-19 23:46:09 +00:00
|
|
|
osd: # force bluestore since it's required for ec overwrites
|
|
|
|
osd objectstore: bluestore
|
|
|
|
bluestore block size: 96636764160
|
|
|
|
enable experimental unrecoverable data corrupting features: "*"
|
|
|
|
osd debug randomize hobject sort order: false
|
|
|
|
# this doesn't work with failures bc the log writes are not atomic across the two backends
|
|
|
|
# bluestore bluefs env mirror: true
|