blob: 748ddd38023729c9cc6bbaa6940ab3dcade7c949 [file] [log] [blame]
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07001- job:
2 name: manila-tempest-plugin-base
3 abstract: true
4 description: Base job for devstack/tempest based manila jobs.
5 parent: devstack-tempest
6 timeout: 10800
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -07007 required-projects: &manila-tempest-required-projects
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07008 - openstack/manila
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07009 - openstack/manila-tempest-plugin
10 - openstack/python-manilaclient
11 - openstack/tempest
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070012 irrelevant-files: &irrelevant-files
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070013 - ^(test-|)requirements.txt$
14 - ^.*\.rst$
15 - ^api-ref/.*$
16 - ^doc/.*$
17 - ^manila/hacking/.*$
18 - ^manila/tests/.*$
19 - ^releasenotes/.*$
20 - ^setup.cfg$
21 - ^tools/.*$
22 - ^tox.ini$
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070023 vars: &manila-tempest-base-vars
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070024 tox_envlist: all
25 tempest_test_regex: manila_tempest_tests
26 tempest_concurrency: 8
27 tempest_plugins:
28 - manila-tempest-plugin
29 devstack_plugins:
30 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070031 devstack_services:
32 cinder: false
33 s-account: false
34 s-container: false
35 s-object: false
36 s-proxy: false
37 horizon: false
38 tls-proxy: true
39 devstack_localrc:
40 USE_PYTHON3: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070041 MANILA_USE_DOWNGRADE_MIGRATIONS: true
42 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
43 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
44 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070045 MANILA_CONFIGURE_DEFAULT_TYPES: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070046 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +000047 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070048 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070049
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070050- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070051 name: manila-tempest-plugin-ipv6-base
52 abstract: true
53 description: |
54 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
55 devstack environment with IPv6 control plane endpoints.
56 parent: devstack-tempest-ipv6
57 timeout: 10800
58 irrelevant-files: *irrelevant-files
59 required-projects: *manila-tempest-required-projects
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -070060 vars: *manila-tempest-base-vars
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070061
62- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070063 name: manila-tempest-plugin-standalone-base
64 abstract: true
65 description: |
66 Base job for running a minimal devstack with tempest based manila jobs.
67 timeout: 3600
68 parent: devstack-minimal
69 irrelevant-files: *irrelevant-files
70 roles:
71 - zuul: opendev.org/openstack/devstack
72 - zuul: opendev.org/openstack/tempest
73 required-projects:
74 - openstack/keystone
75 - openstack/manila
76 - openstack/manila-tempest-plugin
77 - openstack/python-manilaclient
78 - openstack/tempest
79 run: playbooks/manila-tempest-plugin-standalone/run.yaml
80 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
81 vars:
82 tox_envlist: all
83 tempest_test_regex: manila_tempest_tests.tests.api
84 tempest_concurrency: 16
85 tempest_plugins:
86 - manila-tempest-plugin
87 devstack_plugins:
88 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070089 test_results_stage_name: test_results
90 zuul_copy_output:
91 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
92 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
93 '{{ devstack_base_dir }}/tempest/tempest.log': logs
94 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
95 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
96 '{{ stage_dir }}/stackviz': logs
97 extensions_to_txt:
98 conf: true
99 log: true
100 yaml: true
101 yml: true
102 devstack_localrc:
103 USE_PYTHON3: true
104 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
105 MANILA_SERVICE_IMAGE_ENABLED: false
106 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000107 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700108 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
109 devstack_services:
110 tls-proxy: true
111 key: true
112 tempest: true
113
114- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300115 name: manila-tempest-plugin-zfsonlinux-base
116 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700117 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
118 parent: manila-tempest-plugin-base
119 vars:
120 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
121 devstack_localrc:
122 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
123 MANILA_ENABLED_BACKENDS: london,paris
124 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
125 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
126 MANILA_SHARE_BACKEND1_NAME: LONDON
127 MANILA_SHARE_BACKEND2_NAME: PARIS
128 MANILA_OPTGROUP_london_driver_handles_share_servers: false
129 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
130 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
131 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
132 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
133 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700134 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
135 devstack_services:
136 mysql: false
137 postgresql: true
138 devstack_local_conf:
139 test-config:
140 $TEMPEST_CONFIG:
141 share:
142 default_share_type_name: default
143 run_driver_assisted_migration_tests: true
144 run_host_assisted_migration_tests: true
145 run_replication_tests: true
146 run_manage_unmanage_snapshot_tests: true
147 run_manage_unmanage_tests: true
148 run_multiple_share_replicas_tests: false
149 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
150 backend_replication_type: readable
151 enable_protocols: nfs
152 capability_storage_protocol: NFS
153 build_timeout: 180
154 enable_ip_rules_for_protocols: nfs
155 multitenancy_enabled: False
156 backend_names: LONDON,PARIS
157 multi_backend: true
158 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700159
160- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300161 name: manila-tempest-plugin-zfsonlinux
162 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
163 parent: manila-tempest-plugin-zfsonlinux-base
silvacarlossd12285b2022-06-30 16:58:08 -0300164 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300165
166- job:
167 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700168 description: |
169 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
170 environment with IPv6 control plane endpoints.
171 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300172 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700173 required-projects:
174 - openstack/neutron-dynamic-routing
175 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700176 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700177 devstack_services: &devstack-with-ovs
178 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
179 br-ex-tcpdump: false
180 br-int-flows: false
181 ovn-controller: false
182 ovn-northd: false
183 ovs-vswitchd: false
184 ovsdb-server: false
185 q-ovn-metadata-agent: false
186 # Neutron services
187 neutron-local-ip-static: true
188 q-agt: true
189 q-dhcp: true
190 q-l3: true
191 q-meta: true
192 q-metering: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700193 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700194 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
195 Q_AGENT: openvswitch
196 Q_ML2_TENANT_NETWORK_TYPE: vxlan
197 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700198 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
199 MANILA_ENABLED_BACKENDS: london,paris
200 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
201 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
202 MANILA_SHARE_BACKEND1_NAME: LONDON
203 MANILA_SHARE_BACKEND2_NAME: PARIS
204 MANILA_OPTGROUP_london_driver_handles_share_servers: false
205 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
206 SHARE_BACKING_FILE_SIZE: 32000M
207 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
208 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
209 MANILA_SETUP_IPV6: true
210 NEUTRON_CREATE_INITIAL_NETWORKS: false
211 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
212 devstack_plugins:
213 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
214 devstack_local_conf:
215 test-config:
216 $TEMPEST_CONFIG:
217 share:
218 default_share_type_name: default
219 run_ipv6_tests: true
220 run_mount_snapshot_tests: true
221 run_host_assisted_migration_tests: true
222 run_shrink_tests: false
223 run_revert_to_snapshot_tests: true
224 enable_user_rules_for_protocols: cifs
225 enable_ip_rules_for_protocols: nfs
226 multitenancy_enabled: False
227 backend_names: LONDON,PARIS
228 multi_backend: true
229 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700230
231- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300232 name: manila-tempest-plugin-lvm
233 description: |
234 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
235 environment with IPv6 control plane endpoints.
silvacarlossd12285b2022-06-30 16:58:08 -0300236 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300237 parent: manila-tempest-plugin-lvm-base
238
239- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700240 name: manila-tempest-plugin-container
241 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700242 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700243 and postgresql db. API only, in a minimal devstack
244 parent: manila-tempest-plugin-base
245 vars:
246 tempest_test_regex: manila_tempest_tests.tests.api
247 devstack_localrc:
248 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
249 MANILA_SERVICE_IMAGE_ENABLED: false
250 MANILA_ENABLED_BACKENDS: london,paris
251 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
252 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
253 MANILA_SHARE_BACKEND1_NAME: LONDON
254 MANILA_SHARE_BACKEND2_NAME: PARIS
255 MANILA_OPTGROUP_london_driver_handles_share_servers: true
256 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
257 SHARE_BACKING_FILE_SIZE: 64000M
258 MANILA_CONFIGURE_DEFAULT_TYPES: false
259 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700260 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700261 devstack_services:
262 mysql: false
263 postgresql: true
264 devstack_local_conf:
265 test-config:
266 $TEMPEST_CONFIG:
267 share:
268 enable_ip_rules_for_protocols: ""
269 run_share_group_tests: false
270 run_manage_unmanage_tests: true
271 run_snapshot_tests: false
272 run_shrink_tests: false
273 enable_user_rules_for_protocols: cifs
274 enable_protocols: cifs
275 capability_storage_protocol: CIFS
276 multitenancy_enabled: true
277 backend_names: LONDON,PARIS
278 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000279 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000280 run_share_server_multiple_subnet_tests: true
281 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700282
283- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300284 name: manila-tempest-plugin-generic-base
285 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700286 description: |
287 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
288 parent: manila-tempest-plugin-base
289 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300290 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700291 # The generic driver uses nova VMs as share servers; running with a
292 # high concurrency could starve the driver of RAM/Disk/CPUs to
293 # function properly in a small single node devstack VM.
294 tempest_concurrency: 2
295 devstack_localrc:
296 VOLUME_BACKING_FILE_SIZE: 24G
297 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
298 MANILA_ENABLED_BACKENDS: london,paris
299 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
300 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
301 MANILA_SHARE_BACKEND1_NAME: LONDON
302 MANILA_SHARE_BACKEND2_NAME: PARIS
303 MANILA_OPTGROUP_london_driver_handles_share_servers: true
304 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
305 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
306 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700307 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700308 devstack_services:
309 cinder: true
310 devstack_local_conf:
311 test-config:
312 $TEMPEST_CONFIG:
313 share:
314 default_share_type_name: default
315 run_share_group_tests: false
316 multitenancy_enabled: true
317 suppress_errors_in_cleanup: true
318 share_creation_retry_number: 2
319 backend_names: LONDON,PARIS
320 multi_backend: true
321 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300322
323- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300324 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300325 description: |
326 Test the scenario test cases on the generic driver multibackend
327 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300328 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300329 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300330
331- job:
332 name: manila-tempest-plugin-generic-scenario-base
333 abstract: true
334 description: |
335 Test the scenario test cases on the generic driver multibackend
336 (DHSS=True) with NFS and CIFS
337 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300338 vars:
339 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
340 # The generic driver uses nova VMs as share servers; running with a
341 # high concurrency could starve the driver of RAM/Disk/CPUs to
342 # function properly in a small single node devstack VM.
343 tempest_concurrency: 1
344
345- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300346 name: manila-tempest-plugin-generic-scenario
347 description: |
348 Test the scenario test cases on the generic driver multibackend
349 (DHSS=True) with NFS and CIFS
350 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300351 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300352
353- job:
354 name: manila-tempest-plugin-cephfs-native-base
355 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300356 description: Test CephFS Native (DHSS=False)
357 parent: manila-tempest-plugin-base
358 required-projects:
359 - openstack/devstack-plugin-ceph
360 vars:
361 devstack_plugins:
362 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300363 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300364 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700365 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300366 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
367 MANILA_ENABLED_BACKENDS: cephfsnative
368 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700369 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300370 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
371 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
372 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
373 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700374 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
375 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300376 # the latest image is built as https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700377 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
378 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300379 devstack_local_conf:
380 test-config:
381 $TEMPEST_CONFIG:
382 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300383 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300384 enable_cephx_rules_for_protocols: cephfs
385 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300386 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300387 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300388 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300389 enable_protocols: cephfs
390 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300391
silvacarloss95b3ac32022-06-23 12:39:00 -0300392- job:
393 name: manila-tempest-plugin-cephfs-native
394 description: Test CephFS Native (DHSS=False)
395 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300396 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300397
398- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300399 name: manila-tempest-plugin-cephfs-nfs-base
400 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300401 description: Test CephFS NFS (DHSS=False)
402 parent: manila-tempest-plugin-base
403 required-projects:
404 - openstack/devstack-plugin-ceph
405 - openstack/neutron-dynamic-routing
406 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500407 tempest_concurrency: 2
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700408 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300409 devstack_plugins:
410 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
411 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
412 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700413 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
414 Q_AGENT: openvswitch
415 Q_ML2_TENANT_NETWORK_TYPE: vxlan
416 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700417 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300418 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
419 MANILA_ENABLED_BACKENDS: cephfsnfs
420 ENABLED_SHARE_PROTOCOLS: NFS
421 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
422 MANILA_SERVICE_IMAGE_ENABLED: true
423 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
424 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
425 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
426 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
427 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
428 MANILA_CEPH_DRIVER: cephfsnfs
429 MANILA_SETUP_IPV6: true
430 NEUTRON_CREATE_INITIAL_NETWORKS: false
431 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700432 zuul_copy_output:
433 '/var/log/ganesha': logs
434 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300435 devstack_local_conf:
436 test-config:
437 $TEMPEST_CONFIG:
438 share:
439 default_share_type_name: default
440 run_ipv6_tests: true
441 run_share_group_tests: false
442 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300443 backend_names: CEPHFSNFS
444 enable_protocols: nfs
445 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300446 image_password: manila
447
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700448- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300449 name: manila-tempest-plugin-cephfs-nfs
450 description: Test CephFS NFS (DHSS=False)
451 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300452 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300453
454- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700455 name: manila-tempest-plugin-dummy-no-dhss
456 description: Test the Dummy driver with DHSS=False
457 parent: manila-tempest-plugin-standalone-base
458 vars:
459 devstack_localrc:
460 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
461 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
462 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
463 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
464 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
465 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
466 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
467 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
468 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
469 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
470 MANILA_OPTGROUP_beta_share_backend_name: BETA
471 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
472 # With below opts we'll enable a DHSS=True back-end solely for
473 # for the migration test case "test_migration_opposite_driver_modes"
474 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
475 MANILA_OPTGROUP_gamma_network_config_group: membernet
476 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
477 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
478 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
479 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
480 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
481 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
482 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
483 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
484 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
485 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
486 devstack_local_conf:
487 test-config:
488 "$TEMPEST_CONFIG":
489 share:
490 backend_names: ALPHA,BETA
491 backend_replication_type: readable
492 build_timeout: 180
493 capability_sg_consistent_snapshot_support: pool
494 enable_ip_rules_for_protocols: nfs
495 enable_ro_access_level_for_protocols: nfs,cifs
496 enable_user_rules_for_protocols: cifs
497 multi_backend: true
498 multitenancy_enabled: false
499 run_driver_assisted_migration_tests: true
500 run_manage_unmanage_snapshot_tests: true
501 run_manage_unmanage_tests: true
502 run_migration_with_preserve_snapshots_tests: true
503 run_mount_snapshot_tests: true
504 run_replication_tests: true
505 run_revert_to_snapshot_tests: true
506 # for migration test case "test_migration_opposite_driver_modes"
507 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300508
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700509- job:
510 name: manila-tempest-plugin-dummy-dhss
511 description: Test the Dummy driver with DHSS=True
512 parent: manila-tempest-plugin-standalone-base
513 vars:
514 devstack_localrc:
515 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
516 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
517 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
518 MANILA_ENABLED_BACKENDS: alpha,beta
519 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
520 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
521 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
522 MANILA_OPTGROUP_adminnet_standalone_network_plugin_allowed_ip_ranges: 11.0.0.10-11.0.0.19,11.0.0.30-11.0.0.39,11.0.0.50-11.0.0.199
523 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
524 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
525 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
526 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
527 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
528 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
529 MANILA_OPTGROUP_alpha_network_config_group: membernet
530 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
531 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
532 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
533 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
534 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
535 MANILA_OPTGROUP_beta_network_config_group: membernet
536 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
537 MANILA_OPTGROUP_beta_share_backend_name: BETA
538 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
539 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
540 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
541 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
542 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
543 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
544 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
545 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
546 # With below opts we'll enable a DHSS=False back-end solely for
547 # for the migration test case "test_migration_opposite_driver_modes"
548 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
549 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
550 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
551 devstack_local_conf:
552 test-config:
553 "$TEMPEST_CONFIG":
554 share:
555 backend_names: ALPHA,BETA
556 backend_replication_type: readable
557 build_timeout: 180
558 capability_sg_consistent_snapshot_support: pool
559 create_networks_when_multitenancy_enabled: false
560 enable_ip_rules_for_protocols: nfs
561 enable_ro_access_level_for_protocols: nfs,cifs
562 enable_user_rules_for_protocols: cifs
563 multi_backend: true
564 multitenancy_enabled: true
565 run_driver_assisted_migration_tests: true
566 run_manage_unmanage_snapshot_tests: true
567 run_manage_unmanage_tests: true
568 run_migration_with_preserve_snapshots_tests: true
569 run_mount_snapshot_tests: true
570 run_replication_tests: true
571 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000572 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000573 run_share_server_multiple_subnet_tests: true
574 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700575
576- job:
577 name: manila-tempest-plugin-glusterfs-native
578 description: |
579 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
580 parent: manila-tempest-plugin-standalone-base
581 required-projects:
582 - x/devstack-plugin-glusterfs
583 vars:
584 tempest_concurrency: 8
585 devstack_plugins:
586 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
587 devstack_localrc:
588 CONFIGURE_GLUSTERFS_MANILA: true
589 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
590 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
591 devstack_local_conf:
592 test-config:
593 $TEMPEST_CONFIG:
594 share:
595 run_share_group_tests: false
596 run_snapshot_tests: false
597 multitenancy_enabled: false
598 run_shrink_tests: false
599 run_extend_tests: false
600 multi_backend: false
601 suppress_errors_in_cleanup: True
602 share_creation_retry_number: 2
603 backend_names: GLUSTERNATIVE
604 enable_cert_rules_for_protocols: glusterfs
605 capability_storage_protocol: glusterfs
606 enable_protocols: glusterfs
607
608- job:
609 name: manila-tempest-plugin-glusterfs-nfs
610 description: |
611 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
612 parent: manila-tempest-plugin-standalone-base
613 required-projects:
614 - x/devstack-plugin-glusterfs
615 vars:
616 tempest_concurrency: 8
617 devstack_plugins:
618 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
619 devstack_localrc:
620 CONFIGURE_GLUSTERFS_MANILA: true
621 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
622 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
623 devstack_local_conf:
624 test-config:
625 $TEMPEST_CONFIG:
626 share:
627 run_share_group_tests: false
628 run_snapshot_tests: false
629 multitenancy_enabled: False
630 run_shrink_tests: true
631 multi_backend: false
632 suppress_errors_in_cleanup: True
633 share_creation_retry_number: 2
634 backend_names: GLUSTERFS
635 enable_ip_rules_for_protocols: nfs
636 capability_storage_protocol: NFS
637 enable_protocols: nfs
638 # read-only access rules not supported
639 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300640
silvacarlosse21dbfd2022-06-29 15:46:45 -0300641- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300642 name: manila-tempest-plugin-dummy-no-dhss-rbac
643 parent: manila-tempest-plugin-dummy-no-dhss
644 description: |
645 This job runs the devstack with scope checks enabled,
646 on the Dummy driver with DHSS=False.
647 vars:
648 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
649 devstack_localrc:
650 MANILA_ENFORCE_SCOPE: true
651 devstack_local_conf:
652 test-config:
653 "$TEMPEST_CONFIG":
654 share:
655 default_share_type_name: default
656
657- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300658 name: manila-tempest-plugin-lvm-fips-base
659 parent: manila-tempest-plugin-lvm-base
660 nodeset: devstack-single-node-centos-9-stream
661 description: |
662 Run LVM DHSS false tests for manila project using FIPS.
663 pre-run:
664 - playbooks/enable-fips.yaml
665 vars:
666 nslookup_target: 'opendev.org'
667 devstack_localrc:
668 MANILA_SETUP_IPV6: false
669 NEUTRON_CREATE_INITIAL_NETWORKS: true
670 IP_VERSION: 4
671 configure_swap_size: 4096
672 devstack_local_conf:
673 test-config:
674 "$TEMPEST_CONFIG":
675 validation:
676 ssh_key_type: 'ecdsa'
677 share:
678 run_ipv6_tests: false
679
680- job:
681 name: manila-tempest-plugin-lvm-fips
682 parent: manila-tempest-plugin-lvm-fips-base
683 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
684
silvacarloss95b3ac32022-06-23 12:39:00 -0300685- project-template:
686 name: manila-tempest-plugin-jobs-using-service-image
687 description: |
688 Runs jobs that will also perform scenario tests in the branches that are
689 newer than Yoga.
690 check:
691 jobs:
692 - manila-tempest-plugin-lvm
693 - manila-tempest-plugin-generic-scenario:
694 voting: false
695 - manila-tempest-plugin-generic:
696 voting: false
697 - manila-tempest-plugin-cephfs-native:
698 voting: false
699 - manila-tempest-plugin-cephfs-nfs:
700 voting: false
701 - manila-tempest-plugin-zfsonlinux:
702 voting: false
703 gate:
704 jobs:
705 - manila-tempest-plugin-lvm