From 83d920abc2db1c45c51d4c6b40f7fbcef8c40083 Mon Sep 17 00:00:00 2001 From: kawaguchi-s Date: Wed, 1 Jul 2015 15:40:52 +0900 Subject: [PATCH] erasure code: added shec's initial ceph-qa-suite Fixes: #10886(http://tracker.ceph.com/issues/10886) Signed-off-by: Shotaro Kawaguchi --- clusters/fixed-4.yaml | 5 ++++ .../ec-rados-plugin=shec-k=4-m=3-c=2.yaml | 30 +++++++++++++++++++ suites/rados/thrash-erasure-code-shec/% | 0 .../clusters/fixed-4.yaml | 1 + .../thrash-erasure-code-shec/fs/xfs.yaml | 1 + .../thrash-erasure-code-shec/msgr-failures | 1 + .../thrashers/default.yaml | 18 +++++++++++ .../ec-rados-plugin=shec-k=4-m=3-c=2.yaml | 1 + 8 files changed, 57 insertions(+) create mode 100644 clusters/fixed-4.yaml create mode 100644 erasure-code/ec-rados-plugin=shec-k=4-m=3-c=2.yaml create mode 100644 suites/rados/thrash-erasure-code-shec/% create mode 120000 suites/rados/thrash-erasure-code-shec/clusters/fixed-4.yaml create mode 120000 suites/rados/thrash-erasure-code-shec/fs/xfs.yaml create mode 120000 suites/rados/thrash-erasure-code-shec/msgr-failures create mode 100644 suites/rados/thrash-erasure-code-shec/thrashers/default.yaml create mode 120000 suites/rados/thrash-erasure-code-shec/workloads/ec-rados-plugin=shec-k=4-m=3-c=2.yaml diff --git a/clusters/fixed-4.yaml b/clusters/fixed-4.yaml new file mode 100644 index 00000000000..7f051dc1fed --- /dev/null +++ b/clusters/fixed-4.yaml @@ -0,0 +1,5 @@ +roles: +- [mon.a, osd.0, osd.4, osd.8, osd.12] +- [mon.b, osd.1, osd.5, osd.9, osd.13] +- [mon.c, osd.2, osd.6, osd.10, osd.14] +- [osd.3, osd.7, osd.11, osd.15, client.0] diff --git a/erasure-code/ec-rados-plugin=shec-k=4-m=3-c=2.yaml b/erasure-code/ec-rados-plugin=shec-k=4-m=3-c=2.yaml new file mode 100644 index 00000000000..84f82e388cb --- /dev/null +++ b/erasure-code/ec-rados-plugin=shec-k=4-m=3-c=2.yaml @@ -0,0 +1,30 @@ +tasks: +- rados: + clients: [client.0] + ops: 400 + objects: 50 + ec_pool: true + erasure_code_profile: + name: shecprofile + plugin: shec + k: 4 + m: 3 + c: 2 + ruleset-failure-domain: osd + op_weights: + read: 100 + write: 0 + append: 100 + delete: 50 + snap_create: 50 + snap_remove: 50 + rollback: 50 + copy_from: 50 + setattr: 25 + rmattr: 25 +overrides: + ceph: + conf: + global: + enable experimental unrecoverable data corrupting features: shec + diff --git a/suites/rados/thrash-erasure-code-shec/% b/suites/rados/thrash-erasure-code-shec/% new file mode 100644 index 00000000000..e69de29bb2d diff --git a/suites/rados/thrash-erasure-code-shec/clusters/fixed-4.yaml b/suites/rados/thrash-erasure-code-shec/clusters/fixed-4.yaml new file mode 120000 index 00000000000..961d9b5caf7 --- /dev/null +++ b/suites/rados/thrash-erasure-code-shec/clusters/fixed-4.yaml @@ -0,0 +1 @@ +../../../../clusters/fixed-4.yaml \ No newline at end of file diff --git a/suites/rados/thrash-erasure-code-shec/fs/xfs.yaml b/suites/rados/thrash-erasure-code-shec/fs/xfs.yaml new file mode 120000 index 00000000000..4c28d731f6b --- /dev/null +++ b/suites/rados/thrash-erasure-code-shec/fs/xfs.yaml @@ -0,0 +1 @@ +../../../../fs/xfs.yaml \ No newline at end of file diff --git a/suites/rados/thrash-erasure-code-shec/msgr-failures b/suites/rados/thrash-erasure-code-shec/msgr-failures new file mode 120000 index 00000000000..03689aa44a3 --- /dev/null +++ b/suites/rados/thrash-erasure-code-shec/msgr-failures @@ -0,0 +1 @@ +../thrash/msgr-failures \ No newline at end of file diff --git a/suites/rados/thrash-erasure-code-shec/thrashers/default.yaml b/suites/rados/thrash-erasure-code-shec/thrashers/default.yaml new file mode 100644 index 00000000000..e5728c969fe --- /dev/null +++ b/suites/rados/thrash-erasure-code-shec/thrashers/default.yaml @@ -0,0 +1,18 @@ +tasks: +- install: +- ceph: + log-whitelist: + - wrongly marked me down + - objects unfound and apparently lost + - slow request + conf: + osd: + osd debug reject backfill probability: .3 + osd max backfills: 1 + osd scrub min interval: 60 + osd scrub max interval: 120 +- thrashosds: + timeout: 1200 + chance_pgnum_grow: 1 + chance_pgpnum_fix: 1 + min_in: 8 diff --git a/suites/rados/thrash-erasure-code-shec/workloads/ec-rados-plugin=shec-k=4-m=3-c=2.yaml b/suites/rados/thrash-erasure-code-shec/workloads/ec-rados-plugin=shec-k=4-m=3-c=2.yaml new file mode 120000 index 00000000000..476d7cddd16 --- /dev/null +++ b/suites/rados/thrash-erasure-code-shec/workloads/ec-rados-plugin=shec-k=4-m=3-c=2.yaml @@ -0,0 +1 @@ +../../../../erasure-code/ec-rados-plugin=shec-k=4-m=3-c=2.yaml \ No newline at end of file