From: Zack Cerza Date: Wed, 18 Oct 2017 20:38:08 +0000 (-0600) Subject: Add cephmetrics suite X-Git-Tag: v13.0.1~404^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=41f55068cdb9e90d2f3cfacabe642a285c4eca0c;p=ceph.git Add cephmetrics suite Signed-off-by: Zack Cerza --- diff --git a/qa/suites/cephmetrics/% b/qa/suites/cephmetrics/% new file mode 100644 index 000000000000..e69de29bb2d1 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 000000000000..3935e7cc337f --- /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 000000000000..a459fddffb28 --- /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 000000000000..1be7e8513e6e --- /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 000000000000..16db8ab2704f --- /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 000000000000..fc879fc8e607 --- /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 000000000000..4bbd1c7c5d1e --- /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 000000000000..519ad1d79a1d --- /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 000000000000..15f90394c294 --- /dev/null +++ b/qa/suites/cephmetrics/4-tasks/cephmetrics.yaml @@ -0,0 +1,4 @@ +meta: +- desc: "Deploy cephmetrics and run integration tests" +tasks: +- cephmetrics: