blob: 7119f3d65e38d256d1deb53b1762a82ab0fcd299 [file] [log] [blame]
Biser Milanovfbfe3a02023-11-16 13:25:47 +02001- nodeset:
2 name: ubuntu2004-openstack-multi-node-mixed
3 nodes:
4 - name: controller
5 label: os-ubuntu2004-large
6 - name: undercloud-client
7 label: os-ubuntu2004-small
8 - name: lab-sp-a1
9 label: os-ubuntu2004-large
10 groups:
11 - name: tempest
12 nodes:
13 - controller
14
15- nodeset:
16 name: ubuntu2204-openstack-multi-node-mixed
17 nodes:
18 - name: controller
Biser Milanov563f5e92023-11-17 21:36:03 +020019 label: os-ubuntu2204-2xlarge
Biser Milanovfbfe3a02023-11-16 13:25:47 +020020 - name: undercloud-client
21 label: os-ubuntu2204-small
22 - name: lab-sp-a1
Biser Milanov3707c512023-11-20 15:28:40 +020023 label: os-ubuntu2204-2xlarge
Biser Milanovfbfe3a02023-11-16 13:25:47 +020024 groups:
25 - name: tempest
26 nodes:
27 - controller
28
Biser Milanovf77adb62024-08-02 14:16:53 +030029###
Biser Milanov95e6d422024-08-01 13:08:07 +000030# Copied from upstream, where it has been removed
Biser Milanovfe8d9e42024-08-05 11:06:35 +030031
Biser Milanov95e6d422024-08-01 13:08:07 +000032- job:
33 name: tempest-full
34 parent: devstack-tempest
35 description: |
36 Base integration test with Neutron networking and py27.
37 This job is supposed to run until stable/train setup only.
38 If you are running it on stable/ussuri gate onwards for python2.7
39 coverage then you need to do override-checkout with any stable
40 branch less than or equal to stable/train.
41 Former names for this job where:
42 * legacy-tempest-dsvm-neutron-full
43 * gate-tempest-dsvm-neutron-full-ubuntu-xenial
44 vars:
45 tox_envlist: full
46 devstack_localrc:
47 ENABLE_FILE_INJECTION: true
48 ENABLE_VOLUME_MULTIATTACH: true
49 USE_PYTHON3: False
50 devstack_services:
51 # NOTE(mriedem): Disable the cinder-backup service from tempest-full
52 # since tempest-full is in the integrated-gate project template but
53 # the backup tests do not really involve other services so they should
54 # be run in some more cinder-specific job, especially because the
55 # tests fail at a high rate (see bugs 1483434, 1813217, 1745168)
56 c-bak: false
57
Biser Milanovf77adb62024-08-02 14:16:53 +030058###
59
SF initial configuratorb5dc2082024-05-29 11:04:07 +030060- job:
61 name: cinder-storpool-tempest
Biser Milanov95e6d422024-08-01 13:08:07 +000062 parent: tempest-full
SF initial configuratorb5dc2082024-05-29 11:04:07 +030063 pre-run:
64 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
65 - playbooks/workarounds/02-install-linux-modules-extra-for-z3fold.yaml
66 - playbooks/sp-init.yaml
67 - playbooks/setup-openstack-client/pre.yaml
68 - playbooks/setup-openstack-storpool/pre.yaml
69 run: playbooks/tempest-and-cinderlib-run.yaml
70 cleanup-run:
71 - playbooks/setup-openstack-storpool/post.yaml
72 - playbooks/setup-openstack-client/post.yaml
73 - playbooks/sp-cleanup.yaml
74 required-projects:
75 - opendev.org/openstack/cinderlib
76 - opendev.org/openstack/os-brick
77 - opendev.org/openstack/tempest
78 - opendev.org/openstack/cinder-tempest-plugin
79 # - config
80 - sp-osci
81 timeout: 10800
82 nodeset: ubuntu2204-openstack-multi-node-mixed
83 secrets:
84 # openstack-client
85 - name: OPENSTACK_DATA
86 secret: OPENSTACK_DATA
87 - name: RESOLVED_DATA
88 secret: RESOLVED_DATA
89
90 # openstack-iscsi-multipath-storpool
91 - name: STORPOOL_DEPLOY_KEY
92 secret: STORPOOL_DEPLOY_KEY
93 - name: STORPOOL_DEPLOY_KEY_PUB
94 secret: STORPOOL_DEPLOY_KEY_PUB
95 - name: STORPOOL_BLOCK_INVENTORY
96 secret: STORPOOL_BLOCK_INVENTORY
97 - name: STORPOOL_ISCSI_NETPLAN
98 secret: STORPOOL_ISCSI_NETPLAN
99 - name: STORPOOL_STORPOOL_NETPLAN
100 secret: STORPOOL_STORPOOL_NETPLAN
101 - name: STORPOOL_NETPLAN_SERVICE
102 secret: STORPOOL_NETPLAN_SERVICE
103 - name: STORPOOL_CONF_BLOCK
104 secret: STORPOOL_CONF_BLOCK
105 - name: STORPOOL_DEPLOY
106 secret: STORPOOL_DEPLOY
107 - name: STORPOOL_DEPLOY_INFO_CONF
108 secret: STORPOOL_DEPLOY_INFO_CONF
109 - name: STORPOOL_CONF_ISCSI_NODE
110 secret: STORPOOL_CONF_ISCSI_NODE
111 - name: ISCSI_NODE_SYSTEMD_NETWORKD
112 secret: ISCSI_NODE_SYSTEMD_NETWORKD
113 vars:
114 os_venv: "~/sp-venv-openstack"
115 storpool_connection: "block"
116 sp_target_release: "release"
117
118 do_storprep: true
119 devstack_localrc:
120 CINDER_ENABLED_BACKENDS: storpool:storpool
121 # CINDER_ISCSI_HELPER: tgtadm
122 ENABLE_FILE_INJECTION: false
123 TEMPEST_CONCURRENCY: 2
124 TEMPEST_EXTEND_ATTACHED_VOLUME: true
125 TEMPEST_PLUGINS: cinder-tempest-plugin
126 TEMPEST_RUN_VALIDATION: false
127 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
128 TEMPEST_VOLUME_VENDOR: StorPool
129 USE_PYTHON3: True
130 # cfg: block
131 TEMPEST_STORAGE_PROTOCOL: storpool
132 ENABLE_VOLUME_MULTIATTACH: true
133 devstack_local_conf:
134 test-config:
135 $TEMPEST_CONFIG:
136 validation:
137 run_validation: true
138 post-config:
139 $CINDER_CONF:
140 storpool:
141 volume_backend_name: storpool
142 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
143 storpool_template: virtual
144 # enable_unsupported_driver: true
145 tox_envlist: all
146 tempest_test_regex: |
147 volume
148# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
149
150- job:
151 name: cinder-storpool-tempest-testing
152 parent: cinder-storpool-tempest
153 vars:
154 sp_target_release: "testing"
155
156
157- job:
158 name: cinder-storpool-tempest-experimental
159 parent: cinder-storpool-tempest
160 vars:
161 sp_experimental: true
162
163- job:
164 name: cinder-storpool-tempest-iscsi
165 parent: cinder-storpool-tempest
166 vars:
167 sp_experimental: true
168 do_storprep: true
169 devstack_localrc:
170 # cfg: iscsi
171 TEMPEST_STORAGE_PROTOCOL: iscsi
172 ENABLE_VOLUME_MULTIATTACH: false
173 devstack_local_conf:
174 post-config:
175 $CINDER_CONF:
176 storpool:
177 # cfg: iscsi
178 iscsi_export_to: "\\\\*"
179 iscsi_portal_group: pg
180 use_multipath_for_image_xfer: True
181 $NOVA_CONF:
182 libvirt:
183 # cfg: iscsi
184 volume_use_multipath: True
185 tempest_test_regex: |
186 volume|^cinder_tempest_plugin
187# ^cinder_tempest_plugin
188# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
189
190- job:
191 name: cinder-storpool-tempest-iscsi-multipath-parent
Biser Milanov95e6d422024-08-01 13:08:07 +0000192 parent: tempest-full
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300193 pre-run:
194 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
195 - playbooks/workarounds/02-install-linux-modules-extra-for-z3fold.yaml
196 - playbooks/sp-init.yaml
197 - playbooks/setup-openstack-client/pre.yaml
198 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
199 - playbooks/setup-openstack-storpool/pre.yaml
200 run: playbooks/tempest-and-cinderlib-run.yaml
201 cleanup-run:
202 - playbooks/setup-openstack-storpool/post.yaml
203 - playbooks/setup-openstack-iscsi-multipath/post.yaml
204 - playbooks/setup-openstack-client/post.yaml
205 - playbooks/sp-cleanup.yaml
206 required-projects:
207 - opendev.org/openstack/cinderlib
208 - opendev.org/openstack/os-brick
209 - opendev.org/openstack/tempest
210 - opendev.org/openstack/cinder-tempest-plugin
211 # - config
212 - sp-osci
213 timeout: 10800
214 nodeset: ubuntu2204-openstack-multi-node-mixed
215 attempts: 1
216 secrets:
217 # openstack-client
218 - name: OPENSTACK_DATA
219 secret: OPENSTACK_DATA
220 - name: RESOLVED_DATA
221 secret: RESOLVED_DATA
222
223 # openstack-iscsi-multipath-storpool
224 - name: STORPOOL_DEPLOY_KEY
225 secret: STORPOOL_DEPLOY_KEY
226 - name: STORPOOL_DEPLOY_KEY_PUB
227 secret: STORPOOL_DEPLOY_KEY_PUB
228 - name: STORPOOL_BLOCK_INVENTORY
229 secret: STORPOOL_BLOCK_INVENTORY
230 - name: STORPOOL_ISCSI_INVENTORY
231 secret: STORPOOL_ISCSI_INVENTORY
232 - name: STORPOOL_ISCSI_NETPLAN
233 secret: STORPOOL_ISCSI_NETPLAN
234 - name: STORPOOL_STORPOOL_NETPLAN
235 secret: STORPOOL_STORPOOL_NETPLAN
236 - name: STORPOOL_NETPLAN_SERVICE
237 secret: STORPOOL_NETPLAN_SERVICE
238 - name: STORPOOL_CONF_ISCSI
239 secret: STORPOOL_CONF_ISCSI
240 - name: STORPOOL_DEPLOY
241 secret: STORPOOL_DEPLOY
242 - name: STORPOOL_DEPLOY_INFO_CONF
243 secret: STORPOOL_DEPLOY_INFO_CONF
244 - name: STORPOOL_CONF_ISCSI_NODE
245 secret: STORPOOL_CONF_ISCSI_NODE
246 - name: ISCSI_NODE_SYSTEMD_NETWORKD
247 secret: ISCSI_NODE_SYSTEMD_NETWORKD
248
249 vars:
250 os_venv: "~/sp-venv-openstack"
251 storpool_connection: "iscsi"
252 sp_target_release: "release"
253
254 zuul_copy_output:
255 /etc/multipath.conf: logs_txt
256 /etc/iscsi/iscsid.conf: logs_txt
257 devstack_localrc:
258 CINDER_ENABLED_BACKENDS: storpool:storpool
259 # CINDER_ISCSI_HELPER: tgtadm
260 ENABLE_FILE_INJECTION: false
261 TEMPEST_CONCURRENCY: 2
262 TEMPEST_EXTEND_ATTACHED_VOLUME: true
263 TEMPEST_PLUGINS: cinder-tempest-plugin
264 TEMPEST_RUN_VALIDATION: false
265 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
266 TEMPEST_VOLUME_VENDOR: StorPool
267 USE_PYTHON3: True
268 # cfg: block
269 TEMPEST_STORAGE_PROTOCOL: storpool
270 ENABLE_VOLUME_MULTIATTACH: true
271 devstack_local_conf:
272 test-config:
273 $TEMPEST_CONFIG:
274 validation:
275 run_validation: true
276 post-config:
277 $CINDER_CONF:
278 storpool:
279 volume_backend_name: storpool
280 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
281 storpool_template: virtual
282 # enable_unsupported_driver: true
283 tox_envlist: all
284 tempest_test_regex: |
285 volume
286# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
287
288- job:
289 name: cinder-storpool-tempest-iscsi-multipath
290 parent: cinder-storpool-tempest-iscsi-multipath-parent
291 vars:
292 sp_experimental: true
293 devstack_localrc:
294 # cfg: iscsi
295 TEMPEST_STORAGE_PROTOCOL: iscsi
296 ENABLE_VOLUME_MULTIATTACH: false
297 devstack_local_conf:
298 post-config:
299 $CINDER_CONF:
300 storpool:
301 # cfg: iscsi
302 iscsi_export_to: "\\\\*"
303 iscsi_portal_group: pg
304 use_multipath_for_image_xfer: True
305 $NOVA_CONF:
306 libvirt:
307 # cfg: iscsi
308 volume_use_multipath: True
309 tempest_test_regex: |
310 volume|^cinder_tempest_plugin
311# ^cinder_tempest_plugin
312# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
313
314
315- job:
316 name: cinder-storpool-tempest-iscsi-multipath-testing
317 parent: cinder-storpool-tempest-iscsi-multipath
318 vars:
319 sp_target_release: "testing"
320
321
322- job:
323 name: kolla-cinder-storpool-tempest-iscsi-multipath
324 pre-run:
325 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
326 - playbooks/setup-openstack-client/pre.yaml
327 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
328 - playbooks/setup-openstack-storpool/pre.yaml
329 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/pre.yaml
330 run: playbooks/kolla-setup-openstack-iscsi-multipath-storpool/run.yaml
331 cleanup-run:
332 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/post.yaml
333 - playbooks/setup-openstack-storpool/post.yaml
334 - playbooks/setup-openstack-iscsi-multipath/post.yaml
335 - playbooks/setup-openstack-client/post.yaml
336 required-projects:
337 - opendev.org/openstack/tempest
338 timeout: 10800
339 nodeset: ubuntu2204-openstack-multi-node-mixed
340 attempts: 1
341 secrets:
342 # openstack-client
343 - name: OPENSTACK_DATA
344 secret: OPENSTACK_DATA
345 - name: RESOLVED_DATA
346 secret: RESOLVED_DATA
347
348 # openstack-iscsi-multipath-storpool
349 - name: STORPOOL_DEPLOY_KEY
350 secret: STORPOOL_DEPLOY_KEY
351 - name: STORPOOL_DEPLOY_KEY_PUB
352 secret: STORPOOL_DEPLOY_KEY_PUB
353 - name: STORPOOL_DEPLOY
354 secret: STORPOOL_DEPLOY
355 - name: STORPOOL_DEPLOY_INFO_CONF
356 secret: STORPOOL_DEPLOY_INFO_CONF
357 - name: STORPOOL_ISCSI_INVENTORY
358 secret: STORPOOL_ISCSI_INVENTORY
359 - name: STORPOOL_ISCSI_NETPLAN
360 secret: STORPOOL_ISCSI_NETPLAN
361 - name: STORPOOL_STORPOOL_NETPLAN
362 secret: STORPOOL_STORPOOL_NETPLAN
363 - name: STORPOOL_NETPLAN_SERVICE
364 secret: STORPOOL_NETPLAN_SERVICE
365 - name: STORPOOL_CONF_ISCSI
366 secret: STORPOOL_CONF_ISCSI
367 - name: STORPOOL_CONF_ISCSI_NODE
368 secret: STORPOOL_CONF_ISCSI_NODE
369 - name: ISCSI_NODE_SYSTEMD_NETWORKD
370 secret: ISCSI_NODE_SYSTEMD_NETWORKD
371 vars:
372 os_venv: "~/sp-venv-openstack"
373 storpool_connection: "iscsi"
374 sp_target_release: "release"
375
376 zuul_copy_output:
377 /etc/multipath.conf: logs_txt
378 /etc/iscsi/iscsid.conf: logs_txt
379
380 tempest_test_regex: volume
381
382- job:
383 name: kolla-cinder-storpool-tempest-iscsi-multipath-zed-ubuntu-jammy-pre-release
384 parent: kolla-cinder-storpool-tempest-iscsi-multipath
385 vars:
386 sp_target_release: "release"
387
388 kolla_ansible_version: "16.2.0"
389 kolla_openstack_release: "zed"
390 enable_cinder_backend_storpool: "yes"
391 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy-pre-release"
392 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy-pre-release"
393 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:zed-ubuntu-jammy"
394
395- job:
396 name: kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference
397 parent: kolla-cinder-storpool-tempest-iscsi-multipath
398 vars:
399 sp_target_release: "release"
400
401 kolla_ansible_version: "stable/2023.2"
402 kolla_openstack_release: "2023.2"
403 enable_cinder_backend_storpool: "no"
404 kolla_nova_compute_image_full: "quay.io/openstack.kolla/nova-compute:2023.2-ubuntu-jammy"
405 kolla_cinder_volume_image_full: "quay.io/openstack.kolla/cinder-volume:2023.2-ubuntu-jammy"
406 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
407
408- job:
409 name: kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release
410 parent: kolla-cinder-storpool-tempest-iscsi-multipath
411 vars:
412 sp_target_release: "release"
413
414 kolla_ansible_version: "stable/2023.2"
415 kolla_openstack_release: "2023.2"
416 enable_cinder_backend_storpool: "yes"
417 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:2023.2-ubuntu-jammy-pre-release"
418 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:2023.2-ubuntu-jammy-pre-release"
419 kolla_glance_api_image_full: "cts.storpool.com/kolla/ubuntu-binary-glance-api:2023.2-ubuntu-jammy-pre-release"
420
421- job:
422 name: kolla-cinder-storpool-tempest-iscsi-multipath-testing
423 parent: kolla-cinder-storpool-tempest-iscsi-multipath
424 vars:
425 sp_target_release: "testing"
426
427 kolla_ansible_version: "16.2.0"
428 kolla_openstack_release: "zed"
429 enable_cinder_backend_storpool: "yes"
430 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy"
431 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy"
432 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
433
434- project:
435 name: openstack/cinder
436 check:
437 jobs:
438 - cinder-storpool-tempest:
439 branches: master
440 - cinder-storpool-tempest-iscsi-multipath:
441 branches: master
442 experimental:
443 jobs:
444 - cinder-storpool-tempest-experimental:
445 branches: master
446 #- cinder-storpool-tempest-iscsi:
447 # branches: master
448
449- project:
450 name: openstack/os-brick
451 check:
452 jobs:
453 - cinder-storpool-tempest:
454 branches: master
455
456- project:
457 name: kolla-experiments
458 check:
459 jobs:
460 - kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference:
461 branches: master
462 - kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release:
463 branches: master
464
465- project:
466 name: storpool-experiments
467 check:
468 jobs:
469 - cinder-storpool-tempest-testing:
470 branches: master
471 - cinder-storpool-tempest-iscsi-multipath-testing:
472 branches: master
473 - kolla-cinder-storpool-tempest-iscsi-multipath-testing:
474 branches: master