From 812ff6ca9fcd3e629e49d4328905f33eee8ca3f5 Mon Sep 17 00:00:00 2001 From: Qiaowei Ren Date: Thu, 4 Jan 2018 13:43:33 +0800 Subject: initial code repo This patch creates initial code repo. For ceph, luminous stable release will be used for base code, and next changes and optimization for ceph will be added to it. For opensds, currently any changes can be upstreamed into original opensds repo (https://github.com/opensds/opensds), and so stor4nfv will directly clone opensds code to deploy stor4nfv environment. And the scripts for deployment based on ceph and opensds will be put into 'ci' directory. Change-Id: I46a32218884c75dda2936337604ff03c554648e4 Signed-off-by: Qiaowei Ren --- src/ceph/qa/suites/rados/thrash-erasure-code-big/% | 0 .../suites/rados/thrash-erasure-code-big/ceph.yaml | 1 + .../suites/rados/thrash-erasure-code-big/cluster/+ | 0 .../thrash-erasure-code-big/cluster/12-osds.yaml | 4 ++++ .../thrash-erasure-code-big/cluster/openstack.yaml | 4 ++++ .../rados/thrash-erasure-code-big/d-require-luminous | 1 + .../rados/thrash-erasure-code-big/leveldb.yaml | 1 + .../rados/thrash-erasure-code-big/msgr-failures | 1 + .../suites/rados/thrash-erasure-code-big/objectstore | 1 + .../suites/rados/thrash-erasure-code-big/rados.yaml | 1 + .../thrash-erasure-code-big/thrashers/default.yaml | 18 ++++++++++++++++++ .../thrash-erasure-code-big/thrashers/fastread.yaml | 19 +++++++++++++++++++ .../thrash-erasure-code-big/thrashers/mapgap.yaml | 20 ++++++++++++++++++++ .../thrashers/morepggrow.yaml | 16 ++++++++++++++++ .../thrash-erasure-code-big/thrashers/pggrow.yaml | 15 +++++++++++++++ .../thrash-erasure-code-big/thrashosds-health.yaml | 1 + .../workloads/ec-rados-plugin=jerasure-k=4-m=2.yaml | 1 + .../workloads/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml | 1 + 18 files changed, 105 insertions(+) create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/% create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/ceph.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/+ create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/12-osds.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/openstack.yaml create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/d-require-luminous create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/leveldb.yaml create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/msgr-failures create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/objectstore create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/rados.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/default.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/fastread.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/mapgap.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/morepggrow.yaml create mode 100644 src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/pggrow.yaml create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashosds-health.yaml create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=jerasure-k=4-m=2.yaml create mode 120000 src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml (limited to 'src/ceph/qa/suites/rados/thrash-erasure-code-big') diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/% b/src/ceph/qa/suites/rados/thrash-erasure-code-big/% new file mode 100644 index 0000000..e69de29 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/ceph.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/ceph.yaml new file mode 120000 index 0000000..a2fd139 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/ceph.yaml @@ -0,0 +1 @@ +../thrash/ceph.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/+ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/+ new file mode 100644 index 0000000..e69de29 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/12-osds.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/12-osds.yaml new file mode 100644 index 0000000..1c45ee3 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/12-osds.yaml @@ -0,0 +1,4 @@ +roles: +- [osd.0, osd.1, osd.2, osd.3, client.0, mon.a] +- [osd.4, osd.5, osd.6, osd.7, mon.b, mgr.x] +- [osd.8, osd.9, osd.10, osd.11, mon.c] diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/openstack.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/openstack.yaml new file mode 100644 index 0000000..e559d91 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/cluster/openstack.yaml @@ -0,0 +1,4 @@ +openstack: + - volumes: # attached to each instance + count: 4 + size: 10 # GB diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/d-require-luminous b/src/ceph/qa/suites/rados/thrash-erasure-code-big/d-require-luminous new file mode 120000 index 0000000..737aee8 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/d-require-luminous @@ -0,0 +1 @@ +../thrash/d-require-luminous/ \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/leveldb.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/leveldb.yaml new file mode 120000 index 0000000..264207f --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/leveldb.yaml @@ -0,0 +1 @@ +../../../mon_kv_backend/leveldb.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/msgr-failures b/src/ceph/qa/suites/rados/thrash-erasure-code-big/msgr-failures new file mode 120000 index 0000000..03689aa --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/msgr-failures @@ -0,0 +1 @@ +../thrash/msgr-failures \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/objectstore b/src/ceph/qa/suites/rados/thrash-erasure-code-big/objectstore new file mode 120000 index 0000000..4c8ebad --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/objectstore @@ -0,0 +1 @@ +../../../objectstore \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/rados.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/rados.yaml new file mode 120000 index 0000000..b756e57 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/rados.yaml @@ -0,0 +1 @@ +../../../config/rados.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/default.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/default.yaml new file mode 100644 index 0000000..f2ccf7f --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/default.yaml @@ -0,0 +1,18 @@ +overrides: + ceph: + log-whitelist: + - but it is still running + - objects unfound and apparently lost + - slow request + conf: + osd: + osd debug reject backfill probability: .3 + osd scrub min interval: 60 + osd scrub max interval: 120 + osd max backfills: 6 +tasks: +- thrashosds: + timeout: 1200 + chance_pgnum_grow: 1 + chance_pgpnum_fix: 1 + min_in: 8 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/fastread.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/fastread.yaml new file mode 100644 index 0000000..afc43b8 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/fastread.yaml @@ -0,0 +1,19 @@ +overrides: + ceph: + log-whitelist: + - but it is still running + - objects unfound and apparently lost + conf: + mon: + mon osd pool ec fast read: 1 + osd: + osd debug reject backfill probability: .3 + osd scrub min interval: 60 + osd scrub max interval: 120 + osd max backfills: 2 +tasks: +- thrashosds: + timeout: 1200 + chance_pgnum_grow: 1 + chance_pgpnum_fix: 1 + min_in: 4 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/mapgap.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/mapgap.yaml new file mode 100644 index 0000000..3095cd8 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/mapgap.yaml @@ -0,0 +1,20 @@ +overrides: + ceph: + log-whitelist: + - but it is still running + - objects unfound and apparently lost + - osd_map_cache_size + conf: + mon: + mon min osdmap epochs: 2 + osd: + osd map cache size: 1 + osd scrub min interval: 60 + osd scrub max interval: 120 +tasks: +- thrashosds: + timeout: 1800 + chance_pgnum_grow: 1 + chance_pgpnum_fix: 1 + chance_test_map_discontinuity: 0.5 + min_in: 8 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/morepggrow.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/morepggrow.yaml new file mode 100644 index 0000000..572832d --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/morepggrow.yaml @@ -0,0 +1,16 @@ +overrides: + ceph: + conf: + osd: + osd scrub min interval: 60 + osd scrub max interval: 120 + osd max backfills: 9 + log-whitelist: + - but it is still running + - objects unfound and apparently lost +tasks: +- thrashosds: + timeout: 1200 + chance_pgnum_grow: 3 + chance_pgpnum_fix: 1 + min_in: 8 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/pggrow.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/pggrow.yaml new file mode 100644 index 0000000..148d9fe --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashers/pggrow.yaml @@ -0,0 +1,15 @@ +overrides: + ceph: + log-whitelist: + - but it is still running + - objects unfound and apparently lost + conf: + osd: + osd scrub min interval: 60 + osd scrub max interval: 120 +tasks: +- thrashosds: + timeout: 1200 + chance_pgnum_grow: 2 + chance_pgpnum_fix: 1 + min_in: 8 diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashosds-health.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashosds-health.yaml new file mode 120000 index 0000000..ebf7f34 --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/thrashosds-health.yaml @@ -0,0 +1 @@ +../../../tasks/thrashosds-health.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=jerasure-k=4-m=2.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=jerasure-k=4-m=2.yaml new file mode 120000 index 0000000..a4d836c --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=jerasure-k=4-m=2.yaml @@ -0,0 +1 @@ +../../../../erasure-code/ec-rados-plugin=jerasure-k=4-m=2.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml b/src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml new file mode 120000 index 0000000..86a2d3c --- /dev/null +++ b/src/ceph/qa/suites/rados/thrash-erasure-code-big/workloads/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml @@ -0,0 +1 @@ +../../../../erasure-code/ec-rados-plugin=lrc-k=4-m=2-l=3.yaml \ No newline at end of file -- cgit 1.2.3-korg