From c729372aaae82b8fb0a31a42f24d96924078282f Mon Sep 17 00:00:00 2001 From: Warren Usui Date: Mon, 8 Sep 2014 20:56:14 -0700 Subject: [PATCH] Create dumpling-giant-x stress-split upgrade suite Fixes: 9357 Signed-off-by: Warren Usui --- suites/upgrade/dumpling-giant-x/stress-split/% | 0 .../stress-split/0-cluster/start.yaml | 17 +++++++++++++++++ .../1-dumpling-install/dumpling.yaml | 5 +++++ .../2-partial-upgrade/firsthalf.yaml | 5 +++++ .../stress-split/3-thrash/default.yaml | 12 ++++++++++++ .../stress-split/4-mon/mona.yaml | 5 +++++ .../dumpling-giant-x/stress-split/5-workload/+ | 0 .../5-workload/rados_api_tests.yaml | 6 ++++++ .../stress-split/5-workload/rbd-cls.yaml | 6 ++++++ .../5-workload/rbd-import-export.yaml | 8 ++++++++ .../stress-split/5-workload/readwrite.yaml | 9 +++++++++ .../5-workload/snaps-few-objects.yaml | 12 ++++++++++++ .../stress-split/6-next-mon/monb.yaml | 5 +++++ .../dumpling-giant-x/stress-split/7-workload/+ | 0 .../7-workload/rados_api_tests.yaml | 6 ++++++ .../stress-split/7-workload/radosbench.yaml | 4 ++++ .../stress-split/7-workload/rbd_api.yaml | 6 ++++++ .../stress-split/8-next-mon/monc.yaml | 8 ++++++++ .../dumpling-giant-x/stress-split/9-workload/+ | 0 .../9-workload/rados_api_tests.yaml | 6 ++++++ .../stress-split/9-workload/rbd-python.yaml | 6 ++++++ .../stress-split/9-workload/rgw-s3tests.yaml | 8 ++++++++ .../9-workload/snaps-many-objects.yaml | 12 ++++++++++++ .../dumpling-giant-x/stress-split/distros | 1 + 24 files changed, 147 insertions(+) create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/% create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/0-cluster/start.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/1-dumpling-install/dumpling.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/2-partial-upgrade/firsthalf.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/3-thrash/default.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/4-mon/mona.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/5-workload/+ create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/5-workload/rados_api_tests.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-cls.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-import-export.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/5-workload/readwrite.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/5-workload/snaps-few-objects.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/6-next-mon/monb.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/7-workload/+ create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/7-workload/rados_api_tests.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/7-workload/radosbench.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/7-workload/rbd_api.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/8-next-mon/monc.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/9-workload/+ create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/9-workload/rados_api_tests.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/9-workload/rbd-python.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/9-workload/rgw-s3tests.yaml create mode 100644 suites/upgrade/dumpling-giant-x/stress-split/9-workload/snaps-many-objects.yaml create mode 120000 suites/upgrade/dumpling-giant-x/stress-split/distros diff --git a/suites/upgrade/dumpling-giant-x/stress-split/% b/suites/upgrade/dumpling-giant-x/stress-split/% new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/suites/upgrade/dumpling-giant-x/stress-split/0-cluster/start.yaml b/suites/upgrade/dumpling-giant-x/stress-split/0-cluster/start.yaml new file mode 100644 index 0000000000000..504e20e246788 --- /dev/null +++ b/suites/upgrade/dumpling-giant-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-giant-x/stress-split/1-dumpling-install/dumpling.yaml b/suites/upgrade/dumpling-giant-x/stress-split/1-dumpling-install/dumpling.yaml new file mode 100644 index 0000000000000..c98631e2bbdd2 --- /dev/null +++ b/suites/upgrade/dumpling-giant-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-giant-x/stress-split/2-partial-upgrade/firsthalf.yaml b/suites/upgrade/dumpling-giant-x/stress-split/2-partial-upgrade/firsthalf.yaml new file mode 100644 index 0000000000000..312df6e21c696 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/2-partial-upgrade/firsthalf.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-giant-x/stress-split/3-thrash/default.yaml b/suites/upgrade/dumpling-giant-x/stress-split/3-thrash/default.yaml new file mode 100644 index 0000000000000..a85510eb6fa3a --- /dev/null +++ b/suites/upgrade/dumpling-giant-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-giant-x/stress-split/4-mon/mona.yaml b/suites/upgrade/dumpling-giant-x/stress-split/4-mon/mona.yaml new file mode 100644 index 0000000000000..b6ffb3323d11e --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/4-mon/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-giant-x/stress-split/5-workload/+ b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/+ new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rados_api_tests.yaml b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rados_api_tests.yaml new file mode 100644 index 0000000000000..d9a7270ef6e89 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rados_api_tests.yaml @@ -0,0 +1,6 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - rados/test-upgrade-giant.sh diff --git a/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-cls.yaml b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-cls.yaml new file mode 100644 index 0000000000000..6cbf3b34f3253 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-cls.yaml @@ -0,0 +1,6 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - cls/test_cls_rbd.sh diff --git a/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-import-export.yaml b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-import-export.yaml new file mode 100644 index 0000000000000..1faca21c6feb7 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/rbd-import-export.yaml @@ -0,0 +1,8 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - rbd/import_export.sh + env: + RBD_CREATE_ARGS: --new-format diff --git a/suites/upgrade/dumpling-giant-x/stress-split/5-workload/readwrite.yaml b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/readwrite.yaml new file mode 100644 index 0000000000000..c53e52b0872b6 --- /dev/null +++ b/suites/upgrade/dumpling-giant-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-giant-x/stress-split/5-workload/snaps-few-objects.yaml b/suites/upgrade/dumpling-giant-x/stress-split/5-workload/snaps-few-objects.yaml new file mode 100644 index 0000000000000..c54039766c0b7 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/5-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-giant-x/stress-split/6-next-mon/monb.yaml b/suites/upgrade/dumpling-giant-x/stress-split/6-next-mon/monb.yaml new file mode 100644 index 0000000000000..513890c41c015 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/6-next-mon/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-giant-x/stress-split/7-workload/+ b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/+ new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/suites/upgrade/dumpling-giant-x/stress-split/7-workload/rados_api_tests.yaml b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/rados_api_tests.yaml new file mode 100644 index 0000000000000..d9a7270ef6e89 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/rados_api_tests.yaml @@ -0,0 +1,6 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - rados/test-upgrade-giant.sh diff --git a/suites/upgrade/dumpling-giant-x/stress-split/7-workload/radosbench.yaml b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/radosbench.yaml new file mode 100644 index 0000000000000..3940870fce0f9 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/radosbench.yaml @@ -0,0 +1,4 @@ +tasks: +- radosbench: + clients: [client.0] + time: 1800 diff --git a/suites/upgrade/dumpling-giant-x/stress-split/7-workload/rbd_api.yaml b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/rbd_api.yaml new file mode 100644 index 0000000000000..eb3336ebb048a --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/7-workload/rbd_api.yaml @@ -0,0 +1,6 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - rbd/test_librbd.sh diff --git a/suites/upgrade/dumpling-giant-x/stress-split/8-next-mon/monc.yaml b/suites/upgrade/dumpling-giant-x/stress-split/8-next-mon/monc.yaml new file mode 100644 index 0000000000000..73f22bd5f7cfc --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/8-next-mon/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-giant-x/stress-split/9-workload/+ b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/+ new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rados_api_tests.yaml b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rados_api_tests.yaml new file mode 100644 index 0000000000000..d9a7270ef6e89 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rados_api_tests.yaml @@ -0,0 +1,6 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - rados/test-upgrade-giant.sh diff --git a/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rbd-python.yaml b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rbd-python.yaml new file mode 100644 index 0000000000000..4f18d1eb2bde0 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rbd-python.yaml @@ -0,0 +1,6 @@ +tasks: +- workunit: + branch: giant + clients: + client.0: + - rbd/test_librbd_python.sh diff --git a/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rgw-s3tests.yaml b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rgw-s3tests.yaml new file mode 100644 index 0000000000000..e44546dbcaa64 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/rgw-s3tests.yaml @@ -0,0 +1,8 @@ +tasks: +- rgw: + default_idle_timeout: 300 + client.0: +- swift: + client.0: + rgw_server: client.0 + diff --git a/suites/upgrade/dumpling-giant-x/stress-split/9-workload/snaps-many-objects.yaml b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/snaps-many-objects.yaml new file mode 100644 index 0000000000000..9e311c946e1a4 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/9-workload/snaps-many-objects.yaml @@ -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/dumpling-giant-x/stress-split/distros b/suites/upgrade/dumpling-giant-x/stress-split/distros new file mode 120000 index 0000000000000..79010c36a5998 --- /dev/null +++ b/suites/upgrade/dumpling-giant-x/stress-split/distros @@ -0,0 +1 @@ +../../../../distros/supported \ No newline at end of file -- 2.39.5