From 32ff3123b9e1a2ae6b939052eb5bfa93f0dbfafd Mon Sep 17 00:00:00 2001 From: tamil Date: Fri, 26 Jul 2013 16:28:18 -0700 Subject: [PATCH] added fs, rbd and rgw tasks to upgrade from bobtail and point releases[v0.61.5, v0.61.6] to cuttlefish. Signed-off-by: tamil --- .../fs/0-cluster/start.yaml | 17 +++++++++ .../1-cuttlefish-install/bobtail.v0.61.5.yaml | 11 ++++++ .../fs/1-cuttlefish-install/v0.61.5.yaml | 7 ++++ .../fs/1-cuttlefish-install/v0.61.6.yaml | 7 ++++ .../fs/2-workload/blogbench.yaml | 5 +++ .../upgrade-mds-mon-osd.yaml | 33 +++++++++++++++++ .../upgrade-mon-osd-mds.yaml | 33 +++++++++++++++++ .../upgrade-osd-mon-mds.yaml | 33 +++++++++++++++++ .../fs/4-final/monthrash.yaml | 10 ++++++ .../fs/4-final/osdthrash.yaml | 16 +++++++++ .../rbd/0-cluster/start.yaml | 17 +++++++++ .../1-cuttlefish-install/bobtail.v0.61.5.yaml | 11 ++++++ .../rbd/1-cuttlefish-install/v0.61.5.yaml | 7 ++++ .../rbd/1-cuttlefish-install/v0.61.6.yaml | 7 ++++ .../rbd/2-workload/rbd.yaml | 14 ++++++++ .../upgrade-mds-mon-osd.yaml | 33 +++++++++++++++++ .../upgrade-mon-osd-mds.yaml | 33 +++++++++++++++++ .../upgrade-osd-mon-mds.yaml | 33 +++++++++++++++++ .../rbd/4-final/monthrash.yaml | 11 ++++++ .../rbd/4-final/osdthrash.yaml | 15 ++++++++ .../rgw/0-cluster/start.yaml | 17 +++++++++ .../1-cuttlefish-install/bobtail.v0.61.5.yaml | 11 ++++++ .../rgw/1-cuttlefish-install/v0.61.5.yaml | 7 ++++ .../rgw/1-cuttlefish-install/v0.61.6.yaml | 7 ++++ .../rgw/2-workload/testrgw.yaml | 6 ++++ .../upgrade-mds-mon-osd.yaml | 36 +++++++++++++++++++ .../upgrade-mon-osd-mds.yaml | 36 +++++++++++++++++++ .../upgrade-osd-mon-mds.yaml | 36 +++++++++++++++++++ .../rgw/4-final/monthrash.yaml | 8 +++++ .../rgw/4-final/osdthrash.yaml | 14 ++++++++ 30 files changed, 531 insertions(+) create mode 100644 suites/upgrade-cuttlefish/fs/0-cluster/start.yaml create mode 100644 suites/upgrade-cuttlefish/fs/1-cuttlefish-install/bobtail.v0.61.5.yaml create mode 100644 suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.5.yaml create mode 100644 suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.6.yaml create mode 100644 suites/upgrade-cuttlefish/fs/2-workload/blogbench.yaml create mode 100644 suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mds-mon-osd.yaml create mode 100644 suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mon-osd-mds.yaml create mode 100644 suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-osd-mon-mds.yaml create mode 100644 suites/upgrade-cuttlefish/fs/4-final/monthrash.yaml create mode 100644 suites/upgrade-cuttlefish/fs/4-final/osdthrash.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/0-cluster/start.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/bobtail.v0.61.5.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.5.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.6.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/2-workload/rbd.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mds-mon-osd.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mon-osd-mds.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-osd-mon-mds.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/4-final/monthrash.yaml create mode 100644 suites/upgrade-cuttlefish/rbd/4-final/osdthrash.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/0-cluster/start.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/bobtail.v0.61.5.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.5.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.6.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/2-workload/testrgw.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mds-mon-osd.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mon-osd-mds.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-osd-mon-mds.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/4-final/monthrash.yaml create mode 100644 suites/upgrade-cuttlefish/rgw/4-final/osdthrash.yaml diff --git a/suites/upgrade-cuttlefish/fs/0-cluster/start.yaml b/suites/upgrade-cuttlefish/fs/0-cluster/start.yaml new file mode 100644 index 0000000000000..c1acc4e8ad651 --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/0-cluster/start.yaml @@ -0,0 +1,17 @@ +overrides: + ceph: + log-whitelist: + - scrub + fs: xfs +roles: +- - mon.a + - mds.a + - osd.0 + - osd.1 + - osd.2 +- - mon.b + - mon.c + - osd.3 + - osd.4 + - osd.5 + - client.0 diff --git a/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/bobtail.v0.61.5.yaml b/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/bobtail.v0.61.5.yaml new file mode 100644 index 0000000000000..286cdd666243a --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/bobtail.v0.61.5.yaml @@ -0,0 +1,11 @@ +tasks: +- install: + branch: bobtail +- ceph: +- install.upgrade: + all: + tag: v0.61.5 +- ceph.restart: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.5.yaml b/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.5.yaml new file mode 100644 index 0000000000000..07d04317ec15e --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.5.yaml @@ -0,0 +1,7 @@ +tasks: +- install: + tag: v0.61.5 +- ceph: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.6.yaml b/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.6.yaml new file mode 100644 index 0000000000000..9d74ab38f00c3 --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/1-cuttlefish-install/v0.61.6.yaml @@ -0,0 +1,7 @@ +tasks: +- install: + tag: v0.61.6 +- ceph: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/fs/2-workload/blogbench.yaml b/suites/upgrade-cuttlefish/fs/2-workload/blogbench.yaml new file mode 100644 index 0000000000000..0cd59eaafdea3 --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/2-workload/blogbench.yaml @@ -0,0 +1,5 @@ +workload: + workunit: + clients: + all: + - suites/blogbench.sh diff --git a/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mds-mon-osd.yaml b/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mds-mon-osd.yaml new file mode 100644 index 0000000000000..c97aef77e13ad --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mds-mon-osd.yaml @@ -0,0 +1,33 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] diff --git a/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mon-osd-mds.yaml b/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mon-osd-mds.yaml new file mode 100644 index 0000000000000..9d06ef37d05a4 --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-mon-osd-mds.yaml @@ -0,0 +1,33 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] diff --git a/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-osd-mon-mds.yaml b/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-osd-mon-mds.yaml new file mode 100644 index 0000000000000..dd76b10b5ce7b --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/3-upgrade-sequence/upgrade-osd-mon-mds.yaml @@ -0,0 +1,33 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] + - sleep: + duration: 60 + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [mds.a] diff --git a/suites/upgrade-cuttlefish/fs/4-final/monthrash.yaml b/suites/upgrade-cuttlefish/fs/4-final/monthrash.yaml new file mode 100644 index 0000000000000..13af446eb3b2a --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/4-final/monthrash.yaml @@ -0,0 +1,10 @@ +tasks: +- mon_thrash: + revive_delay: 20 + thrash_delay: 1 +- ceph-fuse: +- workunit: + clients: + client.0: + - suites/dbench.sh + diff --git a/suites/upgrade-cuttlefish/fs/4-final/osdthrash.yaml b/suites/upgrade-cuttlefish/fs/4-final/osdthrash.yaml new file mode 100644 index 0000000000000..b335de3920a36 --- /dev/null +++ b/suites/upgrade-cuttlefish/fs/4-final/osdthrash.yaml @@ -0,0 +1,16 @@ +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 +- ceph-fuse: +- workunit: + clients: + all: + - suites/iogen.sh + diff --git a/suites/upgrade-cuttlefish/rbd/0-cluster/start.yaml b/suites/upgrade-cuttlefish/rbd/0-cluster/start.yaml new file mode 100644 index 0000000000000..c1acc4e8ad651 --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/0-cluster/start.yaml @@ -0,0 +1,17 @@ +overrides: + ceph: + log-whitelist: + - scrub + fs: xfs +roles: +- - mon.a + - mds.a + - osd.0 + - osd.1 + - osd.2 +- - mon.b + - mon.c + - osd.3 + - osd.4 + - osd.5 + - client.0 diff --git a/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/bobtail.v0.61.5.yaml b/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/bobtail.v0.61.5.yaml new file mode 100644 index 0000000000000..286cdd666243a --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/bobtail.v0.61.5.yaml @@ -0,0 +1,11 @@ +tasks: +- install: + branch: bobtail +- ceph: +- install.upgrade: + all: + tag: v0.61.5 +- ceph.restart: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.5.yaml b/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.5.yaml new file mode 100644 index 0000000000000..07d04317ec15e --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.5.yaml @@ -0,0 +1,7 @@ +tasks: +- install: + tag: v0.61.5 +- ceph: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.6.yaml b/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.6.yaml new file mode 100644 index 0000000000000..9d74ab38f00c3 --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/1-cuttlefish-install/v0.61.6.yaml @@ -0,0 +1,7 @@ +tasks: +- install: + tag: v0.61.6 +- ceph: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/rbd/2-workload/rbd.yaml b/suites/upgrade-cuttlefish/rbd/2-workload/rbd.yaml new file mode 100644 index 0000000000000..ce2fabe035958 --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/2-workload/rbd.yaml @@ -0,0 +1,14 @@ +workload: + sequential: + - workunit: + clients: + client.0: + - rbd/import_export.sh + env: + RBD_CREATE_ARGS: --new-format + - workunit: + clients: + client.0: + - cls/test_cls_rbd.sh + + diff --git a/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mds-mon-osd.yaml b/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mds-mon-osd.yaml new file mode 100644 index 0000000000000..c97aef77e13ad --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mds-mon-osd.yaml @@ -0,0 +1,33 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] diff --git a/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mon-osd-mds.yaml b/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mon-osd-mds.yaml new file mode 100644 index 0000000000000..9d06ef37d05a4 --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-mon-osd-mds.yaml @@ -0,0 +1,33 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] diff --git a/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-osd-mon-mds.yaml b/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-osd-mon-mds.yaml new file mode 100644 index 0000000000000..dd76b10b5ce7b --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/3-upgrade-sequence/upgrade-osd-mon-mds.yaml @@ -0,0 +1,33 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] + - sleep: + duration: 60 + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [mds.a] diff --git a/suites/upgrade-cuttlefish/rbd/4-final/monthrash.yaml b/suites/upgrade-cuttlefish/rbd/4-final/monthrash.yaml new file mode 100644 index 0000000000000..593191c24f5aa --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/4-final/monthrash.yaml @@ -0,0 +1,11 @@ +tasks: +- mon_thrash: + revive_delay: 20 + thrash_delay: 1 +- workunit: + clients: + client.0: + - rbd/copy.sh + env: + RBD_CREATE_ARGS: --new-format + diff --git a/suites/upgrade-cuttlefish/rbd/4-final/osdthrash.yaml b/suites/upgrade-cuttlefish/rbd/4-final/osdthrash.yaml new file mode 100644 index 0000000000000..dbe4196225158 --- /dev/null +++ b/suites/upgrade-cuttlefish/rbd/4-final/osdthrash.yaml @@ -0,0 +1,15 @@ +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 +- workunit: + clients: + client.0: + - rbd/test_lock_fence.sh + diff --git a/suites/upgrade-cuttlefish/rgw/0-cluster/start.yaml b/suites/upgrade-cuttlefish/rgw/0-cluster/start.yaml new file mode 100644 index 0000000000000..c1acc4e8ad651 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/0-cluster/start.yaml @@ -0,0 +1,17 @@ +overrides: + ceph: + log-whitelist: + - scrub + fs: xfs +roles: +- - mon.a + - mds.a + - osd.0 + - osd.1 + - osd.2 +- - mon.b + - mon.c + - osd.3 + - osd.4 + - osd.5 + - client.0 diff --git a/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/bobtail.v0.61.5.yaml b/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/bobtail.v0.61.5.yaml new file mode 100644 index 0000000000000..286cdd666243a --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/bobtail.v0.61.5.yaml @@ -0,0 +1,11 @@ +tasks: +- install: + branch: bobtail +- ceph: +- install.upgrade: + all: + tag: v0.61.5 +- ceph.restart: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.5.yaml b/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.5.yaml new file mode 100644 index 0000000000000..07d04317ec15e --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.5.yaml @@ -0,0 +1,7 @@ +tasks: +- install: + tag: v0.61.5 +- ceph: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.6.yaml b/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.6.yaml new file mode 100644 index 0000000000000..9d74ab38f00c3 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/1-cuttlefish-install/v0.61.6.yaml @@ -0,0 +1,7 @@ +tasks: +- install: + tag: v0.61.6 +- ceph: +- parallel: + - workload + - upgrade-sequence diff --git a/suites/upgrade-cuttlefish/rgw/2-workload/testrgw.yaml b/suites/upgrade-cuttlefish/rgw/2-workload/testrgw.yaml new file mode 100644 index 0000000000000..f1b2f3e88ef69 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/2-workload/testrgw.yaml @@ -0,0 +1,6 @@ +workload: + rgw: [client.0] + s3tests: + client.0: + rgw_server: client.0 + diff --git a/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mds-mon-osd.yaml b/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mds-mon-osd.yaml new file mode 100644 index 0000000000000..0de4f185fa292 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mds-mon-osd.yaml @@ -0,0 +1,36 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] + - sleep: + duration: 30 + - ceph.restart: [rgw.client.0] diff --git a/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mon-osd-mds.yaml b/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mon-osd-mds.yaml new file mode 100644 index 0000000000000..c7fa40f1f50a7 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-mon-osd-mds.yaml @@ -0,0 +1,36 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] + - sleep: + duration: 30 + - ceph.restart: [rgw.client.0] diff --git a/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-osd-mon-mds.yaml b/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-osd-mon-mds.yaml new file mode 100644 index 0000000000000..0d0639ed74a72 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/3-upgrade-sequence/upgrade-osd-mon-mds.yaml @@ -0,0 +1,36 @@ +upgrade-sequence: + sequential: + - install.upgrade: + all: + branch: cuttlefish + - ceph.restart: [osd.0] + - sleep: + duration: 30 + - ceph.restart: [osd.1] + - sleep: + duration: 30 + - ceph.restart: [osd.2] + - sleep: + duration: 30 + - ceph.restart: [osd.3] + - sleep: + duration: 30 + - ceph.restart: [osd.4] + - sleep: + duration: 30 + - ceph.restart: [osd.5] + - sleep: + duration: 60 + - ceph.restart: [mon.a] + - sleep: + duration: 60 + - ceph.restart: [mon.b] + - sleep: + duration: 60 + - ceph.restart: [mon.c] + - sleep: + duration: 60 + - ceph.restart: [mds.a] + - sleep: + duration: 60 + - ceph.restart: [rgw.client.0] diff --git a/suites/upgrade-cuttlefish/rgw/4-final/monthrash.yaml b/suites/upgrade-cuttlefish/rgw/4-final/monthrash.yaml new file mode 100644 index 0000000000000..9361edc8015d5 --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/4-final/monthrash.yaml @@ -0,0 +1,8 @@ +tasks: +- mon_thrash: + revive_delay: 20 + thrash_delay: 1 +- swift: + client.0: + rgw_server: client.0 + diff --git a/suites/upgrade-cuttlefish/rgw/4-final/osdthrash.yaml b/suites/upgrade-cuttlefish/rgw/4-final/osdthrash.yaml new file mode 100644 index 0000000000000..44028734d255a --- /dev/null +++ b/suites/upgrade-cuttlefish/rgw/4-final/osdthrash.yaml @@ -0,0 +1,14 @@ +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 +- swift: + client.0: + rgw_server: client.0 + -- 2.39.5