added upgrade suite for dumpling-firefly-giant

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
(cherry picked from commit c7603c0b78)

Conflicts:

	suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-daemon.yaml
	suites/upgrade/firefly-giant-x/parallel/5-upgrade-sequence/upgrade-by-type.yaml
This commit is contained in:
tamil 2014-09-24 01:30:24 -07:00
parent 3ea4b1dcd4
commit 2ac486d361
25 changed files with 289 additions and 0 deletions

View File

@ -0,0 +1,19 @@
overrides:
ceph:
conf:
mon:
mon warn on legacy crush tunables: false
log-whitelist:
- scrub mismatch
- ScrubResult
roles:
- - mon.a
- mds.a
- osd.0
- osd.1
- - mon.b
- mon.c
- osd.2
- osd.3
- - client.0
- client.1

View File

@ -0,0 +1,9 @@
tasks:
- install:
branch: dumpling
- print: "**** done dumpling install ****"
- ceph:
fs: xfs
- parallel:
- workload
- print: "**** done parallel ****"

View File

@ -0,0 +1,9 @@
workload:
sequential:
- workunit:
branch: dumpling
clients:
client.0:
- rados/test.sh
- cls
- print: "**** done rados/test.sh & cls on dumpling "

View File

@ -0,0 +1,8 @@
workload:
sequential:
- workunit:
branch: dumpling
clients:
client.0:
- rbd/test_librbd.sh
- print: "**** done rbd/test_librbd.sh on dumpling"

View File

@ -0,0 +1,18 @@
tasks:
- install.upgrade:
mon.a:
branch: firefly
mon.b:
branch: firefly
client.0:
branch: firefly
- print: "**** done install.upgrade from dumpling to firefly"
- ceph.restart:
- print: "**** done restart"
- parallel:
- workload2
- upgrade-sequence
- print: "**** done parallel 2"
- install.upgrade:
client.0:
- print: "**** done install.upgrade client.0 to the version from teuthology-suite arg"

View File

@ -0,0 +1,8 @@
workload2:
sequential:
- workunit:
branch: firefly
clients:
client.0:
- rados/load-gen-big.sh
- print: "**** done rados/load-gen-big.sh on firefly"

View File

@ -0,0 +1,8 @@
workload2:
sequential:
- workunit:
branch: firefly
clients:
client.0:
- rbd/test_librbd_python.sh
- print: "**** done rbd/test_librbd_python.sh on firefly"

View File

@ -0,0 +1,40 @@
upgrade-sequence:
sequential:
- install.upgrade:
mon.a:
branch: giant
- print: "**** done install.upgrade mon.a to giant ****"
- ceph.restart:
daemons: [mon.a]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.0, osd.1]
wait-for-healthy: true
- sleep:
duration: 60
- print: "**** running mixed versions of osds and mons"
- exec:
mon.a:
- ceph osd crush tunables firefly
- install.upgrade:
mon.b:
branch: giant
- print: "**** done install.upgrade mon.b to giant ****"
- ceph.restart:
daemons: [mon.b, mon.c]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.2, osd.3]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart: [mds.a]
- sleep:
duration: 60
- exec:
mon.a:
- ceph osd crush tunables firefly

View File

@ -0,0 +1,40 @@
upgrade-sequence:
sequential:
- install.upgrade:
mon.a:
branch: giant
- print: "**** done install.upgrade mon.a to giant"
- ceph.restart:
daemons: [mon.a]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.0, osd.1]
wait-for-healthy: true
- sleep:
duration: 60
- print: "**** running mixed versions of osds and mons"
- exec:
mon.a:
- ceph osd crush tunables firefly
- install.upgrade:
mon.b:
branch: giant
- print: "**** done install.upgrade mon.b to giant"
- ceph.restart:
daemons: [mon.b, mon.c]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.2, osd.3]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart: [mds.a]
- sleep:
duration: 60
- exec:
mon.a:
- ceph osd crush tunables firefly

View File

@ -0,0 +1 @@
../../../../../erasure-code/ec-rados-default.yaml

View File

@ -0,0 +1 @@
../../../../../erasure-code/ec-rados-plugin=jerasure-k=3-m=1.yaml

View File

@ -0,0 +1,12 @@
tasks:
- rados:
clients: [client.1]
ops: 4000
objects: 50
op_weights:
read: 100
write: 100
delete: 50
snap_create: 50
snap_remove: 50
rollback: 50

View File

@ -0,0 +1,5 @@
tasks:
- workunit:
clients:
client.1:
- rados/load-gen-mix.sh

View File

@ -0,0 +1,10 @@
tasks:
- sequential:
- mon_thrash:
revive_delay: 20
thrash_delay: 1
- workunit:
clients:
client.1:
- rados/test.sh
- print: "**** done rados/test.sh - 6-final-workload"

View File

@ -0,0 +1,6 @@
tasks:
- workunit:
clients:
client.1:
- cls/test_cls_rbd.sh

View File

@ -0,0 +1,7 @@
tasks:
- workunit:
clients:
client.1:
- rbd/import_export.sh
env:
RBD_CREATE_ARGS: --new-format

View File

@ -0,0 +1,5 @@
tasks:
- rgw: [client.1]
- s3tests:
client.1:
rgw_server: client.1

View File

@ -0,0 +1,6 @@
tasks:
# Uncomment the next line if you have not already included rgw_s3tests.yaml in your test.
# - rgw: [client.1]
- swift:
client.1:
rgw_server: client.1

View File

@ -0,0 +1 @@
../../../../distros/supported/

View File

@ -0,0 +1,38 @@
upgrade-sequence:
sequential:
- install.upgrade:
mon.a:
- print: "**** done install.upgrade mon.a to the version from teuthology-suite arg"
- ceph.restart:
daemons: [mon.a]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.0, osd.1]
wait-for-healthy: true
- sleep:
duration: 60
- print: "**** running mixed versions of osds and mons"
- exec:
mon.a:
- ceph osd crush tunables firefly
- install.upgrade:
mon.b:
- print: "**** done install.upgrade mon.b to the version from teuthology-suite arg"
- ceph.restart:
daemons: [mon.b, mon.c]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.2, osd.3]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart: [mds.a]
- sleep:
duration: 60
- exec:
mon.a:
- ceph osd crush tunables firefly

View File

@ -0,0 +1,38 @@
upgrade-sequence:
sequential:
- install.upgrade:
mon.a:
- print: "**** done install.upgrade mon.a to the version from teuthology-suite arg"
- ceph.restart:
daemons: [mon.a]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.0, osd.1]
wait-for-healthy: true
- sleep:
duration: 60
- print: "**** running mixed versions of osds and mons"
- exec:
mon.a:
- ceph osd crush tunables firefly
- install.upgrade:
mon.b:
- print: "**** done install.upgrade mon.b to the version from teuthology-suite arg"
- ceph.restart:
daemons: [mon.b, mon.c]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart:
daemons: [osd.2, osd.3]
wait-for-healthy: true
- sleep:
duration: 60
- ceph.restart: [mds.a]
- sleep:
duration: 60
- exec:
mon.a:
- ceph osd crush tunables firefly