blob: 6527598ab595357645ac2079a9e744feff632a8d [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
50
51- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070052 name: manila-tempest-plugin-ipv6-base
53 abstract: true
54 description: |
55 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
56 devstack environment with IPv6 control plane endpoints.
57 parent: devstack-tempest-ipv6
58 timeout: 10800
59 irrelevant-files: *irrelevant-files
60 required-projects: *manila-tempest-required-projects
Goutham Pacha Ravi8ccbbeb2021-08-19 17:01:21 -070061 vars:
62 <<: *manila-tempest-base-vars
Goutham Pacha Ravib4c94c82021-12-09 11:46:40 -080063 # NOTE(gouthamr): Disabled until https://launchpad.net/bugs/1940324 is
64 # fixed.
Goutham Pacha Ravi8ccbbeb2021-08-19 17:01:21 -070065 tempest_exclude_regex: "(^manila_tempest_tests.tests.scenario.*IPv6.*)"
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070066
67- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070068 name: manila-tempest-plugin-standalone-base
69 abstract: true
70 description: |
71 Base job for running a minimal devstack with tempest based manila jobs.
72 timeout: 3600
73 parent: devstack-minimal
74 irrelevant-files: *irrelevant-files
75 roles:
76 - zuul: opendev.org/openstack/devstack
77 - zuul: opendev.org/openstack/tempest
78 required-projects:
79 - openstack/keystone
80 - openstack/manila
81 - openstack/manila-tempest-plugin
82 - openstack/python-manilaclient
83 - openstack/tempest
84 run: playbooks/manila-tempest-plugin-standalone/run.yaml
85 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
86 vars:
87 tox_envlist: all
88 tempest_test_regex: manila_tempest_tests.tests.api
89 tempest_concurrency: 16
90 tempest_plugins:
91 - manila-tempest-plugin
92 devstack_plugins:
93 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070094 test_results_stage_name: test_results
95 zuul_copy_output:
96 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
97 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
98 '{{ devstack_base_dir }}/tempest/tempest.log': logs
99 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
100 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
101 '{{ stage_dir }}/stackviz': logs
102 extensions_to_txt:
103 conf: true
104 log: true
105 yaml: true
106 yml: true
107 devstack_localrc:
108 USE_PYTHON3: true
109 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
110 MANILA_SERVICE_IMAGE_ENABLED: false
111 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000112 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700113 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
114 devstack_services:
115 tls-proxy: true
116 key: true
117 tempest: true
118
119- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300120 name: manila-tempest-plugin-zfsonlinux-base
121 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700122 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
123 parent: manila-tempest-plugin-base
124 vars:
125 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
126 devstack_localrc:
127 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
128 MANILA_ENABLED_BACKENDS: london,paris
129 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
130 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
131 MANILA_SHARE_BACKEND1_NAME: LONDON
132 MANILA_SHARE_BACKEND2_NAME: PARIS
133 MANILA_OPTGROUP_london_driver_handles_share_servers: false
134 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
135 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
136 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
137 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
138 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700139 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
140 devstack_services:
141 mysql: false
142 postgresql: true
143 devstack_local_conf:
144 test-config:
145 $TEMPEST_CONFIG:
146 share:
147 default_share_type_name: default
148 run_driver_assisted_migration_tests: true
149 run_host_assisted_migration_tests: true
150 run_replication_tests: true
151 run_manage_unmanage_snapshot_tests: true
152 run_manage_unmanage_tests: true
153 run_multiple_share_replicas_tests: false
154 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
155 backend_replication_type: readable
156 enable_protocols: nfs
157 capability_storage_protocol: NFS
158 build_timeout: 180
159 enable_ip_rules_for_protocols: nfs
160 multitenancy_enabled: False
161 backend_names: LONDON,PARIS
162 multi_backend: true
163 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700164
165- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300166 name: manila-tempest-plugin-zfsonlinux
167 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
168 parent: manila-tempest-plugin-zfsonlinux-base
silvacarlossd12285b2022-06-30 16:58:08 -0300169 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300170
171- job:
172 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700173 description: |
174 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
175 environment with IPv6 control plane endpoints.
176 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300177 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700178 required-projects:
179 - openstack/neutron-dynamic-routing
180 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700181 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700182 devstack_localrc:
183 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
184 MANILA_ENABLED_BACKENDS: london,paris
185 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
186 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
187 MANILA_SHARE_BACKEND1_NAME: LONDON
188 MANILA_SHARE_BACKEND2_NAME: PARIS
189 MANILA_OPTGROUP_london_driver_handles_share_servers: false
190 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
191 SHARE_BACKING_FILE_SIZE: 32000M
192 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
193 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
194 MANILA_SETUP_IPV6: true
195 NEUTRON_CREATE_INITIAL_NETWORKS: false
196 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
197 devstack_plugins:
198 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
199 devstack_local_conf:
200 test-config:
201 $TEMPEST_CONFIG:
202 share:
203 default_share_type_name: default
204 run_ipv6_tests: true
205 run_mount_snapshot_tests: true
206 run_host_assisted_migration_tests: true
207 run_shrink_tests: false
208 run_revert_to_snapshot_tests: true
209 enable_user_rules_for_protocols: cifs
210 enable_ip_rules_for_protocols: nfs
211 multitenancy_enabled: False
212 backend_names: LONDON,PARIS
213 multi_backend: true
214 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700215
216- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300217 name: manila-tempest-plugin-lvm
218 description: |
219 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
220 environment with IPv6 control plane endpoints.
silvacarlossd12285b2022-06-30 16:58:08 -0300221 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300222 parent: manila-tempest-plugin-lvm-base
223
224- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700225 name: manila-tempest-plugin-container
226 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700227 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700228 and postgresql db. API only, in a minimal devstack
229 parent: manila-tempest-plugin-base
230 vars:
231 tempest_test_regex: manila_tempest_tests.tests.api
232 devstack_localrc:
233 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
234 MANILA_SERVICE_IMAGE_ENABLED: false
235 MANILA_ENABLED_BACKENDS: london,paris
236 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
237 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
238 MANILA_SHARE_BACKEND1_NAME: LONDON
239 MANILA_SHARE_BACKEND2_NAME: PARIS
240 MANILA_OPTGROUP_london_driver_handles_share_servers: true
241 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
242 SHARE_BACKING_FILE_SIZE: 64000M
243 MANILA_CONFIGURE_DEFAULT_TYPES: false
244 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700245 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700246 devstack_services:
247 mysql: false
248 postgresql: true
249 devstack_local_conf:
250 test-config:
251 $TEMPEST_CONFIG:
252 share:
253 enable_ip_rules_for_protocols: ""
254 run_share_group_tests: false
255 run_manage_unmanage_tests: true
256 run_snapshot_tests: false
257 run_shrink_tests: false
258 enable_user_rules_for_protocols: cifs
259 enable_protocols: cifs
260 capability_storage_protocol: CIFS
261 multitenancy_enabled: true
262 backend_names: LONDON,PARIS
263 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000264 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000265 run_share_server_multiple_subnet_tests: true
266 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700267
268- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300269 name: manila-tempest-plugin-generic-base
270 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700271 description: |
272 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
273 parent: manila-tempest-plugin-base
274 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300275 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700276 # The generic driver uses nova VMs as share servers; running with a
277 # high concurrency could starve the driver of RAM/Disk/CPUs to
278 # function properly in a small single node devstack VM.
279 tempest_concurrency: 2
280 devstack_localrc:
281 VOLUME_BACKING_FILE_SIZE: 24G
282 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
283 MANILA_ENABLED_BACKENDS: london,paris
284 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
285 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
286 MANILA_SHARE_BACKEND1_NAME: LONDON
287 MANILA_SHARE_BACKEND2_NAME: PARIS
288 MANILA_OPTGROUP_london_driver_handles_share_servers: true
289 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
290 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
291 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700292 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700293 devstack_services:
294 cinder: true
295 devstack_local_conf:
296 test-config:
297 $TEMPEST_CONFIG:
298 share:
299 default_share_type_name: default
300 run_share_group_tests: false
301 multitenancy_enabled: true
302 suppress_errors_in_cleanup: true
303 share_creation_retry_number: 2
304 backend_names: LONDON,PARIS
305 multi_backend: true
306 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300307
308- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300309 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300310 description: |
311 Test the scenario test cases on the generic driver multibackend
312 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300313 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300314 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300315
316- job:
317 name: manila-tempest-plugin-generic-scenario-base
318 abstract: true
319 description: |
320 Test the scenario test cases on the generic driver multibackend
321 (DHSS=True) with NFS and CIFS
322 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300323 vars:
324 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
325 # The generic driver uses nova VMs as share servers; running with a
326 # high concurrency could starve the driver of RAM/Disk/CPUs to
327 # function properly in a small single node devstack VM.
328 tempest_concurrency: 1
329
330- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300331 name: manila-tempest-plugin-generic-scenario
332 description: |
333 Test the scenario test cases on the generic driver multibackend
334 (DHSS=True) with NFS and CIFS
335 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300336 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300337
338- job:
339 name: manila-tempest-plugin-cephfs-native-base
340 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300341 description: Test CephFS Native (DHSS=False)
342 parent: manila-tempest-plugin-base
343 required-projects:
344 - openstack/devstack-plugin-ceph
345 vars:
346 devstack_plugins:
347 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300348 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300349 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700350 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300351 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
352 MANILA_ENABLED_BACKENDS: cephfsnative
353 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700354 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300355 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
356 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
357 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
358 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700359 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
360 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300361 # 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 -0700362 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
363 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300364 devstack_local_conf:
365 test-config:
366 $TEMPEST_CONFIG:
367 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300368 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300369 enable_cephx_rules_for_protocols: cephfs
370 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300371 multitenancy_enabled: false
372 suppress_errors_in_cleanup: true
373 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300374 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300375 enable_protocols: cephfs
376 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300377
silvacarloss95b3ac32022-06-23 12:39:00 -0300378- job:
379 name: manila-tempest-plugin-cephfs-native
380 description: Test CephFS Native (DHSS=False)
381 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300382 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300383
384- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300385 name: manila-tempest-plugin-cephfs-nfs-base
386 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300387 description: Test CephFS NFS (DHSS=False)
388 parent: manila-tempest-plugin-base
389 required-projects:
390 - openstack/devstack-plugin-ceph
391 - openstack/neutron-dynamic-routing
392 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500393 tempest_concurrency: 2
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300394 devstack_plugins:
395 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
396 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
397 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700398 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300399 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
400 MANILA_ENABLED_BACKENDS: cephfsnfs
401 ENABLED_SHARE_PROTOCOLS: NFS
402 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
403 MANILA_SERVICE_IMAGE_ENABLED: true
404 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
405 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
406 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
407 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
408 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
409 MANILA_CEPH_DRIVER: cephfsnfs
410 MANILA_SETUP_IPV6: true
411 NEUTRON_CREATE_INITIAL_NETWORKS: false
412 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700413 zuul_copy_output:
414 '/var/log/ganesha': logs
415 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300416 devstack_local_conf:
417 test-config:
418 $TEMPEST_CONFIG:
419 share:
420 default_share_type_name: default
421 run_ipv6_tests: true
422 run_share_group_tests: false
423 multitenancy_enabled: false
424 suppress_errors_in_cleanup: true
425 backend_names: CEPHFSNFS
426 enable_protocols: nfs
427 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300428 image_password: manila
429
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700430- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300431 name: manila-tempest-plugin-cephfs-nfs
432 description: Test CephFS NFS (DHSS=False)
433 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300434 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300435
436- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700437 name: manila-tempest-plugin-dummy-no-dhss
438 description: Test the Dummy driver with DHSS=False
439 parent: manila-tempest-plugin-standalone-base
440 vars:
441 devstack_localrc:
442 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
443 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
444 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
445 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
446 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
447 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
448 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
449 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
450 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
451 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
452 MANILA_OPTGROUP_beta_share_backend_name: BETA
453 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
454 # With below opts we'll enable a DHSS=True back-end solely for
455 # for the migration test case "test_migration_opposite_driver_modes"
456 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
457 MANILA_OPTGROUP_gamma_network_config_group: membernet
458 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
459 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
460 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
461 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
462 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
463 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
464 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
465 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
466 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
467 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
468 devstack_local_conf:
469 test-config:
470 "$TEMPEST_CONFIG":
471 share:
472 backend_names: ALPHA,BETA
473 backend_replication_type: readable
474 build_timeout: 180
475 capability_sg_consistent_snapshot_support: pool
476 enable_ip_rules_for_protocols: nfs
477 enable_ro_access_level_for_protocols: nfs,cifs
478 enable_user_rules_for_protocols: cifs
479 multi_backend: true
480 multitenancy_enabled: false
481 run_driver_assisted_migration_tests: true
482 run_manage_unmanage_snapshot_tests: true
483 run_manage_unmanage_tests: true
484 run_migration_with_preserve_snapshots_tests: true
485 run_mount_snapshot_tests: true
486 run_replication_tests: true
487 run_revert_to_snapshot_tests: true
488 # for migration test case "test_migration_opposite_driver_modes"
489 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300490
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700491- job:
492 name: manila-tempest-plugin-dummy-dhss
493 description: Test the Dummy driver with DHSS=True
494 parent: manila-tempest-plugin-standalone-base
495 vars:
496 devstack_localrc:
497 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
498 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
499 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
500 MANILA_ENABLED_BACKENDS: alpha,beta
501 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
502 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
503 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
504 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
505 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
506 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
507 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
508 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
509 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
510 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
511 MANILA_OPTGROUP_alpha_network_config_group: membernet
512 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
513 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
514 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
515 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
516 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
517 MANILA_OPTGROUP_beta_network_config_group: membernet
518 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
519 MANILA_OPTGROUP_beta_share_backend_name: BETA
520 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
521 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
522 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
523 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
524 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
525 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
526 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
527 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
528 # With below opts we'll enable a DHSS=False back-end solely for
529 # for the migration test case "test_migration_opposite_driver_modes"
530 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
531 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
532 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
533 devstack_local_conf:
534 test-config:
535 "$TEMPEST_CONFIG":
536 share:
537 backend_names: ALPHA,BETA
538 backend_replication_type: readable
539 build_timeout: 180
540 capability_sg_consistent_snapshot_support: pool
541 create_networks_when_multitenancy_enabled: false
542 enable_ip_rules_for_protocols: nfs
543 enable_ro_access_level_for_protocols: nfs,cifs
544 enable_user_rules_for_protocols: cifs
545 multi_backend: true
546 multitenancy_enabled: true
547 run_driver_assisted_migration_tests: true
548 run_manage_unmanage_snapshot_tests: true
549 run_manage_unmanage_tests: true
550 run_migration_with_preserve_snapshots_tests: true
551 run_mount_snapshot_tests: true
552 run_replication_tests: true
553 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000554 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000555 run_share_server_multiple_subnet_tests: true
556 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700557
558- job:
559 name: manila-tempest-plugin-glusterfs-native
560 description: |
561 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
562 parent: manila-tempest-plugin-standalone-base
563 required-projects:
564 - x/devstack-plugin-glusterfs
565 vars:
566 tempest_concurrency: 8
567 devstack_plugins:
568 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
569 devstack_localrc:
570 CONFIGURE_GLUSTERFS_MANILA: true
571 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
572 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
573 devstack_local_conf:
574 test-config:
575 $TEMPEST_CONFIG:
576 share:
577 run_share_group_tests: false
578 run_snapshot_tests: false
579 multitenancy_enabled: false
580 run_shrink_tests: false
581 run_extend_tests: false
582 multi_backend: false
583 suppress_errors_in_cleanup: True
584 share_creation_retry_number: 2
585 backend_names: GLUSTERNATIVE
586 enable_cert_rules_for_protocols: glusterfs
587 capability_storage_protocol: glusterfs
588 enable_protocols: glusterfs
589
590- job:
591 name: manila-tempest-plugin-glusterfs-nfs
592 description: |
593 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
594 parent: manila-tempest-plugin-standalone-base
595 required-projects:
596 - x/devstack-plugin-glusterfs
597 vars:
598 tempest_concurrency: 8
599 devstack_plugins:
600 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
601 devstack_localrc:
602 CONFIGURE_GLUSTERFS_MANILA: true
603 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
604 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
605 devstack_local_conf:
606 test-config:
607 $TEMPEST_CONFIG:
608 share:
609 run_share_group_tests: false
610 run_snapshot_tests: false
611 multitenancy_enabled: False
612 run_shrink_tests: true
613 multi_backend: false
614 suppress_errors_in_cleanup: True
615 share_creation_retry_number: 2
616 backend_names: GLUSTERFS
617 enable_ip_rules_for_protocols: nfs
618 capability_storage_protocol: NFS
619 enable_protocols: nfs
620 # read-only access rules not supported
621 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300622
623- project-template:
624 name: manila-tempest-plugin-jobs-using-service-image
625 description: |
626 Runs jobs that will also perform scenario tests in the branches that are
627 newer than Yoga.
628 check:
629 jobs:
630 - manila-tempest-plugin-lvm
631 - manila-tempest-plugin-generic-scenario:
632 voting: false
633 - manila-tempest-plugin-generic:
634 voting: false
635 - manila-tempest-plugin-cephfs-native:
636 voting: false
637 - manila-tempest-plugin-cephfs-nfs:
638 voting: false
639 - manila-tempest-plugin-zfsonlinux:
640 voting: false
641 gate:
642 jobs:
643 - manila-tempest-plugin-lvm