From: tamil Date: Fri, 3 Oct 2014 23:22:34 +0000 (-0700) Subject: upgrade suite for stress-split tests for d-f-x X-Git-Tag: v0.94.10~27^2^2~272^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ad5429992b22f6d7188e8701c5fe55ba4e0552e;p=ceph.git upgrade suite for stress-split tests for d-f-x Signed-off-by: tamil --- diff --git a/suites/upgrade/dumpling-firefly-x/stress-split/% b/suites/upgrade/dumpling-firefly-x/stress-split/% new file mode 100644 index 0000000000000..e69de29bb2d1d 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 index 0000000000000..504e20e246788 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/0-cluster/start.yaml @@ -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 index 0000000000000..c98631e2bbdd2 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/1-dumpling-install/dumpling.yaml @@ -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 index 0000000000000..917894b2fe4b0 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/10-osds-upgrade-firefly/secondhalf.yaml @@ -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 index 0000000000000..c54039766c0b7 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/11-workload/snaps-few-objects.yaml @@ -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 index 0000000000000..68c9d44b7c34b --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/12-partial-upgrade-x/first.yaml @@ -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 index 0000000000000..a85510eb6fa3a --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/13-thrash/default.yaml @@ -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 index 0000000000000..b6ffb3323d11e --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/14-mona-upgrade-x/mona.yaml @@ -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 index 0000000000000..49070827be09b --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/15-workload/rbd-import-export.yaml @@ -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 index 0000000000000..513890c41c015 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/16-monb-upgrade-x/monb.yaml @@ -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 index 0000000000000..c53e52b0872b6 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/17-workload/readwrite.yaml @@ -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 index 0000000000000..e9273236ba331 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/18-monc-upgrade-x/monc.yaml @@ -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 index 0000000000000..3940870fce0f9 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/19-workload/radosbench.yaml @@ -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 index 0000000000000..1098b089d88be --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/2-partial-upgrade-firefly/firsthalf.yaml @@ -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 index 0000000000000..88d4bb5ec983b --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/20-osds-upgrade-x/osds_secondhalf.yaml @@ -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 index 0000000000000..0e1ba010c5b4e --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rados_stress_watch.yaml @@ -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 index 0000000000000..9ccd57c4a82a7 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rbd_cls_tests.yaml @@ -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 index 0000000000000..6be62e2c82abf --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/21-final-workload/rgw-swift.yaml @@ -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 index 0000000000000..a85510eb6fa3a --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/3-thrash/default.yaml @@ -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 index 0000000000000..b6ffb3323d11e --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/4-mona-upgrade-firefly/mona.yaml @@ -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 index 0000000000000..db3dff7fc5c06 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/5-workload/rbd-cls.yaml @@ -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 index 0000000000000..c53e52b0872b6 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/5-workload/readwrite.yaml @@ -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 index 0000000000000..513890c41c015 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/6-monb-upgrade-firefly/monb.yaml @@ -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 index 0000000000000..3940870fce0f9 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/7-workload/radosbench.yaml @@ -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 index 0000000000000..1ecaee4bf78fa --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/7-workload/rbd_api.yaml @@ -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 index 0000000000000..73f22bd5f7cfc --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/8-monc-upgrade-firefly/monc.yaml @@ -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 index 0000000000000..e69de29bb2d1d 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 index 0000000000000..263b784e27dd2 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rbd-python.yaml @@ -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 index 0000000000000..e56a5981094df --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/9-workload/rgw-s3tests.yaml @@ -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 index 0000000000000..79010c36a5998 --- /dev/null +++ b/suites/upgrade/dumpling-firefly-x/stress-split/distros @@ -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 index e44546dbcaa64..0000000000000 --- a/suites/upgrade/firefly-x/stress-split/9-workload/rgw-s3tests.yaml +++ /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 index 0000000000000..6be62e2c82abf --- /dev/null +++ b/suites/upgrade/firefly-x/stress-split/9-workload/rgw-swift.yaml @@ -0,0 +1,7 @@ +tasks: +- rgw: [client.0] + default_idle_timeout: 300 +- swift: + client.0: + rgw_server: client.0 +