]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
upgrade-parallel: add stress-split collection
authorSage Weil <sage@inktank.com>
Tue, 23 Jul 2013 22:00:38 +0000 (15:00 -0700)
committerSage Weil <sage@inktank.com>
Tue, 23 Jul 2013 22:00:38 +0000 (15:00 -0700)
suites/upgrade-parallel/stress-split/0-cluster/start.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/1-cuttlefish-install/cuttlefish.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/2-partial-upgrade/firsthalf.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/3-thrash/default.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/4-workload/rados_api_tests.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/4-workload/radosbench.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/4-workload/readwrite.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/4-workload/snaps-few-objects.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/4-workload/snaps-many-objects.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/5-next-mon/monb.yaml [new file with mode: 0644]
suites/upgrade-parallel/stress-split/6-workload/rados_api_tests.yaml [new file with mode: 0644]

diff --git a/suites/upgrade-parallel/stress-split/0-cluster/start.yaml b/suites/upgrade-parallel/stress-split/0-cluster/start.yaml
new file mode 100644 (file)
index 0000000..a3d48e1
--- /dev/null
@@ -0,0 +1,12 @@
+roles:
+- - mon.a
+  - mon.b
+  - mds.a
+  - osd.0
+  - osd.1
+  - osd.3
+- - osd.4
+  - osd.5
+  - osd.6
+  - client.0
+  - mon.c
diff --git a/suites/upgrade-parallel/stress-split/1-cuttlefish-install/cuttlefish.yaml b/suites/upgrade-parallel/stress-split/1-cuttlefish-install/cuttlefish.yaml
new file mode 100644 (file)
index 0000000..b259af9
--- /dev/null
@@ -0,0 +1,4 @@
+tasks:
+- install:
+    branch: cuttlefish
+- ceph:
diff --git a/suites/upgrade-parallel/stress-split/2-partial-upgrade/firsthalf.yaml b/suites/upgrade-parallel/stress-split/2-partial-upgrade/firsthalf.yaml
new file mode 100644 (file)
index 0000000..6f6c889
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- install.upgrade:
+    osd.0:
+      branch:
+        next
+- ceph.restart: [osd.0, osd.1, osd.2, mon.a]
diff --git a/suites/upgrade-parallel/stress-split/3-thrash/default.yaml b/suites/upgrade-parallel/stress-split/3-thrash/default.yaml
new file mode 100644 (file)
index 0000000..d67ff20
--- /dev/null
@@ -0,0 +1,10 @@
+overrides:
+  ceph:
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+tasks:
+- thrashosds:
+    timeout: 1200
+    chance_pgnum_grow: 1
+    chance_pgpnum_fix: 1
diff --git a/suites/upgrade-parallel/stress-split/4-workload/rados_api_tests.yaml b/suites/upgrade-parallel/stress-split/4-workload/rados_api_tests.yaml
new file mode 100644 (file)
index 0000000..cd11ae6
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rados/test.sh
diff --git a/suites/upgrade-parallel/stress-split/4-workload/radosbench.yaml b/suites/upgrade-parallel/stress-split/4-workload/radosbench.yaml
new file mode 100644 (file)
index 0000000..3940870
--- /dev/null
@@ -0,0 +1,4 @@
+tasks:
+- radosbench:
+    clients: [client.0]
+    time: 1800
diff --git a/suites/upgrade-parallel/stress-split/4-workload/readwrite.yaml b/suites/upgrade-parallel/stress-split/4-workload/readwrite.yaml
new file mode 100644 (file)
index 0000000..c53e52b
--- /dev/null
@@ -0,0 +1,9 @@
+tasks:
+- rados:
+    clients: [client.0]
+    ops: 4000
+    objects: 500
+    op_weights:
+      read: 45
+      write: 45
+      delete: 10
diff --git a/suites/upgrade-parallel/stress-split/4-workload/snaps-few-objects.yaml b/suites/upgrade-parallel/stress-split/4-workload/snaps-few-objects.yaml
new file mode 100644 (file)
index 0000000..c540397
--- /dev/null
@@ -0,0 +1,12 @@
+tasks:
+- rados:
+    clients: [client.0]
+    ops: 4000
+    objects: 50
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      snap_create: 50
+      snap_remove: 50
+      rollback: 50
diff --git a/suites/upgrade-parallel/stress-split/4-workload/snaps-many-objects.yaml b/suites/upgrade-parallel/stress-split/4-workload/snaps-many-objects.yaml
new file mode 100644 (file)
index 0000000..9e311c9
--- /dev/null
@@ -0,0 +1,12 @@
+tasks:
+- rados:
+    clients: [client.0]
+    ops: 4000
+    objects: 500
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      snap_create: 50
+      snap_remove: 50
+      rollback: 50
diff --git a/suites/upgrade-parallel/stress-split/5-next-mon/monb.yaml b/suites/upgrade-parallel/stress-split/5-next-mon/monb.yaml
new file mode 100644 (file)
index 0000000..2c6c346
--- /dev/null
@@ -0,0 +1,3 @@
+tasks:
+- ceph.restart: [mon.b]
+- ceph.wait_for_mon_quorum: [a, b]
diff --git a/suites/upgrade-parallel/stress-split/6-workload/rados_api_tests.yaml b/suites/upgrade-parallel/stress-split/6-workload/rados_api_tests.yaml
new file mode 100644 (file)
index 0000000..cd11ae6
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rados/test.sh