]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Test ceph-mgr RESTful api
authorVasu Kulkarni <vasu@redhat.com>
Fri, 8 Sep 2017 00:10:04 +0000 (17:10 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Fri, 8 Sep 2017 00:10:04 +0000 (17:10 -0700)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/suites/ceph-ansible/smoke/basic/4-tasks/cls.yaml [deleted file]
qa/suites/ceph-ansible/smoke/basic/4-tasks/rest.yaml [new file with mode: 0644]

diff --git a/qa/suites/ceph-ansible/smoke/basic/4-tasks/cls.yaml b/qa/suites/ceph-ansible/smoke/basic/4-tasks/cls.yaml
deleted file mode 100644 (file)
index 781a4d4..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-meta:
-- desc: "Run the rados cls tests"
-tasks:
-- workunit:
-    clients:
-      client.0:
-        - cls
diff --git a/qa/suites/ceph-ansible/smoke/basic/4-tasks/rest.yaml b/qa/suites/ceph-ansible/smoke/basic/4-tasks/rest.yaml
new file mode 100644 (file)
index 0000000..b734dbe
--- /dev/null
@@ -0,0 +1,10 @@
+tasks:
+- 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