blob: 6383c4ba93d303b4c97ddd77ca66135dcf13809f [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 Ravi82b1e6f2023-04-25 19:49:38 -070041 MYSQL_REDUCE_MEMORY: True
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070042 MANILA_USE_DOWNGRADE_MIGRATIONS: true
43 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
44 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
45 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070046 MANILA_CONFIGURE_DEFAULT_TYPES: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070047 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +000048 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070049 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070050
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070051- 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 Ravif67893c2022-08-16 14:07:06 -070061 vars: *manila-tempest-base-vars
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070062
63- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070064 name: manila-tempest-plugin-standalone-base
65 abstract: true
66 description: |
67 Base job for running a minimal devstack with tempest based manila jobs.
68 timeout: 3600
69 parent: devstack-minimal
70 irrelevant-files: *irrelevant-files
71 roles:
72 - zuul: opendev.org/openstack/devstack
73 - zuul: opendev.org/openstack/tempest
74 required-projects:
75 - openstack/keystone
76 - openstack/manila
77 - openstack/manila-tempest-plugin
78 - openstack/python-manilaclient
79 - openstack/tempest
80 run: playbooks/manila-tempest-plugin-standalone/run.yaml
81 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
82 vars:
83 tox_envlist: all
84 tempest_test_regex: manila_tempest_tests.tests.api
85 tempest_concurrency: 16
86 tempest_plugins:
87 - manila-tempest-plugin
88 devstack_plugins:
89 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070090 test_results_stage_name: test_results
91 zuul_copy_output:
92 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
93 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
94 '{{ devstack_base_dir }}/tempest/tempest.log': logs
95 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
96 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
97 '{{ stage_dir }}/stackviz': logs
98 extensions_to_txt:
99 conf: true
100 log: true
101 yaml: true
102 yml: true
103 devstack_localrc:
104 USE_PYTHON3: true
105 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
106 MANILA_SERVICE_IMAGE_ENABLED: false
107 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000108 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700109 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
110 devstack_services:
111 tls-proxy: true
112 key: true
113 tempest: true
114
115- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300116 name: manila-tempest-plugin-zfsonlinux-base
117 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700118 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
119 parent: manila-tempest-plugin-base
120 vars:
121 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
122 devstack_localrc:
123 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
124 MANILA_ENABLED_BACKENDS: london,paris
125 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
126 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
127 MANILA_SHARE_BACKEND1_NAME: LONDON
128 MANILA_SHARE_BACKEND2_NAME: PARIS
129 MANILA_OPTGROUP_london_driver_handles_share_servers: false
130 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
131 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
132 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
133 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
134 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700135 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
136 devstack_services:
137 mysql: false
138 postgresql: true
139 devstack_local_conf:
140 test-config:
141 $TEMPEST_CONFIG:
142 share:
143 default_share_type_name: default
144 run_driver_assisted_migration_tests: true
145 run_host_assisted_migration_tests: true
146 run_replication_tests: true
147 run_manage_unmanage_snapshot_tests: true
148 run_manage_unmanage_tests: true
149 run_multiple_share_replicas_tests: false
150 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
151 backend_replication_type: readable
152 enable_protocols: nfs
153 capability_storage_protocol: NFS
154 build_timeout: 180
155 enable_ip_rules_for_protocols: nfs
156 multitenancy_enabled: False
157 backend_names: LONDON,PARIS
158 multi_backend: true
159 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700160
161- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300162 name: manila-tempest-plugin-zfsonlinux
163 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
164 parent: manila-tempest-plugin-zfsonlinux-base
silvacarlossd12285b2022-06-30 16:58:08 -0300165 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300166
167- job:
168 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700169 description: |
170 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
171 environment with IPv6 control plane endpoints.
172 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300173 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700174 required-projects:
175 - openstack/neutron-dynamic-routing
176 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700177 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
silvacarloss91ca00a2023-09-04 10:09:21 -0300178 tempest_exclude_regex: "(^manila_tempest_tests.tests.scenario.*)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700179 devstack_services: &devstack-with-ovs
180 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
181 br-ex-tcpdump: false
182 br-int-flows: false
183 ovn-controller: false
184 ovn-northd: false
185 ovs-vswitchd: false
186 ovsdb-server: false
187 q-ovn-metadata-agent: false
188 # Neutron services
189 neutron-local-ip-static: true
190 q-agt: true
191 q-dhcp: true
192 q-l3: true
193 q-meta: true
194 q-metering: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700195 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700196 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
197 Q_AGENT: openvswitch
198 Q_ML2_TENANT_NETWORK_TYPE: vxlan
199 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700200 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
201 MANILA_ENABLED_BACKENDS: london,paris
202 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
203 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
204 MANILA_SHARE_BACKEND1_NAME: LONDON
205 MANILA_SHARE_BACKEND2_NAME: PARIS
206 MANILA_OPTGROUP_london_driver_handles_share_servers: false
207 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
208 SHARE_BACKING_FILE_SIZE: 32000M
209 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
210 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
211 MANILA_SETUP_IPV6: true
212 NEUTRON_CREATE_INITIAL_NETWORKS: false
213 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
214 devstack_plugins:
215 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
216 devstack_local_conf:
217 test-config:
218 $TEMPEST_CONFIG:
219 share:
220 default_share_type_name: default
221 run_ipv6_tests: true
222 run_mount_snapshot_tests: true
223 run_host_assisted_migration_tests: true
224 run_shrink_tests: false
225 run_revert_to_snapshot_tests: true
226 enable_user_rules_for_protocols: cifs
227 enable_ip_rules_for_protocols: nfs
228 multitenancy_enabled: False
229 backend_names: LONDON,PARIS
230 multi_backend: true
231 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700232
silvacarloss91ca00a2023-09-04 10:09:21 -0300233# NOTE(carloss): Nova bumped libvirt to a version available only on Ubuntu
234# Jammy. We are then forced to migrate this job to use Jammy. When LP Bug
235#1998489 is fixed, we will be able to unify the job above with this.
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700236- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300237 name: manila-tempest-plugin-lvm
238 description: |
silvacarloss91ca00a2023-09-04 10:09:21 -0300239 Test LVM multibackend (DHSS=False) in a IPv4 environment.
240 branches: ^(?!stable/(2023.1|zed|yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300241 parent: manila-tempest-plugin-lvm-base
silvacarloss91ca00a2023-09-04 10:09:21 -0300242 vars:
243 devstack_localrc:
244 MANILA_SETUP_IPV6: false
245 devstack_local_conf:
246 test-config:
247 $TEMPEST_CONFIG:
248 share:
249 run_ipv6_tests: false
silvacarloss95b3ac32022-06-23 12:39:00 -0300250
251- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700252 name: manila-tempest-plugin-container
253 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700254 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700255 and postgresql db. API only, in a minimal devstack
256 parent: manila-tempest-plugin-base
257 vars:
258 tempest_test_regex: manila_tempest_tests.tests.api
259 devstack_localrc:
260 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
261 MANILA_SERVICE_IMAGE_ENABLED: false
262 MANILA_ENABLED_BACKENDS: london,paris
263 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
264 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
265 MANILA_SHARE_BACKEND1_NAME: LONDON
266 MANILA_SHARE_BACKEND2_NAME: PARIS
267 MANILA_OPTGROUP_london_driver_handles_share_servers: true
268 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
269 SHARE_BACKING_FILE_SIZE: 64000M
270 MANILA_CONFIGURE_DEFAULT_TYPES: false
271 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700272 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700273 devstack_services:
274 mysql: false
275 postgresql: true
276 devstack_local_conf:
277 test-config:
278 $TEMPEST_CONFIG:
279 share:
280 enable_ip_rules_for_protocols: ""
281 run_share_group_tests: false
282 run_manage_unmanage_tests: true
283 run_snapshot_tests: false
284 run_shrink_tests: false
285 enable_user_rules_for_protocols: cifs
286 enable_protocols: cifs
287 capability_storage_protocol: CIFS
288 multitenancy_enabled: true
289 backend_names: LONDON,PARIS
290 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000291 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000292 run_share_server_multiple_subnet_tests: true
293 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700294
295- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300296 name: manila-tempest-plugin-generic-base
297 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700298 description: |
299 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
300 parent: manila-tempest-plugin-base
301 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300302 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700303 # The generic driver uses nova VMs as share servers; running with a
304 # high concurrency could starve the driver of RAM/Disk/CPUs to
305 # function properly in a small single node devstack VM.
306 tempest_concurrency: 2
307 devstack_localrc:
308 VOLUME_BACKING_FILE_SIZE: 24G
309 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
310 MANILA_ENABLED_BACKENDS: london,paris
311 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
312 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
313 MANILA_SHARE_BACKEND1_NAME: LONDON
314 MANILA_SHARE_BACKEND2_NAME: PARIS
315 MANILA_OPTGROUP_london_driver_handles_share_servers: true
316 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
317 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
318 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700319 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700320 devstack_services:
321 cinder: true
322 devstack_local_conf:
323 test-config:
324 $TEMPEST_CONFIG:
325 share:
326 default_share_type_name: default
327 run_share_group_tests: false
328 multitenancy_enabled: true
329 suppress_errors_in_cleanup: true
330 share_creation_retry_number: 2
331 backend_names: LONDON,PARIS
332 multi_backend: true
333 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300334
335- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300336 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300337 description: |
338 Test the scenario test cases on the generic driver multibackend
339 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300340 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300341 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300342
343- job:
344 name: manila-tempest-plugin-generic-scenario-base
345 abstract: true
346 description: |
347 Test the scenario test cases on the generic driver multibackend
348 (DHSS=True) with NFS and CIFS
349 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300350 vars:
351 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
352 # The generic driver uses nova VMs as share servers; running with a
353 # high concurrency could starve the driver of RAM/Disk/CPUs to
354 # function properly in a small single node devstack VM.
355 tempest_concurrency: 1
356
357- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300358 name: manila-tempest-plugin-generic-scenario
359 description: |
360 Test the scenario test cases on the generic driver multibackend
361 (DHSS=True) with NFS and CIFS
362 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300363 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300364
365- job:
366 name: manila-tempest-plugin-cephfs-native-base
367 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300368 description: Test CephFS Native (DHSS=False)
369 parent: manila-tempest-plugin-base
370 required-projects:
371 - openstack/devstack-plugin-ceph
372 vars:
373 devstack_plugins:
374 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300375 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300376 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700377 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300378 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
379 MANILA_ENABLED_BACKENDS: cephfsnative
380 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700381 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300382 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
383 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
384 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
385 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700386 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
387 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300388 # 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 -0700389 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
390 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300391 devstack_local_conf:
392 test-config:
393 $TEMPEST_CONFIG:
394 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300395 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300396 enable_cephx_rules_for_protocols: cephfs
397 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300398 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300399 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300400 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300401 enable_protocols: cephfs
402 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300403
silvacarloss95b3ac32022-06-23 12:39:00 -0300404- job:
405 name: manila-tempest-plugin-cephfs-native
406 description: Test CephFS Native (DHSS=False)
407 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300408 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300409
410- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000411 name: manila-tempest-plugin-cephfs-native-cephadm
412 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700413 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000414 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700415 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000416 tempest_test_regex: manila_tempest_tests.tests
417 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*ceph_fuse.*)'
418 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700419 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000420 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v17.2.5'
421 CEPHADM_DEPLOY: true
422 CEPHADM_DEV_OSD: true
423 TARGET_DEV_OSD_DIR: /opt/stack
424 CEPH_LOOPBACK_DISK_SIZE: 40G
425 DISABLE_CEPHADM_POST_DEPLOY: True
426 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
427 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
428
429- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300430 name: manila-tempest-plugin-cephfs-nfs-base
431 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300432 description: Test CephFS NFS (DHSS=False)
433 parent: manila-tempest-plugin-base
434 required-projects:
435 - openstack/devstack-plugin-ceph
436 - openstack/neutron-dynamic-routing
437 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500438 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800439 # turning off some tests due to exhaustion of disk space
440 # https://bugs.launchpad.net/manila/+bug/2009083
441 tempest_exclude_regex: "\
442 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
443 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700444 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300445 devstack_plugins:
446 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
447 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
448 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700449 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
450 Q_AGENT: openvswitch
451 Q_ML2_TENANT_NETWORK_TYPE: vxlan
452 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700453 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300454 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
455 MANILA_ENABLED_BACKENDS: cephfsnfs
456 ENABLED_SHARE_PROTOCOLS: NFS
457 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
458 MANILA_SERVICE_IMAGE_ENABLED: true
459 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
460 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
461 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
462 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
463 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
464 MANILA_CEPH_DRIVER: cephfsnfs
465 MANILA_SETUP_IPV6: true
466 NEUTRON_CREATE_INITIAL_NETWORKS: false
467 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700468 zuul_copy_output:
469 '/var/log/ganesha': logs
470 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300471 devstack_local_conf:
472 test-config:
473 $TEMPEST_CONFIG:
474 share:
475 default_share_type_name: default
476 run_ipv6_tests: true
477 run_share_group_tests: false
478 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300479 backend_names: CEPHFSNFS
480 enable_protocols: nfs
481 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300482 image_password: manila
483
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700484- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300485 name: manila-tempest-plugin-cephfs-nfs
486 description: Test CephFS NFS (DHSS=False)
487 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300488 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700489 nodeset: devstack-single-node-centos-9-stream
490 vars:
491 # TODO(gouthamr): some tests are disabled due to bugs
492 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
493 # snapshot clone fs sync: https://bugs.launchpad.net/manila/+bug/1989273
494 tempest_exclude_regex: "\
495 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
496 (^manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_write_data_to_share_created_from_snapshot)"
497 devstack_localrc:
498 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
499 CEPH_RELEASE: "quincy"
500 MANILA_SETUP_IPV6: false
501 NEUTRON_CREATE_INITIAL_NETWORKS: true
502 IP_VERSION: 4
silvacarloss95b3ac32022-06-23 12:39:00 -0300503
504- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700505 name: manila-tempest-plugin-dummy-no-dhss
506 description: Test the Dummy driver with DHSS=False
507 parent: manila-tempest-plugin-standalone-base
508 vars:
509 devstack_localrc:
510 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
511 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
512 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
513 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
514 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
515 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
516 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
517 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
518 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
519 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
520 MANILA_OPTGROUP_beta_share_backend_name: BETA
521 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
522 # With below opts we'll enable a DHSS=True back-end solely for
523 # for the migration test case "test_migration_opposite_driver_modes"
524 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
525 MANILA_OPTGROUP_gamma_network_config_group: membernet
526 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
527 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
528 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
529 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
530 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
531 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
532 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
533 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
534 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
535 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
536 devstack_local_conf:
537 test-config:
538 "$TEMPEST_CONFIG":
539 share:
540 backend_names: ALPHA,BETA
541 backend_replication_type: readable
542 build_timeout: 180
543 capability_sg_consistent_snapshot_support: pool
544 enable_ip_rules_for_protocols: nfs
545 enable_ro_access_level_for_protocols: nfs,cifs
546 enable_user_rules_for_protocols: cifs
547 multi_backend: true
548 multitenancy_enabled: false
549 run_driver_assisted_migration_tests: true
550 run_manage_unmanage_snapshot_tests: true
551 run_manage_unmanage_tests: true
552 run_migration_with_preserve_snapshots_tests: true
553 run_mount_snapshot_tests: true
554 run_replication_tests: true
555 run_revert_to_snapshot_tests: true
556 # for migration test case "test_migration_opposite_driver_modes"
557 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300558
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700559- job:
560 name: manila-tempest-plugin-dummy-dhss
561 description: Test the Dummy driver with DHSS=True
562 parent: manila-tempest-plugin-standalone-base
563 vars:
564 devstack_localrc:
565 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
566 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
567 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
568 MANILA_ENABLED_BACKENDS: alpha,beta
569 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
570 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
571 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
572 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
573 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
574 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
575 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
576 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
577 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
578 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
579 MANILA_OPTGROUP_alpha_network_config_group: membernet
580 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
581 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
582 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
583 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
584 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
585 MANILA_OPTGROUP_beta_network_config_group: membernet
586 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
587 MANILA_OPTGROUP_beta_share_backend_name: BETA
588 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
589 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
590 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
591 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
592 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
593 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
594 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
595 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
596 # With below opts we'll enable a DHSS=False back-end solely for
597 # for the migration test case "test_migration_opposite_driver_modes"
598 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
599 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
600 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
601 devstack_local_conf:
602 test-config:
603 "$TEMPEST_CONFIG":
604 share:
605 backend_names: ALPHA,BETA
606 backend_replication_type: readable
607 build_timeout: 180
608 capability_sg_consistent_snapshot_support: pool
609 create_networks_when_multitenancy_enabled: false
610 enable_ip_rules_for_protocols: nfs
611 enable_ro_access_level_for_protocols: nfs,cifs
612 enable_user_rules_for_protocols: cifs
613 multi_backend: true
614 multitenancy_enabled: true
615 run_driver_assisted_migration_tests: true
616 run_manage_unmanage_snapshot_tests: true
617 run_manage_unmanage_tests: true
618 run_migration_with_preserve_snapshots_tests: true
619 run_mount_snapshot_tests: true
620 run_replication_tests: true
621 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000622 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000623 run_share_server_multiple_subnet_tests: true
624 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700625
626- job:
627 name: manila-tempest-plugin-glusterfs-native
628 description: |
629 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
630 parent: manila-tempest-plugin-standalone-base
631 required-projects:
632 - x/devstack-plugin-glusterfs
633 vars:
634 tempest_concurrency: 8
635 devstack_plugins:
636 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
637 devstack_localrc:
638 CONFIGURE_GLUSTERFS_MANILA: true
639 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
640 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
641 devstack_local_conf:
642 test-config:
643 $TEMPEST_CONFIG:
644 share:
645 run_share_group_tests: false
646 run_snapshot_tests: false
647 multitenancy_enabled: false
648 run_shrink_tests: false
649 run_extend_tests: false
650 multi_backend: false
651 suppress_errors_in_cleanup: True
652 share_creation_retry_number: 2
653 backend_names: GLUSTERNATIVE
654 enable_cert_rules_for_protocols: glusterfs
655 capability_storage_protocol: glusterfs
656 enable_protocols: glusterfs
657
658- job:
659 name: manila-tempest-plugin-glusterfs-nfs
660 description: |
661 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
662 parent: manila-tempest-plugin-standalone-base
663 required-projects:
664 - x/devstack-plugin-glusterfs
665 vars:
666 tempest_concurrency: 8
667 devstack_plugins:
668 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
669 devstack_localrc:
670 CONFIGURE_GLUSTERFS_MANILA: true
671 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
672 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
673 devstack_local_conf:
674 test-config:
675 $TEMPEST_CONFIG:
676 share:
677 run_share_group_tests: false
678 run_snapshot_tests: false
679 multitenancy_enabled: False
680 run_shrink_tests: true
681 multi_backend: false
682 suppress_errors_in_cleanup: True
683 share_creation_retry_number: 2
684 backend_names: GLUSTERFS
685 enable_ip_rules_for_protocols: nfs
686 capability_storage_protocol: NFS
687 enable_protocols: nfs
688 # read-only access rules not supported
689 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300690
silvacarlosse21dbfd2022-06-29 15:46:45 -0300691- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300692 name: manila-tempest-plugin-dummy-no-dhss-rbac
693 parent: manila-tempest-plugin-dummy-no-dhss
694 description: |
695 This job runs the devstack with scope checks enabled,
696 on the Dummy driver with DHSS=False.
697 vars:
698 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
699 devstack_localrc:
700 MANILA_ENFORCE_SCOPE: true
701 devstack_local_conf:
702 test-config:
703 "$TEMPEST_CONFIG":
704 share:
705 default_share_type_name: default
706
707- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300708 name: manila-tempest-plugin-lvm-fips-base
709 parent: manila-tempest-plugin-lvm-base
710 nodeset: devstack-single-node-centos-9-stream
711 description: |
712 Run LVM DHSS false tests for manila project using FIPS.
713 pre-run:
714 - playbooks/enable-fips.yaml
715 vars:
716 nslookup_target: 'opendev.org'
717 devstack_localrc:
718 MANILA_SETUP_IPV6: false
719 NEUTRON_CREATE_INITIAL_NETWORKS: true
720 IP_VERSION: 4
721 configure_swap_size: 4096
722 devstack_local_conf:
723 test-config:
724 "$TEMPEST_CONFIG":
725 validation:
726 ssh_key_type: 'ecdsa'
727 share:
728 run_ipv6_tests: false
729
730- job:
731 name: manila-tempest-plugin-lvm-fips
732 parent: manila-tempest-plugin-lvm-fips-base
733 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
734
silvacarloss95b3ac32022-06-23 12:39:00 -0300735- project-template:
736 name: manila-tempest-plugin-jobs-using-service-image
737 description: |
738 Runs jobs that will also perform scenario tests in the branches that are
739 newer than Yoga.
740 check:
741 jobs:
742 - manila-tempest-plugin-lvm
743 - manila-tempest-plugin-generic-scenario:
744 voting: false
745 - manila-tempest-plugin-generic:
746 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000747 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300748 voting: false
749 - manila-tempest-plugin-cephfs-nfs:
750 voting: false
751 - manila-tempest-plugin-zfsonlinux:
752 voting: false
753 gate:
754 jobs:
755 - manila-tempest-plugin-lvm