blob: 44f06c8f72155cfb8d9bc23bf03638cfa03c1d14 [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
Biser Milanov465232e2024-08-28 17:52:12 +0300132 ENABLE_VOLUME_MULTIATTACH: false
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300133 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
Biser Milanov6f4b6e62024-11-21 17:35:01 +0200178 storpool_iscsi_export_to: "\\\\*"
179 storpool_iscsi_portal_group: pg
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300180 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
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300296 devstack_local_conf:
297 post-config:
298 $CINDER_CONF:
299 storpool:
300 # cfg: iscsi
Biser Milanov6f4b6e62024-11-21 17:35:01 +0200301 storpool_iscsi_export_to: "\\\\*"
302 storpool_iscsi_portal_group: pg
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300303 use_multipath_for_image_xfer: True
304 $NOVA_CONF:
305 libvirt:
306 # cfg: iscsi
307 volume_use_multipath: True
308 tempest_test_regex: |
309 volume|^cinder_tempest_plugin
310# ^cinder_tempest_plugin
311# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
312
313
314- job:
315 name: cinder-storpool-tempest-iscsi-multipath-testing
316 parent: cinder-storpool-tempest-iscsi-multipath
317 vars:
318 sp_target_release: "testing"
319
320
321- job:
322 name: kolla-cinder-storpool-tempest-iscsi-multipath
323 pre-run:
324 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
325 - playbooks/setup-openstack-client/pre.yaml
326 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
327 - playbooks/setup-openstack-storpool/pre.yaml
328 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/pre.yaml
329 run: playbooks/kolla-setup-openstack-iscsi-multipath-storpool/run.yaml
330 cleanup-run:
331 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/post.yaml
332 - playbooks/setup-openstack-storpool/post.yaml
333 - playbooks/setup-openstack-iscsi-multipath/post.yaml
334 - playbooks/setup-openstack-client/post.yaml
335 required-projects:
336 - opendev.org/openstack/tempest
337 timeout: 10800
338 nodeset: ubuntu2204-openstack-multi-node-mixed
339 attempts: 1
340 secrets:
341 # openstack-client
342 - name: OPENSTACK_DATA
343 secret: OPENSTACK_DATA
344 - name: RESOLVED_DATA
345 secret: RESOLVED_DATA
346
347 # openstack-iscsi-multipath-storpool
348 - name: STORPOOL_DEPLOY_KEY
349 secret: STORPOOL_DEPLOY_KEY
350 - name: STORPOOL_DEPLOY_KEY_PUB
351 secret: STORPOOL_DEPLOY_KEY_PUB
352 - name: STORPOOL_DEPLOY
353 secret: STORPOOL_DEPLOY
354 - name: STORPOOL_DEPLOY_INFO_CONF
355 secret: STORPOOL_DEPLOY_INFO_CONF
356 - name: STORPOOL_ISCSI_INVENTORY
357 secret: STORPOOL_ISCSI_INVENTORY
358 - name: STORPOOL_ISCSI_NETPLAN
359 secret: STORPOOL_ISCSI_NETPLAN
360 - name: STORPOOL_STORPOOL_NETPLAN
361 secret: STORPOOL_STORPOOL_NETPLAN
362 - name: STORPOOL_NETPLAN_SERVICE
363 secret: STORPOOL_NETPLAN_SERVICE
364 - name: STORPOOL_CONF_ISCSI
365 secret: STORPOOL_CONF_ISCSI
366 - name: STORPOOL_CONF_ISCSI_NODE
367 secret: STORPOOL_CONF_ISCSI_NODE
368 - name: ISCSI_NODE_SYSTEMD_NETWORKD
369 secret: ISCSI_NODE_SYSTEMD_NETWORKD
370 vars:
371 os_venv: "~/sp-venv-openstack"
372 storpool_connection: "iscsi"
373 sp_target_release: "release"
374
375 zuul_copy_output:
376 /etc/multipath.conf: logs_txt
377 /etc/iscsi/iscsid.conf: logs_txt
378
379 tempest_test_regex: volume
380
381- job:
382 name: kolla-cinder-storpool-tempest-iscsi-multipath-zed-ubuntu-jammy-pre-release
383 parent: kolla-cinder-storpool-tempest-iscsi-multipath
384 vars:
385 sp_target_release: "release"
386
387 kolla_ansible_version: "16.2.0"
388 kolla_openstack_release: "zed"
389 enable_cinder_backend_storpool: "yes"
390 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy-pre-release"
391 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy-pre-release"
392 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:zed-ubuntu-jammy"
393
394- job:
395 name: kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference
396 parent: kolla-cinder-storpool-tempest-iscsi-multipath
397 vars:
398 sp_target_release: "release"
399
400 kolla_ansible_version: "stable/2023.2"
401 kolla_openstack_release: "2023.2"
402 enable_cinder_backend_storpool: "no"
403 kolla_nova_compute_image_full: "quay.io/openstack.kolla/nova-compute:2023.2-ubuntu-jammy"
404 kolla_cinder_volume_image_full: "quay.io/openstack.kolla/cinder-volume:2023.2-ubuntu-jammy"
405 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
406
407- job:
408 name: kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release
409 parent: kolla-cinder-storpool-tempest-iscsi-multipath
410 vars:
411 sp_target_release: "release"
412
413 kolla_ansible_version: "stable/2023.2"
414 kolla_openstack_release: "2023.2"
415 enable_cinder_backend_storpool: "yes"
Biser Milanova9d50d62024-12-20 14:11:41 +0200416 kolla_nova_compute_image_full: "cts.storpool.com/kolla/nova-compute:2023.2-ubuntu-jammy-pre-release"
417 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/cinder-volume:2023.2-ubuntu-jammy-pre-release"
418 kolla_glance_api_image_full: "cts.storpool.com/kolla/glance-api:2023.2-ubuntu-jammy-pre-release"
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300419
420- job:
421 name: kolla-cinder-storpool-tempest-iscsi-multipath-testing
422 parent: kolla-cinder-storpool-tempest-iscsi-multipath
423 vars:
424 sp_target_release: "testing"
425
Biser Milanove9b71ad2025-01-14 13:22:45 +0200426 kolla_ansible_version: "17.7.0"
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300427 kolla_openstack_release: "zed"
428 enable_cinder_backend_storpool: "yes"
429 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy"
430 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy"
431 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
432
433- project:
434 name: openstack/cinder
435 check:
436 jobs:
437 - cinder-storpool-tempest:
438 branches: master
439 - cinder-storpool-tempest-iscsi-multipath:
440 branches: master
441 experimental:
442 jobs:
443 - cinder-storpool-tempest-experimental:
444 branches: master
445 #- cinder-storpool-tempest-iscsi:
446 # branches: master
447
448- project:
449 name: openstack/os-brick
450 check:
451 jobs:
452 - cinder-storpool-tempest:
453 branches: master
454
455- project:
456 name: kolla-experiments
457 check:
458 jobs:
459 - kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference:
460 branches: master
461 - kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release:
462 branches: master
463
464- project:
465 name: storpool-experiments
466 check:
467 jobs:
468 - cinder-storpool-tempest-testing:
469 branches: master
470 - cinder-storpool-tempest-iscsi-multipath-testing:
471 branches: master
472 - kolla-cinder-storpool-tempest-iscsi-multipath-testing:
473 branches: master