]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Tests cephfs and radosgw 123/head
authorWalter Huf <walter.huf@corvisa.com>
Thu, 8 May 2014 21:07:17 +0000 (16:07 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Thu, 8 May 2014 21:07:17 +0000 (16:07 -0500)
recipes/all_in_one.rb
test/integration/aio/bats/ceph-running.bats

index cfd65683ec55a7f533cb9ff4edbe54b2e149b855..794f37726ec9b2ed8707c41d57c5587ad77a32fd 100644 (file)
@@ -1,4 +1,6 @@
 
 include_recipe 'ceph::mon'
 include_recipe 'ceph::osd'
-# include_recipe 'ceph::radosgw'
+include_recipe 'ceph::mds'
+include_recipe 'ceph::cephfs'
+include_recipe 'ceph::radosgw'
index 388fb6ad9e375cdd792f333375e0119ed638f04f..578d7e4b6f3f70582ae976ea2ef1918fec9f39d4 100644 (file)
@@ -5,3 +5,15 @@
 @test "ceph is healthy" {
   ceph -s | grep HEALTH_OK
 }
+
+@test "cephfs is mounted" {
+  mount | grep 'type ceph'
+}
+
+@test "radosgw is running" {
+  ps auxwww | grep radosg[w]
+}
+
+@test "apache is running and listening" {
+  netstat -ln | grep -E '^\S+\s+\S+\s+\S+\s+\S+:80\s+'
+}