summaryrefslogtreecommitdiffstats
path: root/qa/suites/ceph-disk
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2016-12-14 18:29:55 +0100
committerSage Weil <sage@redhat.com>2016-12-14 18:29:55 +0100
commitc01f2ee0e27827b45b92b3f0114a42ebfd776f60 (patch)
treec402893f4c99d1a99b3a4f2025c68e7f5cc75fa6 /qa/suites/ceph-disk
parentRevert "tasks/workunit.py: depth 1 clone" (diff)
downloadceph-c01f2ee0e27827b45b92b3f0114a42ebfd776f60.tar.xz
ceph-c01f2ee0e27827b45b92b3f0114a42ebfd776f60.zip
move ceph-qa-suite dirs into qa/
Diffstat (limited to 'qa/suites/ceph-disk')
-rw-r--r--qa/suites/ceph-disk/basic/%0
l---------qa/suites/ceph-disk/basic/distros1
-rw-r--r--qa/suites/ceph-disk/basic/tasks/ceph-disk.yaml37
3 files changed, 38 insertions, 0 deletions
diff --git a/qa/suites/ceph-disk/basic/% b/qa/suites/ceph-disk/basic/%
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/qa/suites/ceph-disk/basic/%
diff --git a/qa/suites/ceph-disk/basic/distros b/qa/suites/ceph-disk/basic/distros
new file mode 120000
index 00000000000..c5d59352cb5
--- /dev/null
+++ b/qa/suites/ceph-disk/basic/distros
@@ -0,0 +1 @@
+../../../distros/supported \ No newline at end of file
diff --git a/qa/suites/ceph-disk/basic/tasks/ceph-disk.yaml b/qa/suites/ceph-disk/basic/tasks/ceph-disk.yaml
new file mode 100644
index 00000000000..b7655a2fc54
--- /dev/null
+++ b/qa/suites/ceph-disk/basic/tasks/ceph-disk.yaml
@@ -0,0 +1,37 @@
+roles:
+- - mon.a
+ - client.0
+- - osd.0
+ - osd.1
+openstack:
+ - machine:
+ disk: 20 # GB
+ ram: 2000 # MB
+ cpus: 1
+ volumes: # attached to each instance
+ count: 3
+ size: 10 # GB
+tasks:
+- install:
+- ceph:
+ fs: xfs # this implicitly means /dev/vd? are used instead of directories
+ wait-for-scrub: false
+ conf:
+ global:
+ mon pg warn min per osd: 2
+ osd pool default size: 2
+ osd crush chooseleaf type: 0 # failure domain == osd
+ osd pg bits: 2
+ osd pgp bits: 2
+#
+# Keep this around for debugging purposes. If uncommented the target
+# will pause and the workunit can be run and debug manually.
+#
+# - exec:
+# client.0:
+# - sleep 1000000000 # forever
+#
+- workunit:
+ clients:
+ all:
+ - ceph-disk/ceph-disk.sh