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/rbd/thrash/% | 0 src/ceph/qa/suites/rbd/thrash/base/install.yaml | 3 +++ src/ceph/qa/suites/rbd/thrash/clusters/+ | 0 src/ceph/qa/suites/rbd/thrash/clusters/fixed-2.yaml | 1 + .../qa/suites/rbd/thrash/clusters/openstack.yaml | 8 ++++++++ .../qa/suites/rbd/thrash/msgr-failures/few.yaml | 5 +++++ src/ceph/qa/suites/rbd/thrash/objectstore | 1 + src/ceph/qa/suites/rbd/thrash/thrashers/cache.yaml | 21 +++++++++++++++++++++ .../qa/suites/rbd/thrash/thrashers/default.yaml | 8 ++++++++ .../qa/suites/rbd/thrash/thrashosds-health.yaml | 1 + .../qa/suites/rbd/thrash/workloads/journal.yaml | 5 +++++ .../suites/rbd/thrash/workloads/rbd_api_tests.yaml | 13 +++++++++++++ .../workloads/rbd_api_tests_copy_on_read.yaml | 16 ++++++++++++++++ .../thrash/workloads/rbd_api_tests_journaling.yaml | 13 +++++++++++++ .../thrash/workloads/rbd_api_tests_no_locking.yaml | 13 +++++++++++++ .../thrash/workloads/rbd_fsx_cache_writeback.yaml | 9 +++++++++ .../workloads/rbd_fsx_cache_writethrough.yaml | 10 ++++++++++ .../rbd/thrash/workloads/rbd_fsx_copy_on_read.yaml | 10 ++++++++++ .../rbd/thrash/workloads/rbd_fsx_journal.yaml | 5 +++++ .../rbd/thrash/workloads/rbd_fsx_nocache.yaml | 9 +++++++++ 20 files changed, 151 insertions(+) create mode 100644 src/ceph/qa/suites/rbd/thrash/% create mode 100644 src/ceph/qa/suites/rbd/thrash/base/install.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/clusters/+ create mode 120000 src/ceph/qa/suites/rbd/thrash/clusters/fixed-2.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/clusters/openstack.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/msgr-failures/few.yaml create mode 120000 src/ceph/qa/suites/rbd/thrash/objectstore create mode 100644 src/ceph/qa/suites/rbd/thrash/thrashers/cache.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/thrashers/default.yaml create mode 120000 src/ceph/qa/suites/rbd/thrash/thrashosds-health.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/journal.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_copy_on_read.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_journaling.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_no_locking.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writeback.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writethrough.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_copy_on_read.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_journal.yaml create mode 100644 src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_nocache.yaml (limited to 'src/ceph/qa/suites/rbd/thrash') diff --git a/src/ceph/qa/suites/rbd/thrash/% b/src/ceph/qa/suites/rbd/thrash/% new file mode 100644 index 0000000..e69de29 diff --git a/src/ceph/qa/suites/rbd/thrash/base/install.yaml b/src/ceph/qa/suites/rbd/thrash/base/install.yaml new file mode 100644 index 0000000..2030acb --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/base/install.yaml @@ -0,0 +1,3 @@ +tasks: +- install: +- ceph: diff --git a/src/ceph/qa/suites/rbd/thrash/clusters/+ b/src/ceph/qa/suites/rbd/thrash/clusters/+ new file mode 100644 index 0000000..e69de29 diff --git a/src/ceph/qa/suites/rbd/thrash/clusters/fixed-2.yaml b/src/ceph/qa/suites/rbd/thrash/clusters/fixed-2.yaml new file mode 120000 index 0000000..cd0791a --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/clusters/fixed-2.yaml @@ -0,0 +1 @@ +../../../../clusters/fixed-2.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rbd/thrash/clusters/openstack.yaml b/src/ceph/qa/suites/rbd/thrash/clusters/openstack.yaml new file mode 100644 index 0000000..40fef47 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/clusters/openstack.yaml @@ -0,0 +1,8 @@ +openstack: + - machine: + disk: 40 # GB + ram: 8000 # MB + cpus: 1 + volumes: # attached to each instance + count: 4 + size: 30 # GB diff --git a/src/ceph/qa/suites/rbd/thrash/msgr-failures/few.yaml b/src/ceph/qa/suites/rbd/thrash/msgr-failures/few.yaml new file mode 100644 index 0000000..0de320d --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/msgr-failures/few.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + global: + ms inject socket failures: 5000 diff --git a/src/ceph/qa/suites/rbd/thrash/objectstore b/src/ceph/qa/suites/rbd/thrash/objectstore new file mode 120000 index 0000000..4c8ebad --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/objectstore @@ -0,0 +1 @@ +../../../objectstore \ No newline at end of file diff --git a/src/ceph/qa/suites/rbd/thrash/thrashers/cache.yaml b/src/ceph/qa/suites/rbd/thrash/thrashers/cache.yaml new file mode 100644 index 0000000..e723e09 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/thrashers/cache.yaml @@ -0,0 +1,21 @@ +overrides: + ceph: + log-whitelist: + - but it is still running + - objects unfound and apparently lost + - overall HEALTH_ + - (CACHE_POOL_NEAR_FULL) + - (CACHE_POOL_NO_HIT_SET) +tasks: +- exec: + client.0: + - sudo ceph osd pool create cache 4 + - sudo ceph osd tier add rbd cache + - sudo ceph osd tier cache-mode cache writeback + - sudo ceph osd tier set-overlay rbd cache + - sudo ceph osd pool set cache hit_set_type bloom + - sudo ceph osd pool set cache hit_set_count 8 + - sudo ceph osd pool set cache hit_set_period 60 + - sudo ceph osd pool set cache target_max_objects 250 +- thrashosds: + timeout: 1200 diff --git a/src/ceph/qa/suites/rbd/thrash/thrashers/default.yaml b/src/ceph/qa/suites/rbd/thrash/thrashers/default.yaml new file mode 100644 index 0000000..3f1615c --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/thrashers/default.yaml @@ -0,0 +1,8 @@ +overrides: + ceph: + log-whitelist: + - but it is still running + - objects unfound and apparently lost +tasks: +- thrashosds: + timeout: 1200 diff --git a/src/ceph/qa/suites/rbd/thrash/thrashosds-health.yaml b/src/ceph/qa/suites/rbd/thrash/thrashosds-health.yaml new file mode 120000 index 0000000..ebf7f34 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/thrashosds-health.yaml @@ -0,0 +1 @@ +../../../tasks/thrashosds-health.yaml \ No newline at end of file diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/journal.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/journal.yaml new file mode 100644 index 0000000..4dae106 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/journal.yaml @@ -0,0 +1,5 @@ +tasks: +- workunit: + clients: + client.0: + - rbd/journal.sh diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests.yaml new file mode 100644 index 0000000..6ae7f46 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests.yaml @@ -0,0 +1,13 @@ +overrides: + ceph: + log-whitelist: + - overall HEALTH_ + - \(CACHE_POOL_NO_HIT_SET\) + - \(POOL_APP_NOT_ENABLED\) +tasks: +- workunit: + clients: + client.0: + - rbd/test_librbd.sh + env: + RBD_FEATURES: "61" diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_copy_on_read.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_copy_on_read.yaml new file mode 100644 index 0000000..a902154 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_copy_on_read.yaml @@ -0,0 +1,16 @@ +tasks: +- workunit: + clients: + client.0: + - rbd/test_librbd.sh + env: + RBD_FEATURES: "61" +overrides: + ceph: + log-whitelist: + - overall HEALTH_ + - \(CACHE_POOL_NO_HIT_SET\) + - \(POOL_APP_NOT_ENABLED\) + conf: + client: + rbd clone copy on read: true diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_journaling.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_journaling.yaml new file mode 100644 index 0000000..578115e --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_journaling.yaml @@ -0,0 +1,13 @@ +overrides: + ceph: + log-whitelist: + - overall HEALTH_ + - \(CACHE_POOL_NO_HIT_SET\) + - \(POOL_APP_NOT_ENABLED\) +tasks: +- workunit: + clients: + client.0: + - rbd/test_librbd.sh + env: + RBD_FEATURES: "125" diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_no_locking.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_no_locking.yaml new file mode 100644 index 0000000..04af9c8 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_api_tests_no_locking.yaml @@ -0,0 +1,13 @@ +overrides: + ceph: + log-whitelist: + - overall HEALTH_ + - \(CACHE_POOL_NO_HIT_SET\) + - \(POOL_APP_NOT_ENABLED\) +tasks: +- workunit: + clients: + client.0: + - rbd/test_librbd.sh + env: + RBD_FEATURES: "1" diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writeback.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writeback.yaml new file mode 100644 index 0000000..98e0b39 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writeback.yaml @@ -0,0 +1,9 @@ +tasks: +- rbd_fsx: + clients: [client.0] + ops: 6000 +overrides: + ceph: + conf: + client: + rbd cache: true diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writethrough.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writethrough.yaml new file mode 100644 index 0000000..463ba99 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_cache_writethrough.yaml @@ -0,0 +1,10 @@ +tasks: +- rbd_fsx: + clients: [client.0] + ops: 6000 +overrides: + ceph: + conf: + client: + rbd cache: true + rbd cache max dirty: 0 diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_copy_on_read.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_copy_on_read.yaml new file mode 100644 index 0000000..0c284ca --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_copy_on_read.yaml @@ -0,0 +1,10 @@ +tasks: +- rbd_fsx: + clients: [client.0] + ops: 6000 +overrides: + ceph: + conf: + client: + rbd cache: true + rbd clone copy on read: true diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_journal.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_journal.yaml new file mode 100644 index 0000000..13e9a78 --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_journal.yaml @@ -0,0 +1,5 @@ +tasks: +- rbd_fsx: + clients: [client.0] + ops: 6000 + journal_replay: True diff --git a/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_nocache.yaml b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_nocache.yaml new file mode 100644 index 0000000..968665e --- /dev/null +++ b/src/ceph/qa/suites/rbd/thrash/workloads/rbd_fsx_nocache.yaml @@ -0,0 +1,9 @@ +tasks: +- rbd_fsx: + clients: [client.0] + ops: 6000 +overrides: + ceph: + conf: + client: + rbd cache: false -- cgit 1.2.3-korg