blob: d387b0dd50a2e140c5c2523ea0bf58f6357d0b51 [file] [log] [blame]
Monty Taylor36ddea32017-10-02 10:05:17 -05001- nodeset:
2 name: openstack-single-node
3 nodes:
4 - name: controller
5 label: ubuntu-xenial
6 groups:
7 - name: tempest
8 nodes:
9 - controller
10
11- nodeset:
Dr. Jens Harbott34800932020-02-13 09:38:35 +000012 name: openstack-single-node-focal
13 nodes:
14 - name: controller
15 label: ubuntu-focal
16 groups:
17 - name: tempest
18 nodes:
19 - controller
20
21- nodeset:
Goutham Pacha Ravid543ecb2018-09-27 09:59:24 -070022 name: openstack-single-node-bionic
23 nodes:
24 - name: controller
25 label: ubuntu-bionic
26 groups:
27 - name: tempest
28 nodes:
29 - controller
30
31- nodeset:
Jens Harbotta6017b62018-10-16 13:57:23 +000032 name: openstack-single-node-xenial
33 nodes:
34 - name: controller
35 label: ubuntu-xenial
36 groups:
37 - name: tempest
38 nodes:
39 - controller
40
41- nodeset:
Ian Wienand11641ce2018-02-05 14:39:18 +110042 name: devstack-single-node-centos-7
43 nodes:
44 - name: controller
45 label: centos-7
46 groups:
47 - name: tempest
48 nodes:
49 - controller
50
51- nodeset:
Ian Wienand36705b52020-04-09 11:00:28 +010052 name: devstack-single-node-centos-8
53 nodes:
54 - name: controller
55 label: centos-8
56 groups:
57 - name: tempest
58 nodes:
59 - controller
60
61- nodeset:
Dirk Mueller70fca492019-06-26 09:57:02 +020062 name: devstack-single-node-opensuse-15
Ian Wienand11641ce2018-02-05 14:39:18 +110063 nodes:
64 - name: controller
Dirk Mueller70fca492019-06-26 09:57:02 +020065 label: opensuse-15
Ian Wienand11641ce2018-02-05 14:39:18 +110066 groups:
67 - name: tempest
68 nodes:
69 - controller
70
71- nodeset:
Paul Belangerbed03ea2018-05-01 21:36:37 -040072 name: devstack-single-node-fedora-latest
73 nodes:
74 - name: controller
Lee Yarwoodc36e51b2020-04-09 11:17:03 +010075 label: fedora-31
Paul Belangerbed03ea2018-05-01 21:36:37 -040076 groups:
77 - name: tempest
78 nodes:
79 - controller
80
81- nodeset:
Monty Taylor36ddea32017-10-02 10:05:17 -050082 name: openstack-two-node
83 nodes:
84 - name: controller
85 label: ubuntu-xenial
86 - name: compute1
87 label: ubuntu-xenial
88 groups:
Andrea Frittoli5e714d32018-02-17 22:21:26 +000089 # Node where tests are executed and test results collected
Monty Taylor36ddea32017-10-02 10:05:17 -050090 - name: tempest
91 nodes:
92 - controller
Andrea Frittoli5e714d32018-02-17 22:21:26 +000093 # Nodes running the compute service
Monty Taylor36ddea32017-10-02 10:05:17 -050094 - name: compute
95 nodes:
96 - controller
97 - compute1
Andrea Frittoli5e714d32018-02-17 22:21:26 +000098 # Nodes that are not the controller
Andrea Frittoli (andreaf)7d444652017-12-01 17:36:38 +000099 - name: subnode
100 nodes:
101 - compute1
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000102 # Switch node for multinode networking setup
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000103 - name: switch
104 nodes:
105 - controller
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000106 # Peer nodes for multinode networking setup
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000107 - name: peers
108 nodes:
109 - compute1
Monty Taylor36ddea32017-10-02 10:05:17 -0500110
Jens Harbott4727aaa2018-10-16 13:57:23 +0000111- nodeset:
Ghanshyam Mann02da0c42020-06-25 20:03:22 -0500112 name: openstack-two-node-focal
113 nodes:
114 - name: controller
115 label: ubuntu-focal
116 - name: compute1
117 label: ubuntu-focal
118 groups:
119 # Node where tests are executed and test results collected
120 - name: tempest
121 nodes:
122 - controller
123 # Nodes running the compute service
124 - name: compute
125 nodes:
126 - controller
127 - compute1
128 # Nodes that are not the controller
129 - name: subnode
130 nodes:
131 - compute1
132 # Switch node for multinode networking setup
133 - name: switch
134 nodes:
135 - controller
136 # Peer nodes for multinode networking setup
137 - name: peers
138 nodes:
139 - compute1
140
141- nodeset:
Jens Harbott4727aaa2018-10-16 13:57:23 +0000142 name: openstack-two-node-bionic
143 nodes:
144 - name: controller
145 label: ubuntu-bionic
146 - name: compute1
147 label: ubuntu-bionic
148 groups:
149 # Node where tests are executed and test results collected
150 - name: tempest
151 nodes:
152 - controller
153 # Nodes running the compute service
154 - name: compute
155 nodes:
156 - controller
157 - compute1
158 # Nodes that are not the controller
159 - name: subnode
160 nodes:
161 - compute1
162 # Switch node for multinode networking setup
163 - name: switch
164 nodes:
165 - controller
166 # Peer nodes for multinode networking setup
167 - name: peers
168 nodes:
169 - compute1
170
171- nodeset:
172 name: openstack-two-node-xenial
173 nodes:
174 - name: controller
175 label: ubuntu-xenial
176 - name: compute1
177 label: ubuntu-xenial
178 groups:
179 # Node where tests are executed and test results collected
180 - name: tempest
181 nodes:
182 - controller
183 # Nodes running the compute service
184 - name: compute
185 nodes:
186 - controller
187 - compute1
188 # Nodes that are not the controller
189 - name: subnode
190 nodes:
191 - compute1
192 # Switch node for multinode networking setup
193 - name: switch
194 nodes:
195 - controller
196 # Peer nodes for multinode networking setup
197 - name: peers
198 nodes:
199 - compute1
200
Slawek Kaplonskicf7fc9c2019-02-25 10:46:52 +0100201- nodeset:
Ghanshyam Mann02da0c42020-06-25 20:03:22 -0500202 name: openstack-three-node-focal
203 nodes:
204 - name: controller
205 label: ubuntu-focal
206 - name: compute1
207 label: ubuntu-focal
208 - name: compute2
209 label: ubuntu-focal
210 groups:
211 # Node where tests are executed and test results collected
212 - name: tempest
213 nodes:
214 - controller
215 # Nodes running the compute service
216 - name: compute
217 nodes:
218 - controller
219 - compute1
220 - compute2
221 # Nodes that are not the controller
222 - name: subnode
223 nodes:
224 - compute1
225 - compute2
226 # Switch node for multinode networking setup
227 - name: switch
228 nodes:
229 - controller
230 # Peer nodes for multinode networking setup
231 - name: peers
232 nodes:
233 - compute1
234 - compute2
235
236- nodeset:
Slawek Kaplonskicf7fc9c2019-02-25 10:46:52 +0100237 name: openstack-three-node-bionic
238 nodes:
239 - name: controller
240 label: ubuntu-bionic
241 - name: compute1
242 label: ubuntu-bionic
243 - name: compute2
244 label: ubuntu-bionic
245 groups:
246 # Node where tests are executed and test results collected
247 - name: tempest
248 nodes:
249 - controller
250 # Nodes running the compute service
251 - name: compute
252 nodes:
253 - controller
254 - compute1
255 - compute2
256 # Nodes that are not the controller
257 - name: subnode
258 nodes:
259 - compute1
260 - compute2
261 # Switch node for multinode networking setup
262 - name: switch
263 nodes:
264 - controller
265 # Peer nodes for multinode networking setup
266 - name: peers
267 nodes:
268 - compute1
269 - compute2
270
Monty Taylor36ddea32017-10-02 10:05:17 -0500271- job:
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000272 name: devstack-base
Monty Taylor36ddea32017-10-02 10:05:17 -0500273 parent: multinode
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000274 abstract: true
275 description: |
276 Base abstract Devstack job.
277
278 Defines plays and base variables, but it does not include any project
279 and it does not run any service by default. This is a common base for
280 all single Devstack jobs, single or multinode.
281 Variables are defined in job.vars, which is what is then used by single
282 node jobs and by multi node jobs for the controller, as well as in
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000283 job.group-vars.peers, which is what is used by multi node jobs for subnode
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000284 nodes (everything but the controller).
Monty Taylor36ddea32017-10-02 10:05:17 -0500285 required-projects:
OpenDev Sysadmins666f5492019-04-19 19:43:10 +0000286 - opendev.org/openstack/devstack
Ian Wienandd8753b72017-10-20 14:21:33 +1100287 roles:
OpenDev Sysadmins666f5492019-04-19 19:43:10 +0000288 - zuul: opendev.org/openstack/devstack-gate
289 - zuul: opendev.org/openstack/openstack-zuul-jobs
Monty Taylor36ddea32017-10-02 10:05:17 -0500290 vars:
291 devstack_localrc:
292 DATABASE_PASSWORD: secretdatabase
293 RABBIT_PASSWORD: secretrabbit
294 ADMIN_PASSWORD: secretadmin
295 SERVICE_PASSWORD: secretservice
296 NETWORK_GATEWAY: 10.1.0.1
Monty Taylor36ddea32017-10-02 10:05:17 -0500297 FIXED_RANGE: 10.1.0.0/20
298 IPV4_ADDRS_SAFE_TO_USE: 10.1.0.0/20
299 FLOATING_RANGE: 172.24.5.0/24
300 PUBLIC_NETWORK_GATEWAY: 172.24.5.1
Monty Taylor36ddea32017-10-02 10:05:17 -0500301 LOGFILE: /opt/stack/logs/devstacklog.txt
James E. Blairc0d8c1c2017-10-28 10:23:58 -0700302 LOG_COLOR: false
303 VERBOSE: true
Ian Wienand83ecb972018-02-06 10:03:34 +1100304 VERBOSE_NO_TIMESTAMP: true
James E. Blairc0d8c1c2017-10-28 10:23:58 -0700305 NOVNC_FROM_PACKAGE: true
306 ERROR_ON_CLONE: true
Ian Wienand5c6b3c32019-10-04 09:31:53 +1000307 # Gate jobs can't deal with nested virt. Disable it by default.
308 LIBVIRT_TYPE: '{{ devstack_libvirt_type | default("qemu") }}'
Monty Taylor36ddea32017-10-02 10:05:17 -0500309 devstack_services:
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000310 # Ignore any default set by devstack. Emit a "disable_all_services".
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000311 base: false
Monty Taylora904cad2018-01-22 16:18:55 -0600312 zuul_copy_output:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400313 '{{ devstack_conf_dir }}/local.conf': logs
314 '{{ devstack_conf_dir }}/localrc': logs
315 '{{ devstack_conf_dir }}/.localrc.auto': logs
316 '{{ devstack_conf_dir }}/.stackenv': logs
317 '{{ devstack_log_dir }}/dstat-csv.log': logs
318 '{{ devstack_log_dir }}/devstacklog.txt': logs
319 '{{ devstack_log_dir }}/devstacklog.txt.summary': logs
Ian Wienand2bbc9bb2019-02-11 12:25:38 +1100320 '{{ devstack_log_dir }}/tcpdump.pcap': logs
Jens Harbottce396d32019-09-05 08:51:33 +0000321 '{{ devstack_log_dir }}/worlddump-latest.txt': logs
Doug Hellmanna0d10162018-09-08 22:50:06 -0400322 '{{ devstack_full_log}}': logs
323 '{{ stage_dir }}/verify_tempest_conf.log': logs
324 '{{ stage_dir }}/apache': logs
325 '{{ stage_dir }}/apache_config': logs
326 '{{ stage_dir }}/etc': logs
327 /var/log/rabbitmq: logs
328 /var/log/postgresql: logs
Matt Riedemannf92c3462019-08-22 12:15:09 -0400329 /var/log/mysql: logs
Doug Hellmanna0d10162018-09-08 22:50:06 -0400330 /var/log/libvirt: logs
331 /etc/sudoers: logs
332 /etc/sudoers.d: logs
333 '{{ stage_dir }}/iptables.txt': logs
334 '{{ stage_dir }}/df.txt': logs
335 '{{ stage_dir }}/pip2-freeze.txt': logs
336 '{{ stage_dir }}/pip3-freeze.txt': logs
337 '{{ stage_dir }}/dpkg-l.txt': logs
338 '{{ stage_dir }}/rpm-qa.txt': logs
339 '{{ stage_dir }}/core': logs
340 '{{ stage_dir }}/listen53.txt': logs
341 '{{ stage_dir }}/deprecations.log': logs
Kashyap Chamarthy4eb455a2019-02-22 20:11:35 +0100342 '{{ stage_dir }}/audit.log': logs
Doug Hellmanna0d10162018-09-08 22:50:06 -0400343 /var/log/ceph: logs
344 /var/log/openvswitch: logs
345 /var/log/glusterfs: logs
346 /etc/glusterfs/glusterd.vol: logs
347 /etc/resolv.conf: logs
348 /var/log/unbound.log: logs
Andrea Frittoli (andreaf)63171ee2018-01-31 21:01:36 +0000349 extensions_to_txt:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400350 conf: true
351 log: true
352 localrc: true
353 stackenv: true
354 auto: true
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000355 group-vars:
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000356 subnode:
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000357 devstack_localrc:
358 DATABASE_PASSWORD: secretdatabase
359 RABBIT_PASSWORD: secretrabbit
360 ADMIN_PASSWORD: secretadmin
361 SERVICE_PASSWORD: secretservice
362 NETWORK_GATEWAY: 10.1.0.1
363 FIXED_RANGE: 10.1.0.0/20
364 IPV4_ADDRS_SAFE_TO_USE: 10.1.0.0/20
365 FLOATING_RANGE: 172.24.5.0/24
366 PUBLIC_NETWORK_GATEWAY: 172.24.5.1
367 LOGFILE: /opt/stack/logs/devstacklog.txt
368 LOG_COLOR: false
369 VERBOSE: true
370 VERBOSE_NO_TIMESTAMP: true
371 NOVNC_FROM_PACKAGE: true
372 ERROR_ON_CLONE: true
373 LIBVIRT_TYPE: qemu
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000374 devstack_services:
375 base: false
James E. Blairc0d8c1c2017-10-28 10:23:58 -0700376 pre-run: playbooks/pre.yaml
377 run: playbooks/devstack.yaml
378 post-run: playbooks/post.yaml
Andreas Jaegerb4d772b2017-12-23 20:17:33 +0100379 irrelevant-files:
380 # Documentation related
381 - ^.*\.rst$
382 - ^api-ref/.*$
383 - ^doc/.*$
384 - ^releasenotes/.*$
385 # Translations
386 - ^.*/locale/.*po$
Monty Taylor36ddea32017-10-02 10:05:17 -0500387
Andrea Frittoli (andreaf)7d444652017-12-01 17:36:38 +0000388- job:
Monty Taylor4d7e3372017-11-15 09:45:56 -0600389 name: devstack-minimal
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000390 parent: devstack-base
391 description: |
Monty Taylor4d7e3372017-11-15 09:45:56 -0600392 Minimal devstack base job, intended for use by jobs that need
393 less than the normal minimum set of required-projects.
Jens Harbott4727aaa2018-10-16 13:57:23 +0000394 nodeset: openstack-single-node-bionic
Monty Taylor4d7e3372017-11-15 09:45:56 -0600395 required-projects:
OpenDev Sysadmins666f5492019-04-19 19:43:10 +0000396 - opendev.org/openstack/requirements
Monty Taylor4d7e3372017-11-15 09:45:56 -0600397 vars:
398 devstack_localrc:
399 # Multinode specific settings
400 SERVICE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
401 HOST_IP: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
Doug Hellmanna0d10162018-09-08 22:50:06 -0400402 PUBLIC_BRIDGE_MTU: '{{ external_bridge_mtu }}'
Monty Taylor4d7e3372017-11-15 09:45:56 -0600403 devstack_services:
404 # Shared services
405 dstat: true
406 etcd3: true
Jens Harbott95634d92019-02-21 12:24:17 +0000407 memory_tracker: true
Monty Taylor4d7e3372017-11-15 09:45:56 -0600408 mysql: true
Monty Taylor4d7e3372017-11-15 09:45:56 -0600409 rabbit: true
410 group-vars:
411 subnode:
412 devstack_services:
413 # Shared services
414 dstat: true
Jens Harbott95634d92019-02-21 12:24:17 +0000415 memory_tracker: true
Monty Taylor4d7e3372017-11-15 09:45:56 -0600416 devstack_localrc:
417 # Multinode specific settings
418 HOST_IP: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
419 SERVICE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
Doug Hellmanna0d10162018-09-08 22:50:06 -0400420 PUBLIC_BRIDGE_MTU: '{{ external_bridge_mtu }}'
Monty Taylor4d7e3372017-11-15 09:45:56 -0600421 # Subnode specific settings
422 DATABASE_TYPE: mysql
423 RABBIT_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
424 DATABASE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
425
426
427- job:
428 name: devstack
429 parent: devstack-minimal
430 description: |
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000431 Base devstack job for integration gate.
432
433 This base job can be used for single node and multinode devstack jobs.
Andrea Frittoli067e3652018-02-23 16:04:46 +0000434
435 With a single node nodeset, this job sets up an "all-in-one" (aio)
Chris Dent78a564b2018-10-05 10:17:56 +0100436 devstack with the seven OpenStack services included in the devstack tree:
437 keystone, glance, cinder, neutron, nova, placement, and swift.
Andrea Frittoli067e3652018-02-23 16:04:46 +0000438
439 With a two node nodeset, this job sets up an aio + compute node.
440 The controller can be customised using host-vars.controller, the
441 sub-nodes can be customised using group-vars.subnode.
442
443 Descendent jobs can enable / disable services, add devstack configuration
444 options, enable devstack plugins, configure log files or directories to be
445 transferred to the log server.
446
447 The job assumes that there is only one controller node. The number of
448 subnodes can be scaled up seamlessly by setting a custom nodeset in
449 job.nodeset.
450
451 The run playbook consists of a single role, so it can be easily rewritten
452 and extended.
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000453 required-projects:
OpenDev Sysadmins666f5492019-04-19 19:43:10 +0000454 - opendev.org/openstack/cinder
455 - opendev.org/openstack/glance
456 - opendev.org/openstack/keystone
457 - opendev.org/openstack/neutron
458 - opendev.org/openstack/nova
459 - opendev.org/openstack/placement
460 - opendev.org/openstack/swift
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000461 timeout: 7200
462 vars:
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000463 devstack_localrc:
464 # Common OpenStack services settings
465 SWIFT_REPLICAS: 1
466 SWIFT_START_ALL_SERVICES: false
467 SWIFT_HASH: 1234123412341234
Doug Hellmanna0d10162018-09-08 22:50:06 -0400468 DEBUG_LIBVIRT_COREDUMPS: true
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000469 NOVA_VNC_ENABLED: true
Luigi Toscano34e09dd2018-03-18 17:56:27 +0100470 devstack_local_conf:
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000471 post-config:
472 $NEUTRON_CONF:
473 DEFAULT:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400474 global_physnet_mtu: '{{ external_bridge_mtu }}'
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000475 devstack_services:
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000476 # Core services enabled for this branch.
477 # This list replaces the test-matrix.
478 # Shared services
479 dstat: true
480 etcd3: true
Jens Harbott95634d92019-02-21 12:24:17 +0000481 memory_tracker: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000482 mysql: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000483 rabbit: true
484 tls-proxy: true
485 # Keystone services
486 key: true
487 # Glance services
488 g-api: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000489 # Nova services
490 n-api: true
491 n-api-meta: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000492 n-cond: true
493 n-cpu: true
494 n-novnc: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000495 n-sch: true
Dr. Jens Harbottf6597b12020-01-29 15:46:35 +0000496 # Placement service
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000497 placement-api: true
498 # Neutron services
Jens Harbotte6faf842018-03-13 12:21:34 +0000499 q-agt: true
500 q-dhcp: true
501 q-l3: true
502 q-meta: true
503 q-metering: true
504 q-svc: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000505 # Swift services
506 s-account: true
507 s-container: true
508 s-object: true
509 s-proxy: true
510 # Cinder services
511 c-api: true
512 c-bak: true
513 c-sch: true
514 c-vol: true
515 cinder: true
516 # Services we don't need.
517 # This section is not really needed, it's for readability.
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000518 horizon: false
519 tempest: false
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000520 # Test matrix emits ceilometer but ceilomenter is not installed in the
521 # integrated gate, so specifying the services has not effect.
522 # ceilometer-*: false
523 group-vars:
524 subnode:
525 devstack_services:
526 # Core services enabled for this branch.
527 # This list replaces the test-matrix.
528 # Shared services
529 dstat: true
Jens Harbott95634d92019-02-21 12:24:17 +0000530 memory_tracker: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000531 tls-proxy: true
532 # Nova services
533 n-cpu: true
Dr. Jens Harbottf6597b12020-01-29 15:46:35 +0000534 # Placement services
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000535 placement-client: true
536 # Neutron services
Slawek Kaplonski1b151762019-05-31 16:23:57 +0200537 q-agt: true
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000538 # Cinder services
539 c-bak: true
540 c-vol: true
541 # Services we don't run at all on subnode.
542 # This section is not really needed, it's for readability.
543 # keystone: false
544 # s-*: false
545 horizon: false
546 tempest: false
Dr. Jens Harbottf6597b12020-01-29 15:46:35 +0000547 # Test matrix emits ceilometer but ceilometer is not installed in the
Andrea Frittoli (andreaf)d9c12752018-02-21 14:35:58 +0000548 # integrated gate, so specifying the services has not effect.
549 # ceilometer-*: false
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000550 devstack_localrc:
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000551 # Subnode specific settings
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000552 GLANCE_HOSTPORT: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}:9292"
553 Q_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
Andrea Frittoli (andreaf)05da9a92018-04-25 13:52:44 +0100554 NOVA_VNC_ENABLED: true
Andrea Frittoli7b1d5b62018-02-26 22:23:02 +0000555
556- job:
aojeagarcia0d91c292018-10-08 16:43:19 +0200557 name: devstack-ipv6
558 parent: devstack
559 description: |
560 Devstack single node job for integration gate with IPv6.
561 vars:
562 devstack_localrc:
563 SERVICE_IP_VERSION: 6
564 SERVICE_HOST: ""
aojeagarcia0d91c292018-10-08 16:43:19 +0200565
566- job:
Andrea Frittoli (andreaf)7d444652017-12-01 17:36:38 +0000567 name: devstack-multinode
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000568 parent: devstack
Jens Harbott4727aaa2018-10-16 13:57:23 +0000569 nodeset: openstack-two-node-bionic
Andrea Frittoli5e714d32018-02-17 22:21:26 +0000570 description: |
571 Simple multinode test to verify multinode functionality on devstack side.
572 This is not meant to be used as a parent job.
Monty Taylor36ddea32017-10-02 10:05:17 -0500573
Ian Wienand11641ce2018-02-05 14:39:18 +1100574# NOTE(ianw) Platform tests have traditionally been non-voting because
575# we often have to rush things through devstack to stabilise the gate,
576# and these platforms don't have the round-the-clock support to avoid
577# becoming blockers in that situation.
578- job:
Ian Wienand36705b52020-04-09 11:00:28 +0100579 name: devstack-platform-centos-8
580 parent: tempest-full-py3
581 description: Centos 8 platform test
582 nodeset: devstack-single-node-centos-8
583 voting: false
584 timeout: 9000
585
586- job:
Dirk Mueller70fca492019-06-26 09:57:02 +0200587 name: devstack-platform-opensuse-15
Jens Harbott5fcb4442019-02-14 12:56:48 +0000588 parent: tempest-full-py3
Dirk Mueller70fca492019-06-26 09:57:02 +0200589 description: openSUSE 15.x platform test
590 nodeset: devstack-single-node-opensuse-15
Jens Harbott59519ca2020-06-29 10:24:21 +0200591 voting: false
Dr. Jens Harbott34800932020-02-13 09:38:35 +0000592
593- job:
594 name: devstack-platform-focal
595 parent: tempest-full-py3
596 description: Ubuntu Focal Fossa platform test
597 nodeset: openstack-single-node-focal
598 vars:
599 tempest_black_regex: "(tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest.test_resize_server_with_multiattached_volume|tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON|tempest.api.compute.servers.test_server_rescue.ServerStableDeviceRescueTest.test_stable_device_rescue_disk_virtio_with_volume_attached)"
Ian Wienand11641ce2018-02-05 14:39:18 +1100600 voting: false
601
602- job:
Paul Belangerbed03ea2018-05-01 21:36:37 -0400603 name: devstack-platform-fedora-latest
Jens Harbott5fcb4442019-02-14 12:56:48 +0000604 parent: tempest-full-py3
Paul Belangerbed03ea2018-05-01 21:36:37 -0400605 description: Fedora latest platform test
606 nodeset: devstack-single-node-fedora-latest
Ian Wienand11641ce2018-02-05 14:39:18 +1100607 voting: false
608
Monty Taylore1b0c382017-12-06 09:07:47 -0600609- job:
Lee Yarwoodb4375af2020-01-06 13:57:20 +0000610 name: devstack-platform-fedora-latest-virt-preview
611 parent: tempest-full-py3
612 description: Fedora latest platform test using the virt-preview repo.
613 nodeset: devstack-single-node-fedora-latest
614 voting: false
615 vars:
616 devstack_localrc:
617 ENABLE_FEDORA_VIRT_PREVIEW_REPO: true
618
619- job:
Monty Taylore1b0c382017-12-06 09:07:47 -0600620 name: devstack-tox-base
621 parent: devstack
622 description: |
623 Base job for devstack-based functional tests that use tox.
624
625 This job is not intended to be run directly. It's just here
626 for organizational purposes for devstack-tox-functional and
627 devstack-tox-functional-consumer.
628 post-run: playbooks/tox/post.yaml
629 vars:
630 tox_envlist: functional
631 tox_install_siblings: false
632
633- job:
634 name: devstack-tox-functional
635 parent: devstack-tox-base
636 description: |
637 Base job for devstack-based functional tests that use tox.
638
639 Runs devstack, then runs the tox ``functional`` environment,
640 then collects tox/testr build output like normal tox jobs.
641
642 Turns off tox sibling installation. Projects may be involved
643 in the devstack deployment and so may be in the required-projects
644 list, but may not want to test against master of the other
645 projects in their tox env. Child jobs can set tox_install_siblings
646 to True to re-enable sibling processing.
647 run: playbooks/tox/run-both.yaml
648
649- job:
650 name: devstack-tox-functional-consumer
651 parent: devstack
652 description: |
653 Base job for devstack-based functional tests for projects that
654 consume the devstack cloud.
655
656 This base job should only be used by projects that are not involved
657 in the devstack deployment step, but are instead projects that are using
658 devstack to get a cloud against which they can test things.
659
660 Runs devstack in pre-run, then runs the tox ``functional`` environment,
661 then collects tox/testr build output like normal tox jobs.
662
663 Turns off tox sibling installation. Projects may be involved
664 in the devstack deployment and so may be in the required-projects
665 list, but may not want to test against master of the other
666 projects in their tox env. Child jobs can set tox_install_siblings
667 to True to re-enable sibling processing.
668 pre-run:
669 - playbooks/devstack.yaml
670 - playbooks/tox/pre.yaml
671 run: playbooks/tox/run.yaml
672
Andreas Jaeger838b8332018-02-04 17:55:54 +0100673- job:
674 name: devstack-unit-tests
675 description: |
676 Runs unit tests on devstack project.
677
678 It runs ``run_tests.sh``.
679 pre-run: playbooks/unit-tests/pre.yaml
680 run: playbooks/unit-tests/run.yaml
681
Monty Taylor36ddea32017-10-02 10:05:17 -0500682- project:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400683 templates:
ghanshyamdc334852018-12-19 04:23:30 +0000684 - integrated-gate-py3
Doug Hellmann53db72c2018-09-08 22:53:59 -0400685 - publish-openstack-docs-pti
Monty Taylor36ddea32017-10-02 10:05:17 -0500686 check:
687 jobs:
James E. Blair9640d3b2017-10-15 16:23:57 -0700688 - devstack
Ghanshyam Mann420d3df2019-07-25 06:48:39 +0000689 - devstack-ipv6
Dirk Mueller70fca492019-06-26 09:57:02 +0200690 - devstack-platform-opensuse-15
Paul Belangerbed03ea2018-05-01 21:36:37 -0400691 - devstack-platform-fedora-latest
Ian Wienand36705b52020-04-09 11:00:28 +0100692 - devstack-platform-centos-8
Dr. Jens Harbott34800932020-02-13 09:38:35 +0000693 - devstack-platform-focal
Andrea Frittoli (andreaf)7d444652017-12-01 17:36:38 +0000694 - devstack-multinode
Andreas Jaeger838b8332018-02-04 17:55:54 +0100695 - devstack-unit-tests
Doug Hellmanna0d10162018-09-08 22:50:06 -0400696 - openstack-tox-bashate
Iury Gregory Melo Ferreirabab27cb2019-01-09 15:55:47 +0100697 - ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400698 voting: false
Andreas Jaegerb4b67892018-09-10 18:40:41 +0200699 - swift-dsvm-functional:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400700 voting: false
Radosław Piliszekaa71ebf2020-03-30 12:06:30 +0200701 irrelevant-files: &dsvm-irrelevant-files
Doug Hellmanna0d10162018-09-08 22:50:06 -0400702 - ^.*\.rst$
703 - ^doc/.*$
Radosław Piliszekaa71ebf2020-03-30 12:06:30 +0200704 - swift-dsvm-functional-py3:
705 voting: false
706 irrelevant-files: *dsvm-irrelevant-files
Andreas Jaegerc104afe2020-05-04 08:21:02 +0200707 - grenade:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400708 irrelevant-files:
709 - ^.*\.rst$
710 - ^doc/.*$
711 - neutron-grenade-multinode:
712 irrelevant-files:
713 - ^.*\.rst$
714 - ^doc/.*$
715 - neutron-tempest-linuxbridge:
716 irrelevant-files:
717 - ^.*\.rst$
718 - ^doc/.*$
Slawek Kaplonski744f50b2020-06-16 22:28:28 +0200719 - neutron-ovn-tempest-ovs-release:
720 voting: false
721 irrelevant-files:
722 - ^.*\.rst$
723 - ^doc/.*$
Ghanshyam Mannd22a8bc2020-03-15 18:22:45 -0500724 - tempest-multinode-full-py3:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400725 voting: false
726 irrelevant-files:
727 - ^.*\.rst$
728 - ^doc/.*$
Monty Taylor28a62242017-12-06 09:21:43 -0600729 - openstacksdk-functional-devstack:
730 irrelevant-files:
731 - ^.*\.rst$
732 - ^doc/.*$
Ghanshyam Mann99bcaf52019-07-31 12:39:49 +0000733 - tempest-ipv6-only:
734 irrelevant-files:
735 - ^.*\.rst$
736 - ^doc/.*$
Ghanshyam2e45f2c2020-01-18 19:59:29 -0600737 # NOTE(gmann): Remove this job from devstack pipeline once it is
738 # migrated to zuulv3 native. This is legacy job and rely on
739 # devstack-gate + devstack setting so any change in devstack can
740 # break it.
741 - nova-live-migration:
742 voting: false
743 irrelevant-files:
744 - ^.*\.rst$
745 - ^doc/.*$
Monty Taylor52804402017-12-06 09:11:07 -0600746 gate:
747 jobs:
748 - devstack
Ghanshyam Mann420d3df2019-07-25 06:48:39 +0000749 - devstack-ipv6
Jens Harbott4727aaa2018-10-16 13:57:23 +0000750 - devstack-multinode
Andreas Jaeger838b8332018-02-04 17:55:54 +0100751 - devstack-unit-tests
Doug Hellmanna0d10162018-09-08 22:50:06 -0400752 - openstack-tox-bashate
Jens Harbotta267c5f2020-06-15 09:53:27 +0200753 - neutron-grenade-multinode:
754 irrelevant-files:
755 - ^.*\.rst$
756 - ^doc/.*$
Doug Hellmanna0d10162018-09-08 22:50:06 -0400757 - neutron-tempest-linuxbridge:
758 irrelevant-files:
759 - ^.*\.rst$
760 - ^doc/.*$
Jens Harbotta267c5f2020-06-15 09:53:27 +0200761 - grenade:
762 irrelevant-files:
763 - ^.*\.rst$
764 - ^doc/.*$
Monty Taylor28a62242017-12-06 09:21:43 -0600765 - openstacksdk-functional-devstack:
766 irrelevant-files:
767 - ^.*\.rst$
768 - ^doc/.*$
Ghanshyam Mann99bcaf52019-07-31 12:39:49 +0000769 - tempest-ipv6-only:
770 irrelevant-files:
771 - ^.*\.rst$
772 - ^doc/.*$
Ian Wienand1610cc22018-03-06 11:40:46 +1100773 # Please add a note on each job and conditions for the job not
774 # being experimental any more, so we can keep this list somewhat
775 # pruned.
776 #
777 # * nova-next: maintained by nova for unreleased/undefaulted
Stephen Finucane4b8cba72019-05-21 14:17:11 +0100778 # things
Kevin Benton66b361b2017-06-13 00:31:01 -0700779 # * neutron-fullstack-with-uwsgi: maintained by neutron for fullstack test
780 # when neutron-api is served by uwsgi, it's in exprimental for testing.
781 # the next cycle we can remove this job if things turn out to be
782 # stable enough.
783 # * neutron-functional-with-uwsgi: maintained by neutron for functional
784 # test. Next cycle we can remove this one if things turn out to be
785 # stable engouh with uwsgi.
786 # * neutron-tempest-with-uwsgi: maintained by neutron for tempest test.
787 # Next cycle we can remove this if everything run out stable enough.
Matt Riedemann58abccb2019-05-24 15:09:01 -0400788 # * nova-multi-cell: maintained by nova and currently non-voting in the
789 # check queue for nova changes but relies on devstack configuration
Lee Yarwood96ddc692020-01-28 14:04:02 +0000790 # * devstack-platform-fedora-latest-virt-preview: Maintained by lyarwood
791 # for Nova to allow early testing of the latest versions of Libvirt and
792 # QEMU. Should only graduate out of experimental if it ever moves into
793 # the check queue for Nova.
Kevin Benton66b361b2017-06-13 00:31:01 -0700794
Matt Riedemann21e3be82018-02-06 17:19:38 -0500795 experimental:
796 jobs:
Matt Riedemann58abccb2019-05-24 15:09:01 -0400797 - nova-multi-cell
Matt Riedemann21e3be82018-02-06 17:19:38 -0500798 - nova-next
Kevin Benton66b361b2017-06-13 00:31:01 -0700799 - neutron-fullstack-with-uwsgi
800 - neutron-functional-with-uwsgi
Doug Hellmanna0d10162018-09-08 22:50:06 -0400801 - neutron-tempest-with-uwsgi
Andreas Jaegerb4b67892018-09-10 18:40:41 +0200802 - devstack-plugin-ceph-tempest-py3:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400803 irrelevant-files:
804 - ^.*\.rst$
805 - ^doc/.*$
806 - neutron-tempest-dvr:
807 irrelevant-files:
808 - ^.*\.rst$
809 - ^doc/.*$
Doug Hellmanna0d10162018-09-08 22:50:06 -0400810 - neutron-tempest-dvr-ha-multinode-full:
811 irrelevant-files:
812 - ^.*\.rst$
813 - ^doc/.*$
Luigi Toscano0cbbefc2020-07-10 13:21:45 +0200814 - cinder-tempest-lvm-multibackend:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400815 irrelevant-files:
816 - ^.*\.rst$
817 - ^doc/.*$
Andreas Jaeger2c902392018-10-12 10:09:17 +0200818 - tempest-pg-full:
Doug Hellmanna0d10162018-09-08 22:50:06 -0400819 irrelevant-files:
820 - ^.*\.rst$
821 - ^doc/.*$
Lee Yarwood96ddc692020-01-28 14:04:02 +0000822 - devstack-platform-fedora-latest-virt-preview