]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
upgrade suite for stress-split tests for d-f-x
authortamil <tamil.muthamizhan@inktank.com>
Fri, 3 Oct 2014 23:22:34 +0000 (16:22 -0700)
committertamil <tamil.muthamizhan@inktank.com>
Fri, 3 Oct 2014 23:22:34 +0000 (16:22 -0700)
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
32 files changed:
suites/upgrade/dumpling-firefly-x/stress-split/% [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/0-cluster/start.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/1-dumpling-install/dumpling.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/10-osds-upgrade-firefly/secondhalf.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/11-workload/snaps-few-objects.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/12-partial-upgrade-x/first.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/13-thrash/default.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/14-mona-upgrade-x/mona.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/15-workload/rbd-import-export.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/16-monb-upgrade-x/monb.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/17-workload/readwrite.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/18-monc-upgrade-x/monc.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/19-workload/radosbench.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/2-partial-upgrade-firefly/firsthalf.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/20-osds-upgrade-x/osds_secondhalf.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rados_stress_watch.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rbd_cls_tests.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rgw-swift.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/3-thrash/default.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/4-mona-upgrade-firefly/mona.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/5-workload/rbd-cls.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/5-workload/readwrite.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/6-monb-upgrade-firefly/monb.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/7-workload/radosbench.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/7-workload/rbd_api.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/8-monc-upgrade-firefly/monc.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/9-workload/+ [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rbd-python.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rgw-s3tests.yaml [new file with mode: 0644]
suites/upgrade/dumpling-firefly-x/stress-split/distros [new symlink]
suites/upgrade/firefly-x/stress-split/9-workload/rgw-s3tests.yaml [deleted file]
suites/upgrade/firefly-x/stress-split/9-workload/rgw-swift.yaml [new file with mode: 0644]

diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/% b/suites/upgrade/dumpling-firefly-x/stress-split/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/0-cluster/start.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/0-cluster/start.yaml
new file mode 100644 (file)
index 0000000..504e20e
--- /dev/null
@@ -0,0 +1,17 @@
+overrides:
+  ceph:
+    conf:
+      mon:
+        mon warn on legacy crush tunables: false
+roles:
+- - mon.a
+  - mon.b
+  - mds.a
+  - osd.0
+  - osd.1
+  - osd.2
+  - mon.c
+- - osd.3
+  - osd.4
+  - osd.5
+- - client.0
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/1-dumpling-install/dumpling.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/1-dumpling-install/dumpling.yaml
new file mode 100644 (file)
index 0000000..c98631e
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- install:
+    branch: dumpling
+- ceph:
+    fs: xfs
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/10-osds-upgrade-firefly/secondhalf.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/10-osds-upgrade-firefly/secondhalf.yaml
new file mode 100644 (file)
index 0000000..917894b
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- install.upgrade:
+    osd.3: 
+       branch: firefly
+- ceph.restart:
+    daemons: [osd.3, osd.4, osd.5]
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/11-workload/snaps-few-objects.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/11-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/dumpling-firefly-x/stress-split/12-partial-upgrade-x/first.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/12-partial-upgrade-x/first.yaml
new file mode 100644 (file)
index 0000000..68c9d44
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- install.upgrade:
+    osd.0:
+- ceph.restart:
+    daemons: [osd.0, osd.1, osd.2]
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/13-thrash/default.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/13-thrash/default.yaml
new file mode 100644 (file)
index 0000000..a85510e
--- /dev/null
@@ -0,0 +1,12 @@
+overrides:
+  ceph:
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+    - log bound mismatch
+tasks:
+- thrashosds:
+    timeout: 1200
+    chance_pgnum_grow: 1
+    chance_pgpnum_fix: 1
+    thrash_primary_affinity: false
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/14-mona-upgrade-x/mona.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/14-mona-upgrade-x/mona.yaml
new file mode 100644 (file)
index 0000000..b6ffb33
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- ceph.restart:
+    daemons: [mon.a]
+    wait-for-healthy: false
+    wait-for-osds-up: true
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/15-workload/rbd-import-export.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/15-workload/rbd-import-export.yaml
new file mode 100644 (file)
index 0000000..4907082
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rbd/import_export.sh
+    env:
+      RBD_CREATE_ARGS: --new-format
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/16-monb-upgrade-x/monb.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/16-monb-upgrade-x/monb.yaml
new file mode 100644 (file)
index 0000000..513890c
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- ceph.restart:
+    daemons: [mon.b]
+    wait-for-healthy: false
+    wait-for-osds-up: true
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/17-workload/readwrite.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/17-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/dumpling-firefly-x/stress-split/18-monc-upgrade-x/monc.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/18-monc-upgrade-x/monc.yaml
new file mode 100644 (file)
index 0000000..e927323
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- ceph.restart:
+    daemons: [mon.c]
+    wait-for-healthy: false
+    wait-for-osds-up: true
+- ceph.wait_for_mon_quorum: [a, b, c]
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/19-workload/radosbench.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/19-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/dumpling-firefly-x/stress-split/2-partial-upgrade-firefly/firsthalf.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/2-partial-upgrade-firefly/firsthalf.yaml
new file mode 100644 (file)
index 0000000..1098b08
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- install.upgrade:
+    osd.0:
+      branch: firefly
+- ceph.restart:
+    daemons: [osd.0, osd.1, osd.2]
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/20-osds-upgrade-x/osds_secondhalf.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/20-osds-upgrade-x/osds_secondhalf.yaml
new file mode 100644 (file)
index 0000000..88d4bb5
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- install.upgrade:
+    osd.3:
+- ceph.restart:
+    daemons: [osd.3, osd.4, osd.5]
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rados_stress_watch.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rados_stress_watch.yaml
new file mode 100644 (file)
index 0000000..0e1ba01
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rados/stress_watch.sh
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rbd_cls_tests.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rbd_cls_tests.yaml
new file mode 100644 (file)
index 0000000..9ccd57c
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - cls/test_cls_rbd.sh
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rgw-swift.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rgw-swift.yaml
new file mode 100644 (file)
index 0000000..6be62e2
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- rgw: [client.0]
+    default_idle_timeout: 300
+- swift:
+    client.0:
+      rgw_server: client.0
+
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/3-thrash/default.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/3-thrash/default.yaml
new file mode 100644 (file)
index 0000000..a85510e
--- /dev/null
@@ -0,0 +1,12 @@
+overrides:
+  ceph:
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+    - log bound mismatch
+tasks:
+- thrashosds:
+    timeout: 1200
+    chance_pgnum_grow: 1
+    chance_pgpnum_fix: 1
+    thrash_primary_affinity: false
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/4-mona-upgrade-firefly/mona.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/4-mona-upgrade-firefly/mona.yaml
new file mode 100644 (file)
index 0000000..b6ffb33
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- ceph.restart:
+    daemons: [mon.a]
+    wait-for-healthy: false
+    wait-for-osds-up: true
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/5-workload/rbd-cls.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/5-workload/rbd-cls.yaml
new file mode 100644 (file)
index 0000000..db3dff7
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- workunit:
+    branch: dumpling
+    clients:
+      client.0:
+        - cls/test_cls_rbd.sh
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/5-workload/readwrite.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/5-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/dumpling-firefly-x/stress-split/6-monb-upgrade-firefly/monb.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/6-monb-upgrade-firefly/monb.yaml
new file mode 100644 (file)
index 0000000..513890c
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- ceph.restart:
+    daemons: [mon.b]
+    wait-for-healthy: false
+    wait-for-osds-up: true
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/7-workload/radosbench.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/7-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/dumpling-firefly-x/stress-split/7-workload/rbd_api.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/7-workload/rbd_api.yaml
new file mode 100644 (file)
index 0000000..1ecaee4
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+     clients:
+        client.0:
+           - rbd/test_librbd.sh
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/8-monc-upgrade-firefly/monc.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/8-monc-upgrade-firefly/monc.yaml
new file mode 100644 (file)
index 0000000..73f22bd
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- install.upgrade:
+    mon.c:
+- ceph.restart:
+    daemons: [mon.c]
+    wait-for-healthy: false
+    wait-for-osds-up: true
+- ceph.wait_for_mon_quorum: [a, b, c]
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/+ b/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rbd-python.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rbd-python.yaml
new file mode 100644 (file)
index 0000000..263b784
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+    clients:
+      client.0:
+        - rbd/test_librbd_python.sh
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rgw-s3tests.yaml b/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rgw-s3tests.yaml
new file mode 100644 (file)
index 0000000..e56a598
--- /dev/null
@@ -0,0 +1,8 @@
+tasks:
+- rgw:
+    default_idle_timeout: 300
+    client.0:
+- s3tests:
+    client.0:
+      rgw_server: client.0
+
diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/distros b/suites/upgrade/dumpling-firefly-x/stress-split/distros
new file mode 120000 (symlink)
index 0000000..79010c3
--- /dev/null
@@ -0,0 +1 @@
+../../../../distros/supported
\ No newline at end of file
diff --git a/suites/upgrade/firefly-x/stress-split/9-workload/rgw-s3tests.yaml b/suites/upgrade/firefly-x/stress-split/9-workload/rgw-s3tests.yaml
deleted file mode 100644 (file)
index e44546d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-tasks:
-- rgw:
-    default_idle_timeout: 300
-    client.0:
-- swift:
-    client.0:
-      rgw_server: client.0
-
diff --git a/suites/upgrade/firefly-x/stress-split/9-workload/rgw-swift.yaml b/suites/upgrade/firefly-x/stress-split/9-workload/rgw-swift.yaml
new file mode 100644 (file)
index 0000000..6be62e2
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+- rgw: [client.0]
+    default_idle_timeout: 300
+- swift:
+    client.0:
+      rgw_server: client.0
+