Skip to content

Commit 2e9f83b

Browse files
committed
qa/rgw: add rgw/upgrade suite
Signed-off-by: Casey Bodley <cbodley@redhat.com>
1 parent 310a97f commit 2e9f83b

File tree

12 files changed

+103
-0
lines changed

12 files changed

+103
-0
lines changed

qa/suites/rgw/upgrade/%

Whitespace-only changes.

qa/suites/rgw/upgrade/.qa

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.qa
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
overrides:
2+
ragweed:
3+
default-branch: ceph-master # ceph-pacific doesn't have tox, but tests are the same
4+
5+
tasks:
6+
- install:
7+
branch: pacific
8+
exclude_packages:
9+
- ceph-volume
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
overrides:
2+
ragweed:
3+
default-branch: ceph-master # ceph-quincy doesn't have tox, but tests are the same
4+
5+
tasks:
6+
- install:
7+
branch: quincy

qa/suites/rgw/upgrade/2-setup.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
tasks:
2+
- ceph:
3+
- rgw: [client.0, client.1]
4+
- tox: [client.0, client.1]
5+
- print: "installing upgraded packages"
6+
- install.upgrade:
7+
mon.a:
8+
mon.b:
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
tasks:
2+
- print: "ragweed prepare before upgrade"
3+
- ragweed:
4+
client.0:
5+
stages: prepare
6+
- print: "restarting upgraded osds"
7+
- ceph.restart:
8+
daemons: [osd.0, osd.2]
9+
- ceph.restart:
10+
daemons: [osd.1, osd.3]
11+
- ceph.restart:
12+
daemons: [osd.4, osd.6]
13+
- ceph.restart:
14+
daemons: [osd.5, osd.7]
15+
- print: "ragweed check/prepare after osd upgrade"
16+
- ragweed:
17+
client.0:
18+
stages: check
19+
client.1:
20+
stages: prepare
21+
- print: "restarting upgraded rgw"
22+
- ceph.restart:
23+
daemons: [rgw.*]
24+
- print: "ragweed check after rgw upgrade"
25+
- ragweed:
26+
client.1:
27+
stages: check
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
tasks:
2+
- print: "ragweed prepare before upgrade"
3+
- ragweed:
4+
client.0:
5+
stages: prepare
6+
- print: "restarting upgraded rgws"
7+
- ceph.restart:
8+
daemons: [rgw.*]
9+
- print: "ragweed check/prepare after rgw upgrade"
10+
- ragweed:
11+
client.0:
12+
stages: check
13+
client.1:
14+
stages: prepare
15+
- print: "restarting upgraded osds"
16+
- ceph.restart:
17+
daemons: [osd.0, osd.2]
18+
- ceph.restart:
19+
daemons: [osd.1, osd.3]
20+
- ceph.restart:
21+
daemons: [osd.4, osd.6]
22+
- ceph.restart:
23+
daemons: [osd.5, osd.7]
24+
- print: "ragweed check after osd upgrade"
25+
- ragweed:
26+
client.1:
27+
stages: check

qa/suites/rgw/upgrade/cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.qa/clusters/fixed-2.yaml

qa/suites/rgw/upgrade/frontend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.qa/rgw_frontend

qa/suites/rgw/upgrade/objectstore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.qa/objectstore_cephfs

0 commit comments

Comments
 (0)