]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
suite/rbd: test dynamic features and rebuild object map
authorJason Dillaman <dillaman@redhat.com>
Fri, 18 Mar 2016 13:48:50 +0000 (09:48 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 18 Mar 2016 18:17:34 +0000 (14:17 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
suites/rbd/maintenance/% [new file with mode: 0644]
suites/rbd/maintenance/base/install.yaml [new file with mode: 0644]
suites/rbd/maintenance/clusters/+ [new file with mode: 0644]
suites/rbd/maintenance/clusters/fixed-3.yaml [new file with mode: 0644]
suites/rbd/maintenance/clusters/openstack.yaml [new file with mode: 0644]
suites/rbd/maintenance/qemu/xfstests.yaml [new file with mode: 0644]
suites/rbd/maintenance/workloads/dynamic_features.yaml [new file with mode: 0644]
suites/rbd/maintenance/workloads/rebuild_object_map.yaml [new file with mode: 0644]

diff --git a/suites/rbd/maintenance/% b/suites/rbd/maintenance/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/rbd/maintenance/base/install.yaml b/suites/rbd/maintenance/base/install.yaml
new file mode 100644 (file)
index 0000000..2030acb
--- /dev/null
@@ -0,0 +1,3 @@
+tasks:
+- install:
+- ceph:
diff --git a/suites/rbd/maintenance/clusters/+ b/suites/rbd/maintenance/clusters/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/rbd/maintenance/clusters/fixed-3.yaml b/suites/rbd/maintenance/clusters/fixed-3.yaml
new file mode 100644 (file)
index 0000000..455de4f
--- /dev/null
@@ -0,0 +1,4 @@
+roles:
+- [mon.a, mon.c, osd.0, osd.1, osd.2]
+- [mon.b, osd.3, osd.4, osd.5]
+- [client.0]
diff --git a/suites/rbd/maintenance/clusters/openstack.yaml b/suites/rbd/maintenance/clusters/openstack.yaml
new file mode 100644 (file)
index 0000000..f879958
--- /dev/null
@@ -0,0 +1,8 @@
+openstack:
+  - machine:
+      disk: 40 # GB
+      ram: 30000 # MB
+      cpus: 1
+    volumes: # attached to each instance
+      count: 3
+      size: 30 # GB
diff --git a/suites/rbd/maintenance/qemu/xfstests.yaml b/suites/rbd/maintenance/qemu/xfstests.yaml
new file mode 100644 (file)
index 0000000..91ae528
--- /dev/null
@@ -0,0 +1,13 @@
+tasks:
+- parallel:
+    - io_workload
+    - op_workload
+io_workload:
+  sequential:
+    - qemu:
+        client.0:
+          clone: true
+          type: block
+          num_rbd: 2
+          test: http://git.ceph.com/?p=ceph.git;a=blob_plain;f=qa/run_xfstests_qemu.sh
+exclude_arch: armv7l
diff --git a/suites/rbd/maintenance/workloads/dynamic_features.yaml b/suites/rbd/maintenance/workloads/dynamic_features.yaml
new file mode 100644 (file)
index 0000000..d7e1c1e
--- /dev/null
@@ -0,0 +1,8 @@
+op_workload:
+  sequential:
+    - workunit:
+        clients:
+          client.0:
+          - rbd/qemu_dynamic_features.sh
+        env:
+          IMAGE_NAME: client.0.1-clone
diff --git a/suites/rbd/maintenance/workloads/rebuild_object_map.yaml b/suites/rbd/maintenance/workloads/rebuild_object_map.yaml
new file mode 100644 (file)
index 0000000..308158f
--- /dev/null
@@ -0,0 +1,8 @@
+op_workload:
+  sequential:
+    - workunit:
+        clients:
+          client.0:
+          - rbd/qemu_rebuild_object_map.sh
+        env:
+          IMAGE_NAME: client.0.1-clone