diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /qa/rbd/data-pool | |
parent | Initial commit. (diff) | |
download | ceph-b26c4052f3542036551aa9dec9caa4226e456195.tar.xz ceph-b26c4052f3542036551aa9dec9caa4226e456195.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'qa/rbd/data-pool')
-rw-r--r-- | qa/rbd/data-pool/ec.yaml | 24 | ||||
-rw-r--r-- | qa/rbd/data-pool/none.yaml | 0 | ||||
-rw-r--r-- | qa/rbd/data-pool/replicated.yaml | 11 |
3 files changed, 35 insertions, 0 deletions
diff --git a/qa/rbd/data-pool/ec.yaml b/qa/rbd/data-pool/ec.yaml new file mode 100644 index 000000000..f39a5bb4c --- /dev/null +++ b/qa/rbd/data-pool/ec.yaml @@ -0,0 +1,24 @@ +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 + - rbd pool init datapool + +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 + 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 diff --git a/qa/rbd/data-pool/none.yaml b/qa/rbd/data-pool/none.yaml new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qa/rbd/data-pool/none.yaml diff --git a/qa/rbd/data-pool/replicated.yaml b/qa/rbd/data-pool/replicated.yaml new file mode 100644 index 000000000..c5647dba1 --- /dev/null +++ b/qa/rbd/data-pool/replicated.yaml @@ -0,0 +1,11 @@ +tasks: +- exec: + client.0: + - sudo ceph osd pool create datapool 4 + - rbd pool init datapool + +overrides: + ceph: + conf: + client: + rbd default data pool: datapool |