]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
marginal/osd_powercycle: OSD powercycle thrashing
authorSam Lang <sam.lang@inktank.com>
Thu, 31 Jan 2013 14:44:09 +0000 (08:44 -0600)
committerSam Lang <sam.lang@inktank.com>
Thu, 31 Jan 2013 14:55:32 +0000 (08:55 -0600)
Tasks to run while thrashing osds using ipmi to powercycle.
This currently runs in the marginal suite only.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
21 files changed:
suites/marginal/osd_powercycle/clusters/3osd-1per-target.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/powercycle/default.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/admin_socket_objecter_requests.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_kernel_untar_build.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_misc.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_blogbench.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_dbench.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_ffsb.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsstress.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsx.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsync.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_iozone.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_pjd.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_tiobench.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_truncate_delay.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/cfuse_workunit_trivial_sync.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/rados_api_tests.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/radosbench.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/readwrite.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/snaps-few-objects.yaml [new file with mode: 0644]
suites/marginal/osd_powercycle/tasks/snaps-many-objects.yaml [new file with mode: 0644]

diff --git a/suites/marginal/osd_powercycle/clusters/3osd-1per-target.yaml b/suites/marginal/osd_powercycle/clusters/3osd-1per-target.yaml
new file mode 100644 (file)
index 0000000..d5503a4
--- /dev/null
@@ -0,0 +1,5 @@
+roles:
+- [mon.0, mon.1, mon.2, mds.0, client.0]
+- [osd.0]
+- [osd.1]
+- [osd.2]
diff --git a/suites/marginal/osd_powercycle/powercycle/default.yaml b/suites/marginal/osd_powercycle/powercycle/default.yaml
new file mode 100644 (file)
index 0000000..f3368af
--- /dev/null
@@ -0,0 +1,4 @@
+tasks:
+- thrashosds:
+    chance_down: 1.0
+    powercycle: true
diff --git a/suites/marginal/osd_powercycle/tasks/admin_socket_objecter_requests.yaml b/suites/marginal/osd_powercycle/tasks/admin_socket_objecter_requests.yaml
new file mode 100644 (file)
index 0000000..bccd0b3
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- radosbench:
+    clients: [client.0]
+    time: 60
+- admin_socket:
+    client.0:
+      objecter_requests:
+        test: "http://ceph.newdream.net/git/?p=ceph.git;a=blob_plain;f=src/test/admin_socket/objecter_requests;hb=HEAD"
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_kernel_untar_build.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_kernel_untar_build.yaml
new file mode 100644 (file)
index 0000000..6f048f8
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - kernel_untar_build.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_misc.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_misc.yaml
new file mode 100644 (file)
index 0000000..d8d1a00
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - misc
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_blogbench.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_blogbench.yaml
new file mode 100644 (file)
index 0000000..4c9ff41
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/blogbench.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_dbench.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_dbench.yaml
new file mode 100644 (file)
index 0000000..2d64f63
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/dbench.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_ffsb.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_ffsb.yaml
new file mode 100644 (file)
index 0000000..22cf239
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/ffsb.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsstress.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsstress.yaml
new file mode 100644 (file)
index 0000000..8f0bc59
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/fsstress.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsx.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsx.yaml
new file mode 100644 (file)
index 0000000..9b59a22
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/fsx.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsync.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_fsync.yaml
new file mode 100644 (file)
index 0000000..2ac8e7a
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/fsync-tester.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_iozone.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_iozone.yaml
new file mode 100644 (file)
index 0000000..fedc230
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse: [client.0]
+- workunit:
+    clients:
+      all:
+        - suites/iozone.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_pjd.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_pjd.yaml
new file mode 100644 (file)
index 0000000..f7f7570
--- /dev/null
@@ -0,0 +1,14 @@
+tasks:
+- ceph:
+    conf:
+      client:
+        debug ms: 1
+        debug client: 20
+      mds:
+        debug ms: 1
+        debug mds: 20
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/pjd.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_tiobench.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_tiobench.yaml
new file mode 100644 (file)
index 0000000..73fc216
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all:
+        - suites/tiobench.sh
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_truncate_delay.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_suites_truncate_delay.yaml
new file mode 100644 (file)
index 0000000..c23d76d
--- /dev/null
@@ -0,0 +1,14 @@
+tasks:
+- ceph:
+    conf:
+      client:
+        ms_inject_delay_probability: 1
+        ms_inject_delay_type: osd
+        ms_inject_delay_max: 5
+        client_oc_max_dirty_age: 1
+- ceph-fuse:
+- exec:
+    client.0:
+      - dd if=/dev/zero of=./foo count=100
+      - sleep 2
+      - truncate --size 0 ./foo
diff --git a/suites/marginal/osd_powercycle/tasks/cfuse_workunit_trivial_sync.yaml b/suites/marginal/osd_powercycle/tasks/cfuse_workunit_trivial_sync.yaml
new file mode 100644 (file)
index 0000000..85c9fd1
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph:
+- ceph-fuse:
+- workunit:
+    clients:
+      all: [misc/trivial_sync.sh]
diff --git a/suites/marginal/osd_powercycle/tasks/rados_api_tests.yaml b/suites/marginal/osd_powercycle/tasks/rados_api_tests.yaml
new file mode 100644 (file)
index 0000000..b4708eb
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph-fuse:
+- workunit:
+    clients:
+      client.0:
+        - rados/test.sh
diff --git a/suites/marginal/osd_powercycle/tasks/radosbench.yaml b/suites/marginal/osd_powercycle/tasks/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/marginal/osd_powercycle/tasks/readwrite.yaml b/suites/marginal/osd_powercycle/tasks/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/marginal/osd_powercycle/tasks/snaps-few-objects.yaml b/suites/marginal/osd_powercycle/tasks/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/marginal/osd_powercycle/tasks/snaps-many-objects.yaml b/suites/marginal/osd_powercycle/tasks/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