]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Added a "ceph hello world" for a simple check for ceph-deploy qa suite
authorYuri Weinstein <yuri.weinstein@inktank.com>
Fri, 8 May 2015 00:12:35 +0000 (17:12 -0700)
committerYuri Weinstein <yweinste@redhat.com>
Fri, 8 May 2015 00:30:34 +0000 (17:30 -0700)
Signed-off-by: Yuri Weinstein <yweinstein@redhat.com>
(cherry picked from commit 13abae186357f4e9bb40990a7a212f93ec2e1e79)

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
qa/workunits/ceph-deploy/ceph-deploy_hello_world.sh [new file with mode: 0755]

diff --git a/qa/workunits/ceph-deploy/ceph-deploy_hello_world.sh b/qa/workunits/ceph-deploy/ceph-deploy_hello_world.sh
new file mode 100755 (executable)
index 0000000..30e74cc
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+#check ceph health
+ceph -s
+#list pools
+rados lspools
+#lisr rbd images
+rbd ls
+#check that the monitors work
+ceph osd set nodown
+ceph osd unset nodown
+
+exit 0