From 41f55068cdb9e90d2f3cfacabe642a285c4eca0c Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 18 Oct 2017 14:38:08 -0600 Subject: [PATCH] Add cephmetrics suite Signed-off-by: Zack Cerza --- qa/suites/cephmetrics/% | 0 qa/suites/cephmetrics/0-clusters/3-node.yaml | 11 ++++++++++ .../cephmetrics/1-distros/ubuntu_16.04.yaml | 2 ++ .../cephmetrics/2-ceph/ceph_ansible.yaml | 22 +++++++++++++++++++ .../3-config/bluestore_with_dmcrypt.yaml | 8 +++++++ .../3-config/bluestore_without_dmcrypt.yaml | 8 +++++++ .../cephmetrics/3-config/dmcrypt_off.yaml | 7 ++++++ .../cephmetrics/3-config/dmcrypt_on.yaml | 7 ++++++ .../cephmetrics/4-tasks/cephmetrics.yaml | 4 ++++ 9 files changed, 69 insertions(+) create mode 100644 qa/suites/cephmetrics/% create mode 100644 qa/suites/cephmetrics/0-clusters/3-node.yaml create mode 100644 qa/suites/cephmetrics/1-distros/ubuntu_16.04.yaml create mode 100644 qa/suites/cephmetrics/2-ceph/ceph_ansible.yaml create mode 100644 qa/suites/cephmetrics/3-config/bluestore_with_dmcrypt.yaml create mode 100644 qa/suites/cephmetrics/3-config/bluestore_without_dmcrypt.yaml create mode 100644 qa/suites/cephmetrics/3-config/dmcrypt_off.yaml create mode 100644 qa/suites/cephmetrics/3-config/dmcrypt_on.yaml create mode 100644 qa/suites/cephmetrics/4-tasks/cephmetrics.yaml diff --git a/qa/suites/cephmetrics/% b/qa/suites/cephmetrics/% new file mode 100644 index 00000000000..e69de29bb2d diff --git a/qa/suites/cephmetrics/0-clusters/3-node.yaml b/qa/suites/cephmetrics/0-clusters/3-node.yaml new file mode 100644 index 00000000000..3935e7cc337 --- /dev/null +++ b/qa/suites/cephmetrics/0-clusters/3-node.yaml @@ -0,0 +1,11 @@ +meta: +- desc: "4-node cluster" +roles: +- [mon.a, mds.a, osd.0, osd.1, osd.2] +- [mon.b, mgr.x, osd.3, osd.4, osd.5] +- [mon.c, mgr.y, osd.6, osd.7, osd.8, client.0] +- [cephmetrics.0] +openstack: +- volumes: # attached to each instance + count: 3 + size: 10 # GB diff --git a/qa/suites/cephmetrics/1-distros/ubuntu_16.04.yaml b/qa/suites/cephmetrics/1-distros/ubuntu_16.04.yaml new file mode 100644 index 00000000000..a459fddffb2 --- /dev/null +++ b/qa/suites/cephmetrics/1-distros/ubuntu_16.04.yaml @@ -0,0 +1,2 @@ +os_type: ubuntu +os_version: "16.04" diff --git a/qa/suites/cephmetrics/2-ceph/ceph_ansible.yaml b/qa/suites/cephmetrics/2-ceph/ceph_ansible.yaml new file mode 100644 index 00000000000..1be7e8513e6 --- /dev/null +++ b/qa/suites/cephmetrics/2-ceph/ceph_ansible.yaml @@ -0,0 +1,22 @@ +meta: +- desc: "Build the ceph cluster using ceph-ansible" + +overrides: + ceph_ansible: + branch: stable-3.0 + vars: + ceph_conf_overrides: + global: + osd default pool size: 2 + mon pg warn min per osd: 2 + ceph_test: true + ceph_stable_release: luminous + osd_scenario: collocated + journal_size: 1024 + osd_auto_discovery: false + ceph_origin: repository + ceph_repository: dev +tasks: +- ssh-keys: +- ceph_ansible: +- install.ship_utilities: diff --git a/qa/suites/cephmetrics/3-config/bluestore_with_dmcrypt.yaml b/qa/suites/cephmetrics/3-config/bluestore_with_dmcrypt.yaml new file mode 100644 index 00000000000..16db8ab2704 --- /dev/null +++ b/qa/suites/cephmetrics/3-config/bluestore_with_dmcrypt.yaml @@ -0,0 +1,8 @@ +meta: +- desc: "use bluestore + dmcrypt" + +overrides: + ceph_ansible: + vars: + osd_objectstore: bluestore + dmcrypt: True diff --git a/qa/suites/cephmetrics/3-config/bluestore_without_dmcrypt.yaml b/qa/suites/cephmetrics/3-config/bluestore_without_dmcrypt.yaml new file mode 100644 index 00000000000..fc879fc8e60 --- /dev/null +++ b/qa/suites/cephmetrics/3-config/bluestore_without_dmcrypt.yaml @@ -0,0 +1,8 @@ +meta: +- desc: "use bluestore without dmcrypt" + +overrides: + ceph_ansible: + vars: + osd_objectstore: bluestore + dmcrypt: False diff --git a/qa/suites/cephmetrics/3-config/dmcrypt_off.yaml b/qa/suites/cephmetrics/3-config/dmcrypt_off.yaml new file mode 100644 index 00000000000..4bbd1c7c5d1 --- /dev/null +++ b/qa/suites/cephmetrics/3-config/dmcrypt_off.yaml @@ -0,0 +1,7 @@ +meta: +- desc: "without dmcrypt" + +overrides: + ceph_ansible: + vars: + dmcrypt: False diff --git a/qa/suites/cephmetrics/3-config/dmcrypt_on.yaml b/qa/suites/cephmetrics/3-config/dmcrypt_on.yaml new file mode 100644 index 00000000000..519ad1d79a1 --- /dev/null +++ b/qa/suites/cephmetrics/3-config/dmcrypt_on.yaml @@ -0,0 +1,7 @@ +meta: +- desc: "with dmcrypt" + +overrides: + ceph_ansible: + vars: + dmcrypt: True diff --git a/qa/suites/cephmetrics/4-tasks/cephmetrics.yaml b/qa/suites/cephmetrics/4-tasks/cephmetrics.yaml new file mode 100644 index 00000000000..15f90394c29 --- /dev/null +++ b/qa/suites/cephmetrics/4-tasks/cephmetrics.yaml @@ -0,0 +1,4 @@ +meta: +- desc: "Deploy cephmetrics and run integration tests" +tasks: +- cephmetrics: -- 2.39.5