blob: 25f25905e21ac1db10c1fc97d1c5ad2f34a86408 [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
Biser Milanov0ea90622025-01-15 13:50:14 +0200156- job:
157 name: cinder-storpool-tempest-testing-debug
158 parent: cinder-storpool-tempest-testing
159 run: playbooks/tempest.yaml
160 vars:
161 tempest_test_regex: --dry-run volume
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300162
163- job:
164 name: cinder-storpool-tempest-experimental
165 parent: cinder-storpool-tempest
166 vars:
167 sp_experimental: true
168
169- job:
170 name: cinder-storpool-tempest-iscsi
171 parent: cinder-storpool-tempest
172 vars:
173 sp_experimental: true
174 do_storprep: true
175 devstack_localrc:
176 # cfg: iscsi
177 TEMPEST_STORAGE_PROTOCOL: iscsi
178 ENABLE_VOLUME_MULTIATTACH: false
179 devstack_local_conf:
180 post-config:
181 $CINDER_CONF:
182 storpool:
183 # cfg: iscsi
Biser Milanov6f4b6e62024-11-21 17:35:01 +0200184 storpool_iscsi_export_to: "\\\\*"
185 storpool_iscsi_portal_group: pg
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300186 use_multipath_for_image_xfer: True
187 $NOVA_CONF:
188 libvirt:
189 # cfg: iscsi
190 volume_use_multipath: True
191 tempest_test_regex: |
192 volume|^cinder_tempest_plugin
193# ^cinder_tempest_plugin
194# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
195
196- job:
197 name: cinder-storpool-tempest-iscsi-multipath-parent
Biser Milanov95e6d422024-08-01 13:08:07 +0000198 parent: tempest-full
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300199 pre-run:
200 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
201 - playbooks/workarounds/02-install-linux-modules-extra-for-z3fold.yaml
202 - playbooks/sp-init.yaml
203 - playbooks/setup-openstack-client/pre.yaml
204 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
205 - playbooks/setup-openstack-storpool/pre.yaml
206 run: playbooks/tempest-and-cinderlib-run.yaml
207 cleanup-run:
208 - playbooks/setup-openstack-storpool/post.yaml
209 - playbooks/setup-openstack-iscsi-multipath/post.yaml
210 - playbooks/setup-openstack-client/post.yaml
211 - playbooks/sp-cleanup.yaml
212 required-projects:
213 - opendev.org/openstack/cinderlib
214 - opendev.org/openstack/os-brick
215 - opendev.org/openstack/tempest
216 - opendev.org/openstack/cinder-tempest-plugin
217 # - config
218 - sp-osci
219 timeout: 10800
220 nodeset: ubuntu2204-openstack-multi-node-mixed
221 attempts: 1
222 secrets:
223 # openstack-client
224 - name: OPENSTACK_DATA
225 secret: OPENSTACK_DATA
226 - name: RESOLVED_DATA
227 secret: RESOLVED_DATA
228
229 # openstack-iscsi-multipath-storpool
230 - name: STORPOOL_DEPLOY_KEY
231 secret: STORPOOL_DEPLOY_KEY
232 - name: STORPOOL_DEPLOY_KEY_PUB
233 secret: STORPOOL_DEPLOY_KEY_PUB
234 - name: STORPOOL_BLOCK_INVENTORY
235 secret: STORPOOL_BLOCK_INVENTORY
236 - name: STORPOOL_ISCSI_INVENTORY
237 secret: STORPOOL_ISCSI_INVENTORY
238 - name: STORPOOL_ISCSI_NETPLAN
239 secret: STORPOOL_ISCSI_NETPLAN
240 - name: STORPOOL_STORPOOL_NETPLAN
241 secret: STORPOOL_STORPOOL_NETPLAN
242 - name: STORPOOL_NETPLAN_SERVICE
243 secret: STORPOOL_NETPLAN_SERVICE
244 - name: STORPOOL_CONF_ISCSI
245 secret: STORPOOL_CONF_ISCSI
246 - name: STORPOOL_DEPLOY
247 secret: STORPOOL_DEPLOY
248 - name: STORPOOL_DEPLOY_INFO_CONF
249 secret: STORPOOL_DEPLOY_INFO_CONF
250 - name: STORPOOL_CONF_ISCSI_NODE
251 secret: STORPOOL_CONF_ISCSI_NODE
252 - name: ISCSI_NODE_SYSTEMD_NETWORKD
253 secret: ISCSI_NODE_SYSTEMD_NETWORKD
254
255 vars:
256 os_venv: "~/sp-venv-openstack"
257 storpool_connection: "iscsi"
258 sp_target_release: "release"
259
260 zuul_copy_output:
261 /etc/multipath.conf: logs_txt
262 /etc/iscsi/iscsid.conf: logs_txt
263 devstack_localrc:
264 CINDER_ENABLED_BACKENDS: storpool:storpool
265 # CINDER_ISCSI_HELPER: tgtadm
266 ENABLE_FILE_INJECTION: false
267 TEMPEST_CONCURRENCY: 2
268 TEMPEST_EXTEND_ATTACHED_VOLUME: true
269 TEMPEST_PLUGINS: cinder-tempest-plugin
270 TEMPEST_RUN_VALIDATION: false
271 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
272 TEMPEST_VOLUME_VENDOR: StorPool
273 USE_PYTHON3: True
274 # cfg: block
275 TEMPEST_STORAGE_PROTOCOL: storpool
276 ENABLE_VOLUME_MULTIATTACH: true
277 devstack_local_conf:
278 test-config:
279 $TEMPEST_CONFIG:
280 validation:
281 run_validation: true
282 post-config:
283 $CINDER_CONF:
284 storpool:
285 volume_backend_name: storpool
286 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
287 storpool_template: virtual
288 # enable_unsupported_driver: true
289 tox_envlist: all
290 tempest_test_regex: |
291 volume
292# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
293
294- job:
295 name: cinder-storpool-tempest-iscsi-multipath
296 parent: cinder-storpool-tempest-iscsi-multipath-parent
297 vars:
298 sp_experimental: true
299 devstack_localrc:
300 # cfg: iscsi
301 TEMPEST_STORAGE_PROTOCOL: iscsi
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300302 devstack_local_conf:
303 post-config:
304 $CINDER_CONF:
305 storpool:
306 # cfg: iscsi
Biser Milanov6f4b6e62024-11-21 17:35:01 +0200307 storpool_iscsi_export_to: "\\\\*"
308 storpool_iscsi_portal_group: pg
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300309 use_multipath_for_image_xfer: True
310 $NOVA_CONF:
311 libvirt:
312 # cfg: iscsi
313 volume_use_multipath: True
314 tempest_test_regex: |
315 volume|^cinder_tempest_plugin
316# ^cinder_tempest_plugin
317# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
318
319
320- job:
321 name: cinder-storpool-tempest-iscsi-multipath-testing
322 parent: cinder-storpool-tempest-iscsi-multipath
323 vars:
324 sp_target_release: "testing"
325
Biser Milanov0ea90622025-01-15 13:50:14 +0200326- job:
327 name: cinder-storpool-tempest-iscsi-multipath-testing-debug
328 parent: cinder-storpool-tempest-iscsi-multipath-testing
329 run: playbooks/tempest.yaml
330 vars:
331 tempest_test_regex: --dry-run volume|^cinder_tempest_plugin
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300332
333- job:
334 name: kolla-cinder-storpool-tempest-iscsi-multipath
335 pre-run:
336 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
337 - playbooks/setup-openstack-client/pre.yaml
338 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
339 - playbooks/setup-openstack-storpool/pre.yaml
340 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/pre.yaml
341 run: playbooks/kolla-setup-openstack-iscsi-multipath-storpool/run.yaml
342 cleanup-run:
343 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/post.yaml
344 - playbooks/setup-openstack-storpool/post.yaml
345 - playbooks/setup-openstack-iscsi-multipath/post.yaml
346 - playbooks/setup-openstack-client/post.yaml
347 required-projects:
348 - opendev.org/openstack/tempest
349 timeout: 10800
350 nodeset: ubuntu2204-openstack-multi-node-mixed
351 attempts: 1
352 secrets:
353 # openstack-client
354 - name: OPENSTACK_DATA
355 secret: OPENSTACK_DATA
356 - name: RESOLVED_DATA
357 secret: RESOLVED_DATA
358
359 # openstack-iscsi-multipath-storpool
360 - name: STORPOOL_DEPLOY_KEY
361 secret: STORPOOL_DEPLOY_KEY
362 - name: STORPOOL_DEPLOY_KEY_PUB
363 secret: STORPOOL_DEPLOY_KEY_PUB
364 - name: STORPOOL_DEPLOY
365 secret: STORPOOL_DEPLOY
366 - name: STORPOOL_DEPLOY_INFO_CONF
367 secret: STORPOOL_DEPLOY_INFO_CONF
368 - name: STORPOOL_ISCSI_INVENTORY
369 secret: STORPOOL_ISCSI_INVENTORY
370 - name: STORPOOL_ISCSI_NETPLAN
371 secret: STORPOOL_ISCSI_NETPLAN
372 - name: STORPOOL_STORPOOL_NETPLAN
373 secret: STORPOOL_STORPOOL_NETPLAN
374 - name: STORPOOL_NETPLAN_SERVICE
375 secret: STORPOOL_NETPLAN_SERVICE
376 - name: STORPOOL_CONF_ISCSI
377 secret: STORPOOL_CONF_ISCSI
378 - name: STORPOOL_CONF_ISCSI_NODE
379 secret: STORPOOL_CONF_ISCSI_NODE
380 - name: ISCSI_NODE_SYSTEMD_NETWORKD
381 secret: ISCSI_NODE_SYSTEMD_NETWORKD
382 vars:
383 os_venv: "~/sp-venv-openstack"
384 storpool_connection: "iscsi"
385 sp_target_release: "release"
386
387 zuul_copy_output:
388 /etc/multipath.conf: logs_txt
389 /etc/iscsi/iscsid.conf: logs_txt
390
391 tempest_test_regex: volume
392
393- job:
394 name: kolla-cinder-storpool-tempest-iscsi-multipath-zed-ubuntu-jammy-pre-release
395 parent: kolla-cinder-storpool-tempest-iscsi-multipath
396 vars:
397 sp_target_release: "release"
398
399 kolla_ansible_version: "16.2.0"
400 kolla_openstack_release: "zed"
401 enable_cinder_backend_storpool: "yes"
402 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy-pre-release"
403 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy-pre-release"
404 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:zed-ubuntu-jammy"
405
406- job:
407 name: kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference
408 parent: kolla-cinder-storpool-tempest-iscsi-multipath
409 vars:
410 sp_target_release: "release"
411
412 kolla_ansible_version: "stable/2023.2"
413 kolla_openstack_release: "2023.2"
414 enable_cinder_backend_storpool: "no"
415 kolla_nova_compute_image_full: "quay.io/openstack.kolla/nova-compute:2023.2-ubuntu-jammy"
416 kolla_cinder_volume_image_full: "quay.io/openstack.kolla/cinder-volume:2023.2-ubuntu-jammy"
417 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
418
419- job:
420 name: kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release
421 parent: kolla-cinder-storpool-tempest-iscsi-multipath
422 vars:
423 sp_target_release: "release"
424
425 kolla_ansible_version: "stable/2023.2"
426 kolla_openstack_release: "2023.2"
427 enable_cinder_backend_storpool: "yes"
Biser Milanova9d50d62024-12-20 14:11:41 +0200428 kolla_nova_compute_image_full: "cts.storpool.com/kolla/nova-compute:2023.2-ubuntu-jammy-pre-release"
429 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/cinder-volume:2023.2-ubuntu-jammy-pre-release"
430 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 +0300431
432- job:
433 name: kolla-cinder-storpool-tempest-iscsi-multipath-testing
434 parent: kolla-cinder-storpool-tempest-iscsi-multipath
435 vars:
436 sp_target_release: "testing"
437
Biser Milanove9b71ad2025-01-14 13:22:45 +0200438 kolla_ansible_version: "17.7.0"
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300439 kolla_openstack_release: "zed"
440 enable_cinder_backend_storpool: "yes"
441 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy"
442 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy"
443 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
444
445- project:
446 name: openstack/cinder
447 check:
448 jobs:
449 - cinder-storpool-tempest:
450 branches: master
451 - cinder-storpool-tempest-iscsi-multipath:
452 branches: master
453 experimental:
454 jobs:
455 - cinder-storpool-tempest-experimental:
456 branches: master
457 #- cinder-storpool-tempest-iscsi:
458 # branches: master
459
460- project:
461 name: openstack/os-brick
462 check:
463 jobs:
464 - cinder-storpool-tempest:
465 branches: master
466
467- project:
468 name: kolla-experiments
469 check:
470 jobs:
471 - kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference:
472 branches: master
473 - kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release:
474 branches: master
475
476- project:
477 name: storpool-experiments
478 check:
479 jobs:
Biser Milanov90385a82025-01-15 13:54:32 +0200480 #- cinder-storpool-tempest-testing:
481 # branches: master
482 #- cinder-storpool-tempest-iscsi-multipath-testing:
483 # branches: master
484 #- kolla-cinder-storpool-tempest-iscsi-multipath-testing:
485 # branches: master
486 - cinder-storpool-tempest-testing-debug:
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300487 branches: master
Biser Milanov90385a82025-01-15 13:54:32 +0200488 - cinder-storpool-tempest-iscsi-multipath-testing-debug:
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300489 branches: master