]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Add cephmetrics suite 18451/head
authorZack Cerza <zack@redhat.com>
Wed, 18 Oct 2017 20:38:08 +0000 (14:38 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 26 Oct 2017 16:55:30 +0000 (10:55 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
qa/suites/cephmetrics/% [new file with mode: 0644]
qa/suites/cephmetrics/0-clusters/3-node.yaml [new file with mode: 0644]
qa/suites/cephmetrics/1-distros/ubuntu_16.04.yaml [new file with mode: 0644]
qa/suites/cephmetrics/2-ceph/ceph_ansible.yaml [new file with mode: 0644]
qa/suites/cephmetrics/3-config/bluestore_with_dmcrypt.yaml [new file with mode: 0644]
qa/suites/cephmetrics/3-config/bluestore_without_dmcrypt.yaml [new file with mode: 0644]
qa/suites/cephmetrics/3-config/dmcrypt_off.yaml [new file with mode: 0644]
qa/suites/cephmetrics/3-config/dmcrypt_on.yaml [new file with mode: 0644]
qa/suites/cephmetrics/4-tasks/cephmetrics.yaml [new file with mode: 0644]

diff --git a/qa/suites/cephmetrics/% b/qa/suites/cephmetrics/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/cephmetrics/0-clusters/3-node.yaml b/qa/suites/cephmetrics/0-clusters/3-node.yaml
new file mode 100644 (file)
index 0000000..3935e7c
--- /dev/null
@@ -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 (file)
index 0000000..a459fdd
--- /dev/null
@@ -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 (file)
index 0000000..1be7e85
--- /dev/null
@@ -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 (file)
index 0000000..16db8ab
--- /dev/null
@@ -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 (file)
index 0000000..fc879fc
--- /dev/null
@@ -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 (file)
index 0000000..4bbd1c7
--- /dev/null
@@ -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 (file)
index 0000000..519ad1d
--- /dev/null
@@ -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 (file)
index 0000000..15f9039
--- /dev/null
@@ -0,0 +1,4 @@
+meta:
+- desc: "Deploy cephmetrics and run integration tests"
+tasks:
+- cephmetrics: