mirror of
https://github.com/ceph/ceph
synced 2025-01-25 04:24:24 +00:00
dc7a2aaf7a
1) ruleset is an obsolete term, and 2) crush-{rule,failure-domain,...} is more descriptive. Note that we are changing the names of the erasure code profile keys from ruleset-* to crush-*. We will update this on upgrade when the luminous flag is set, but that means that during mon upgrade you cannot create EC pools that use these fields. When the upgrade completes (users sets require_osd_release = luminous) existing ec profiles are updated automatically. Signed-off-by: Sage Weil <sage@redhat.com>
28 lines
944 B
YAML
28 lines
944 B
YAML
tasks:
|
|
- exec:
|
|
client.0:
|
|
- sudo ceph osd erasure-code-profile set teuthologyprofile crush-failure-domain=osd m=1 k=2
|
|
- sudo ceph osd pool create datapool 4 4 erasure teuthologyprofile
|
|
- sudo ceph osd pool set datapool allow_ec_overwrites true
|
|
|
|
overrides:
|
|
thrashosds:
|
|
bdev_inject_crash: 2
|
|
bdev_inject_crash_probability: .5
|
|
ceph:
|
|
fs: xfs
|
|
conf:
|
|
client:
|
|
rbd default data pool: datapool
|
|
osd: # force bluestore since it's required for ec overwrites
|
|
osd objectstore: bluestore
|
|
bluestore block size: 96636764160
|
|
debug bluestore: 30
|
|
debug bdev: 20
|
|
debug bluefs: 20
|
|
debug rocksdb: 10
|
|
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
|