]> git.proxmox.com Git - ceph.git/blob - ceph/qa/suites/upgrade/jewel-x/point-to-point-x/point-to-point-upgrade.yaml
update sources to v12.1.0
[ceph.git] / ceph / qa / suites / upgrade / jewel-x / point-to-point-x / point-to-point-upgrade.yaml
1 meta:
2 - desc: |
3 Run ceph on two nodes, using one of them as a client,
4 with a separate client-only node.
5 Use xfs beneath the osds.
6 install ceph/jewel v10.2.0 point version
7 run workload and upgrade-sequence in parallel
8 install ceph/jewel latest version
9 run workload and upgrade-sequence in parallel
10 install ceph/-x version (jewel or kraken)
11 run workload and upgrade-sequence in parallel
12 overrides:
13 ceph:
14 log-whitelist:
15 - reached quota
16 - scrub
17 - osd_map_max_advance
18 - wrongly marked
19 fs: xfs
20 conf:
21 mon:
22 mon debug unsafe allow tier with nonempty snaps: true
23 osd:
24 osd map max advance: 1000
25 roles:
26 - - mon.a
27 - mds.a
28 - osd.0
29 - osd.1
30 - osd.2
31 - mgr.x
32 - - mon.b
33 - mon.c
34 - osd.3
35 - osd.4
36 - osd.5
37 - client.0
38 - - client.1
39 openstack:
40 - volumes: # attached to each instance
41 count: 3
42 size: 30 # GB
43 tasks:
44 - print: "**** v10.2.0 about to install"
45 - install:
46 tag: v10.2.0
47 exclude_packages: ['ceph-mgr','libcephfs2','libcephfs-devel','libcephfs-dev', 'librgw2']
48 - print: "**** done v10.2.0 install"
49 - ceph:
50 fs: xfs
51 skip_mgr_daemons: true
52 - print: "**** done ceph xfs"
53 - sequential:
54 - workload
55 - print: "**** done workload v10.2.0"
56 - install.upgrade:
57 exclude_packages: ['ceph-mgr','libcephfs2','libcephfs-devel','libcephfs-dev']
58 mon.a:
59 branch: jewel
60 mon.b:
61 branch: jewel
62 # Note that client.a IS NOT upgraded at this point
63 #client.1:
64 #branch: jewel
65 - parallel:
66 - workload_jewel
67 - upgrade-sequence_jewel
68 - print: "**** done parallel jewel branch"
69 - install.upgrade:
70 exclude_packages: ['ceph-mgr','libcephfs2','libcephfs-devel','libcephfs-dev']
71 client.1:
72 branch: jewel
73 - print: "**** done branch: jewel install.upgrade on client.1"
74 - install.upgrade:
75 mon.a:
76 mon.b:
77 - print: "**** done branch: -x install.upgrade on mon.a and mon.b"
78 - parallel:
79 - workload_x
80 - upgrade-sequence_x
81 - print: "**** done parallel -x branch"
82 # Run librados tests on the -x upgraded cluster
83 - install.upgrade:
84 client.1:
85 - workunit:
86 branch: jewel
87 clients:
88 client.1:
89 - rados/test-upgrade-v11.0.0.sh
90 - cls
91 - print: "**** done final test on -x cluster"
92 #######################
93 workload:
94 sequential:
95 - workunit:
96 clients:
97 client.0:
98 - suites/blogbench.sh
99 workload_jewel:
100 full_sequential:
101 - workunit:
102 branch: jewel
103 clients:
104 client.1:
105 - rados/test.sh
106 - cls
107 env:
108 CLS_RBD_GTEST_FILTER: '*:-TestClsRbd.mirror_image'
109 - print: "**** done rados/test.sh & cls workload_jewel"
110 - sequential:
111 - rgw: [client.0]
112 - print: "**** done rgw workload_jewel"
113 - s3tests:
114 client.0:
115 force-branch: ceph-jewel
116 rgw_server: client.0
117 scan_for_encryption_keys: false
118 - print: "**** done s3tests workload_jewel"
119 upgrade-sequence_jewel:
120 sequential:
121 - print: "**** done branch: jewel install.upgrade"
122 - ceph.restart: [mds.a]
123 - sleep:
124 duration: 60
125 - ceph.restart: [osd.0]
126 - sleep:
127 duration: 30
128 - ceph.restart: [osd.1]
129 - sleep:
130 duration: 30
131 - ceph.restart: [osd.2]
132 - sleep:
133 duration: 30
134 - ceph.restart: [osd.3]
135 - sleep:
136 duration: 30
137 - ceph.restart: [osd.4]
138 - sleep:
139 duration: 30
140 - ceph.restart: [osd.5]
141 - sleep:
142 duration: 60
143 - ceph.restart: [mon.a]
144 - sleep:
145 duration: 60
146 - ceph.restart: [mon.b]
147 - sleep:
148 duration: 60
149 - ceph.restart: [mon.c]
150 - sleep:
151 duration: 60
152 - print: "**** done ceph.restart all jewel branch mds/osd/mon"
153 workload_x:
154 sequential:
155 - workunit:
156 branch: jewel
157 clients:
158 client.1:
159 - rados/test-upgrade-v11.0.0.sh
160 - cls
161 env:
162 CLS_RBD_GTEST_FILTER: '*:-TestClsRbd.mirror_image'
163 - print: "**** done rados/test-upgrade-v11.0.0.sh & cls workload_x NOT upgraded client"
164 - workunit:
165 branch: jewel
166 clients:
167 client.0:
168 - rados/test-upgrade-v11.0.0.sh
169 - cls
170 - print: "**** done rados/test-upgrade-v11.0.0.sh & cls workload_x upgraded client"
171 - rgw: [client.1]
172 - print: "**** done rgw workload_x"
173 - s3tests:
174 client.1:
175 force-branch: ceph-jewel
176 rgw_server: client.1
177 scan_for_encryption_keys: false
178 - print: "**** done s3tests workload_x"
179 upgrade-sequence_x:
180 sequential:
181 - ceph.restart: [mds.a]
182 - sleep:
183 duration: 60
184 - ceph.restart: [mon.a]
185 - sleep:
186 duration: 60
187 - ceph.restart: [mon.b]
188 - sleep:
189 duration: 60
190 - ceph.restart: [mon.c]
191 - sleep:
192 duration: 60
193 - ceph.restart: [osd.0]
194 - sleep:
195 duration: 30
196 - ceph.restart: [osd.1]
197 - sleep:
198 duration: 30
199 - ceph.restart: [osd.2]
200 - sleep:
201 duration: 30
202 - ceph.restart: [osd.3]
203 - sleep:
204 duration: 30
205 - ceph.restart: [osd.4]
206 - sleep:
207 duration: 30
208 - ceph.restart:
209 daemons: [osd.5]
210 wait-for-healthy: false
211 wait-for-up-osds: true
212 - exec:
213 mgr.x:
214 - mkdir -p /var/lib/ceph/mgr/ceph-x
215 - ceph auth get-or-create-key mgr.x mon 'allow profile mgr'
216 - ceph auth export mgr.x > /var/lib/ceph/mgr/ceph-x/keyring
217 - ceph.restart:
218 daemons: [mgr.x]
219 wait-for-healthy: false
220 - exec:
221 osd.0:
222 - ceph osd require-osd-release luminous
223 - ceph osd set-require-min-compat-client luminous
224 - ceph.healthy:
225 - print: "**** done ceph.restart all -x branch mds/osd/mon"