]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/rest/mgr-restful: test restful module
authorSage Weil <sage@redhat.com>
Fri, 9 Jun 2017 16:31:28 +0000 (12:31 -0400)
committerSage Weil <sage@redhat.com>
Mon, 12 Jun 2017 15:55:10 +0000 (11:55 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/rados/rest/mgr-restful.yaml [new file with mode: 0644]

diff --git a/qa/suites/rados/rest/mgr-restful.yaml b/qa/suites/rados/rest/mgr-restful.yaml
new file mode 100644 (file)
index 0000000..e88db83
--- /dev/null
@@ -0,0 +1,15 @@
+roles:
+- [mon.a, mgr.x, osd.0, osd.1, osd.2, mds.a, client.a]
+tasks:
+- install:
+- ceph:
+- exec:
+    mon.a:
+      - ceph config-key put mgr/restful/x/server_addr 127.0.0.1
+      - ceph config-key put mgr/restful/x/server_port 9999
+      - ceph tell mgr.x restful create-key admin
+- ceph.restart: [mgr.x]
+- workunit:
+    clients:
+      client.a:
+        - rest/test-restful.sh