]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Add ceph-mgr rest based test
authorVasu Kulkarni <vasu@redhat.com>
Thu, 12 Oct 2017 21:55:19 +0000 (14:55 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Thu, 12 Oct 2017 21:55:19 +0000 (14:55 -0700)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/suites/smoke/singleton/rest.yaml [new file with mode: 0644]

diff --git a/qa/suites/smoke/singleton/rest.yaml b/qa/suites/smoke/singleton/rest.yaml
new file mode 100644 (file)
index 0000000..7c4f8f7
--- /dev/null
@@ -0,0 +1,52 @@
+overrides:
+  ceph_ansible:
+    rhbuild: '2.2'
+    vars:
+      ceph_conf_overrides:
+          global:
+            osd_default_pool_size: 2
+            osd_pool_default_pg_num: 128
+            osd_pool_default_pgp_num: 128
+      dmcrypt_journal_collocation: true
+      ceph_stable_release: luminous
+      ceph_origin: distro
+      ceph_stable: true
+      ceph_stable_rh_storage: true
+      ceph_test: true
+      journal_size: 1024
+      osd_auto_discovery: false
+      osd_scenario: collocated
+roles:
+- - mon.a
+- - mon.b
+  - mgr.x
+- - mds.a
+- - osd.0
+  - osd.1
+  - osd.2
+  - mgr.y
+- - osd.3
+  - osd.4
+  - osd.5
+- - osd.6
+  - osd.7
+  - osd.8
+  - client.0
+tasks:
+- ssh-keys:
+- ceph-ansible:
+- install.ship_utilities:
+- exec:
+    mgr.x:
+      - systemctl stop ceph-mgr.target
+      - sleep 5
+      - ceph -s
+- exec:
+    mon.a:
+      - ceph restful create-key admin
+      - ceph restful create-self-signed-cert
+      - ceph restful restart
+- workunit:
+    clients:
+      client.0:
+        - rest/test-restful.sh