From 1c2062e495025a7d384dc13c99a8429439f57370 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 23 Jul 2013 15:00:38 -0700 Subject: [PATCH] upgrade-parallel: add stress-split collection --- .../stress-split/0-cluster/start.yaml | 12 ++++++++++++ .../1-cuttlefish-install/cuttlefish.yaml | 4 ++++ .../stress-split/2-partial-upgrade/firsthalf.yaml | 6 ++++++ .../stress-split/3-thrash/default.yaml | 10 ++++++++++ .../stress-split/4-workload/rados_api_tests.yaml | 5 +++++ .../stress-split/4-workload/radosbench.yaml | 4 ++++ .../stress-split/4-workload/readwrite.yaml | 9 +++++++++ .../stress-split/4-workload/snaps-few-objects.yaml | 12 ++++++++++++ .../stress-split/4-workload/snaps-many-objects.yaml | 12 ++++++++++++ .../stress-split/5-next-mon/monb.yaml | 3 +++ .../stress-split/6-workload/rados_api_tests.yaml | 5 +++++ 11 files changed, 82 insertions(+) create mode 100644 suites/upgrade-parallel/stress-split/0-cluster/start.yaml create mode 100644 suites/upgrade-parallel/stress-split/1-cuttlefish-install/cuttlefish.yaml create mode 100644 suites/upgrade-parallel/stress-split/2-partial-upgrade/firsthalf.yaml create mode 100644 suites/upgrade-parallel/stress-split/3-thrash/default.yaml create mode 100644 suites/upgrade-parallel/stress-split/4-workload/rados_api_tests.yaml create mode 100644 suites/upgrade-parallel/stress-split/4-workload/radosbench.yaml create mode 100644 suites/upgrade-parallel/stress-split/4-workload/readwrite.yaml create mode 100644 suites/upgrade-parallel/stress-split/4-workload/snaps-few-objects.yaml create mode 100644 suites/upgrade-parallel/stress-split/4-workload/snaps-many-objects.yaml create mode 100644 suites/upgrade-parallel/stress-split/5-next-mon/monb.yaml create mode 100644 suites/upgrade-parallel/stress-split/6-workload/rados_api_tests.yaml 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 index 0000000000000..a3d48e1dc9a25 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/0-cluster/start.yaml @@ -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 index 0000000000000..b259af97269f4 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/1-cuttlefish-install/cuttlefish.yaml @@ -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 index 0000000000000..6f6c889a87965 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/2-partial-upgrade/firsthalf.yaml @@ -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 index 0000000000000..d67ff20a693ee --- /dev/null +++ b/suites/upgrade-parallel/stress-split/3-thrash/default.yaml @@ -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 index 0000000000000..cd11ae6ca0c11 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/4-workload/rados_api_tests.yaml @@ -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 index 0000000000000..3940870fce0f9 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/4-workload/radosbench.yaml @@ -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 index 0000000000000..c53e52b0872b6 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/4-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-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 index 0000000000000..c54039766c0b7 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/4-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-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 index 0000000000000..9e311c946e1a4 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/4-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-parallel/stress-split/5-next-mon/monb.yaml b/suites/upgrade-parallel/stress-split/5-next-mon/monb.yaml new file mode 100644 index 0000000000000..2c6c346987697 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/5-next-mon/monb.yaml @@ -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 index 0000000000000..cd11ae6ca0c11 --- /dev/null +++ b/suites/upgrade-parallel/stress-split/6-workload/rados_api_tests.yaml @@ -0,0 +1,5 @@ +tasks: +- workunit: + clients: + client.0: + - rados/test.sh -- 2.39.5