blob: d6a679a2437d31f29f94a6755b5474adec304709 [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/.*$
Takashi Kajinami78bd6b82024-10-24 10:53:21 +090019 - ^\.pre-commit-config\.yaml$
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070020 - ^releasenotes/.*$
21 - ^setup.cfg$
22 - ^tools/.*$
23 - ^tox.ini$
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070024 vars: &manila-tempest-base-vars
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070025 tox_envlist: all
26 tempest_test_regex: manila_tempest_tests
27 tempest_concurrency: 8
28 tempest_plugins:
29 - manila-tempest-plugin
30 devstack_plugins:
31 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070032 devstack_services:
33 cinder: false
34 s-account: false
35 s-container: false
36 s-object: false
37 s-proxy: false
38 horizon: false
39 tls-proxy: true
40 devstack_localrc:
41 USE_PYTHON3: true
Goutham Pacha Ravi82b1e6f2023-04-25 19:49:38 -070042 MYSQL_REDUCE_MEMORY: True
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070043 MANILA_USE_DOWNGRADE_MIGRATIONS: true
44 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
45 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
46 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070047 MANILA_CONFIGURE_DEFAULT_TYPES: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070048 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +000049 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070050 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070051
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070052- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070053 name: manila-tempest-plugin-ipv6-base
54 abstract: true
55 description: |
56 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
57 devstack environment with IPv6 control plane endpoints.
58 parent: devstack-tempest-ipv6
59 timeout: 10800
60 irrelevant-files: *irrelevant-files
61 required-projects: *manila-tempest-required-projects
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -070062 vars: *manila-tempest-base-vars
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070063
64- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070065 name: manila-tempest-plugin-standalone-base
66 abstract: true
67 description: |
68 Base job for running a minimal devstack with tempest based manila jobs.
69 timeout: 3600
70 parent: devstack-minimal
71 irrelevant-files: *irrelevant-files
72 roles:
73 - zuul: opendev.org/openstack/devstack
74 - zuul: opendev.org/openstack/tempest
75 required-projects:
76 - openstack/keystone
77 - openstack/manila
78 - openstack/manila-tempest-plugin
79 - openstack/python-manilaclient
80 - openstack/tempest
81 run: playbooks/manila-tempest-plugin-standalone/run.yaml
82 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
83 vars:
84 tox_envlist: all
85 tempest_test_regex: manila_tempest_tests.tests.api
86 tempest_concurrency: 16
87 tempest_plugins:
88 - manila-tempest-plugin
89 devstack_plugins:
90 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070091 test_results_stage_name: test_results
92 zuul_copy_output:
93 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
94 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
95 '{{ devstack_base_dir }}/tempest/tempest.log': logs
96 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
97 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
98 '{{ stage_dir }}/stackviz': logs
99 extensions_to_txt:
100 conf: true
101 log: true
102 yaml: true
103 yml: true
104 devstack_localrc:
105 USE_PYTHON3: true
106 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
107 MANILA_SERVICE_IMAGE_ENABLED: false
108 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000109 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700110 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
111 devstack_services:
112 tls-proxy: true
113 key: true
114 tempest: true
115
116- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300117 name: manila-tempest-plugin-zfsonlinux-base
118 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700119 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
120 parent: manila-tempest-plugin-base
121 vars:
122 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
123 devstack_localrc:
124 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
125 MANILA_ENABLED_BACKENDS: london,paris
126 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
127 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
128 MANILA_SHARE_BACKEND1_NAME: LONDON
129 MANILA_SHARE_BACKEND2_NAME: PARIS
130 MANILA_OPTGROUP_london_driver_handles_share_servers: false
131 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
132 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
133 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
134 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
135 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700136 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
137 devstack_services:
138 mysql: false
139 postgresql: true
140 devstack_local_conf:
141 test-config:
142 $TEMPEST_CONFIG:
143 share:
144 default_share_type_name: default
145 run_driver_assisted_migration_tests: true
146 run_host_assisted_migration_tests: true
147 run_replication_tests: true
148 run_manage_unmanage_snapshot_tests: true
149 run_manage_unmanage_tests: true
150 run_multiple_share_replicas_tests: false
151 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
152 backend_replication_type: readable
153 enable_protocols: nfs
154 capability_storage_protocol: NFS
155 build_timeout: 180
156 enable_ip_rules_for_protocols: nfs
157 multitenancy_enabled: False
158 backend_names: LONDON,PARIS
159 multi_backend: true
160 image_password: manila
lkuchlan192d4082023-09-07 13:44:31 +0300161 dd_input_file: /dev/urandom
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700162
163- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300164 name: manila-tempest-plugin-zfsonlinux
165 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
166 parent: manila-tempest-plugin-zfsonlinux-base
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700167 # https://bugs.launchpad.net/manila/+bug/2087192
168 nodeset: openstack-single-node-jammy
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700169 branches: &ubuntu_jammy_test_image_branches
170 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
171 negate: true
silvacarloss95b3ac32022-06-23 12:39:00 -0300172
173- job:
174 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700175 description: |
176 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
177 environment with IPv6 control plane endpoints.
178 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300179 abstract: true
Carlos Eduardof7928e62024-06-17 15:12:18 -0300180 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
181 # is fixed.
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700182 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700183 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700184 devstack_services: &devstack-with-ovs
185 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
186 br-ex-tcpdump: false
187 br-int-flows: false
188 ovn-controller: false
189 ovn-northd: false
190 ovs-vswitchd: false
191 ovsdb-server: false
192 q-ovn-metadata-agent: false
193 # Neutron services
194 neutron-local-ip-static: true
195 q-agt: true
196 q-dhcp: true
197 q-l3: true
198 q-meta: true
199 q-metering: true
Goutham Pacha Ravi26fe97c2024-05-14 13:21:12 -0700200 openstack-cli-server: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700201 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700202 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
203 Q_AGENT: openvswitch
204 Q_ML2_TENANT_NETWORK_TYPE: vxlan
205 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700206 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
207 MANILA_ENABLED_BACKENDS: london,paris
208 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
209 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
210 MANILA_SHARE_BACKEND1_NAME: LONDON
211 MANILA_SHARE_BACKEND2_NAME: PARIS
212 MANILA_OPTGROUP_london_driver_handles_share_servers: false
213 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
214 SHARE_BACKING_FILE_SIZE: 32000M
215 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
216 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
217 MANILA_SETUP_IPV6: true
218 NEUTRON_CREATE_INITIAL_NETWORKS: false
219 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Carlos Eduardof7928e62024-06-17 15:12:18 -0300220 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
221 # is fixed.
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700222 devstack_local_conf:
223 test-config:
224 $TEMPEST_CONFIG:
225 share:
226 default_share_type_name: default
227 run_ipv6_tests: true
228 run_mount_snapshot_tests: true
229 run_host_assisted_migration_tests: true
230 run_shrink_tests: false
231 run_revert_to_snapshot_tests: true
232 enable_user_rules_for_protocols: cifs
233 enable_ip_rules_for_protocols: nfs
234 multitenancy_enabled: False
235 backend_names: LONDON,PARIS
236 multi_backend: true
237 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700238
239- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300240 name: manila-tempest-plugin-lvm
241 description: |
Goutham Pacha Ravi1ba0a8d2023-10-17 15:53:07 -0700242 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
243 environment with IPv6 control plane endpoints.
244 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300245 parent: manila-tempest-plugin-lvm-base
silvacarloss91ca00a2023-09-04 10:09:21 -0300246 vars:
Goutham Pacha Ravi1ba0a8d2023-10-17 15:53:07 -0700247 # TODO(gouthamr): some tests are disabled due to bugs
248 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
249 # drop these overrides once we address that bug.
250 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*IPv6.*)'
silvacarloss91ca00a2023-09-04 10:09:21 -0300251 devstack_localrc:
252 MANILA_SETUP_IPV6: false
Goutham Pacha Ravi1ba0a8d2023-10-17 15:53:07 -0700253 NEUTRON_CREATE_INITIAL_NETWORKS: true
silvacarloss95b3ac32022-06-23 12:39:00 -0300254
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700255
256# TODO(gmann): As per the 2025.1 testing runtime, we need to run at least
257# one job on jammy. This job can be removed as per the future testing
258# runtime (whenever we start testing Ubuntu 26.04 as default version).
259- job:
260 name: manila-tempest-plugin-lvm-jammy
261 description: This is integrated job testing on Ubuntu jammy(22.04)
262 parent: manila-tempest-plugin-lvm
263 nodeset: openstack-single-node-jammy
264
silvacarloss95b3ac32022-06-23 12:39:00 -0300265- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700266 name: manila-tempest-plugin-container
267 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700268 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700269 and postgresql db. API only, in a minimal devstack
270 parent: manila-tempest-plugin-base
271 vars:
272 tempest_test_regex: manila_tempest_tests.tests.api
273 devstack_localrc:
274 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
275 MANILA_SERVICE_IMAGE_ENABLED: false
276 MANILA_ENABLED_BACKENDS: london,paris
277 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
278 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
279 MANILA_SHARE_BACKEND1_NAME: LONDON
280 MANILA_SHARE_BACKEND2_NAME: PARIS
281 MANILA_OPTGROUP_london_driver_handles_share_servers: true
282 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
283 SHARE_BACKING_FILE_SIZE: 64000M
284 MANILA_CONFIGURE_DEFAULT_TYPES: false
285 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700286 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700287 devstack_services:
288 mysql: false
289 postgresql: true
290 devstack_local_conf:
291 test-config:
292 $TEMPEST_CONFIG:
293 share:
294 enable_ip_rules_for_protocols: ""
295 run_share_group_tests: false
296 run_manage_unmanage_tests: true
297 run_snapshot_tests: false
298 run_shrink_tests: false
299 enable_user_rules_for_protocols: cifs
300 enable_protocols: cifs
301 capability_storage_protocol: CIFS
302 multitenancy_enabled: true
303 backend_names: LONDON,PARIS
304 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000305 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000306 run_share_server_multiple_subnet_tests: true
307 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700308
309- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300310 name: manila-tempest-plugin-generic-base
311 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700312 description: |
313 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
314 parent: manila-tempest-plugin-base
315 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300316 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700317 # The generic driver uses nova VMs as share servers; running with a
318 # high concurrency could starve the driver of RAM/Disk/CPUs to
319 # function properly in a small single node devstack VM.
320 tempest_concurrency: 2
321 devstack_localrc:
322 VOLUME_BACKING_FILE_SIZE: 24G
323 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
324 MANILA_ENABLED_BACKENDS: london,paris
325 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
326 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
327 MANILA_SHARE_BACKEND1_NAME: LONDON
328 MANILA_SHARE_BACKEND2_NAME: PARIS
329 MANILA_OPTGROUP_london_driver_handles_share_servers: true
330 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
331 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
332 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700333 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi838733e2023-08-11 14:56:13 -0700334 GLANCE_ENFORCE_SCOPE: false
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700335 devstack_services:
336 cinder: true
337 devstack_local_conf:
338 test-config:
339 $TEMPEST_CONFIG:
340 share:
341 default_share_type_name: default
342 run_share_group_tests: false
343 multitenancy_enabled: true
344 suppress_errors_in_cleanup: true
345 share_creation_retry_number: 2
346 backend_names: LONDON,PARIS
347 multi_backend: true
348 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300349
350- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300351 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300352 description: |
353 Test the scenario test cases on the generic driver multibackend
354 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300355 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300356 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300357
358- job:
359 name: manila-tempest-plugin-generic-scenario-base
360 abstract: true
361 description: |
362 Test the scenario test cases on the generic driver multibackend
363 (DHSS=True) with NFS and CIFS
364 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300365 vars:
366 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
367 # The generic driver uses nova VMs as share servers; running with a
368 # high concurrency could starve the driver of RAM/Disk/CPUs to
369 # function properly in a small single node devstack VM.
370 tempest_concurrency: 1
371
372- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300373 name: manila-tempest-plugin-generic-scenario
374 description: |
375 Test the scenario test cases on the generic driver multibackend
376 (DHSS=True) with NFS and CIFS
377 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300378 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300379
380- job:
381 name: manila-tempest-plugin-cephfs-native-base
382 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300383 description: Test CephFS Native (DHSS=False)
384 parent: manila-tempest-plugin-base
385 required-projects:
386 - openstack/devstack-plugin-ceph
387 vars:
388 devstack_plugins:
389 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300390 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300391 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700392 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300393 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
394 MANILA_ENABLED_BACKENDS: cephfsnative
395 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700396 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300397 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
398 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
399 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
400 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700401 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
402 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300403 # 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 -0700404 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
405 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300406 devstack_local_conf:
407 test-config:
408 $TEMPEST_CONFIG:
409 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300410 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300411 enable_cephx_rules_for_protocols: cephfs
412 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300413 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300414 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300415 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300416 enable_protocols: cephfs
417 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300418
silvacarloss95b3ac32022-06-23 12:39:00 -0300419- job:
420 name: manila-tempest-plugin-cephfs-native
421 description: Test CephFS Native (DHSS=False)
422 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300423 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300424
425- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000426 name: manila-tempest-plugin-cephfs-native-cephadm
427 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700428 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000429 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700430 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000431 tempest_test_regex: manila_tempest_tests.tests
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700432 # NOTE(gouthamr): Avoiding ceph fuse tests to conserve resources;
433 # we're hoping we'd get sufficient coverage through kernel tests.
434 # test_extend_share: https://bugs.launchpad.net/manila/+bug/2075981
435 tempest_exclude_regex: "\
436 (^manila_tempest_tests.tests.scenario.*ceph_fuse.*)|\
437 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000438 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700439 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000440 CEPHADM_DEPLOY: true
441 CEPHADM_DEV_OSD: true
442 TARGET_DEV_OSD_DIR: /opt/stack
443 CEPH_LOOPBACK_DISK_SIZE: 40G
444 DISABLE_CEPHADM_POST_DEPLOY: True
445 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
446 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
447
448- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300449 name: manila-tempest-plugin-cephfs-nfs-base
450 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300451 description: Test CephFS NFS (DHSS=False)
452 parent: manila-tempest-plugin-base
453 required-projects:
454 - openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300455 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
456 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300457 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500458 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800459 # turning off some tests due to exhaustion of disk space
460 # https://bugs.launchpad.net/manila/+bug/2009083
461 tempest_exclude_regex: "\
462 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
463 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700464 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300465 devstack_plugins:
466 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300467 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
468 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300469 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700470 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
471 Q_AGENT: openvswitch
472 Q_ML2_TENANT_NETWORK_TYPE: vxlan
473 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700474 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300475 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
476 MANILA_ENABLED_BACKENDS: cephfsnfs
477 ENABLED_SHARE_PROTOCOLS: NFS
478 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
479 MANILA_SERVICE_IMAGE_ENABLED: true
480 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
481 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
482 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
483 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
484 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
485 MANILA_CEPH_DRIVER: cephfsnfs
486 MANILA_SETUP_IPV6: true
487 NEUTRON_CREATE_INITIAL_NETWORKS: false
488 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700489 zuul_copy_output:
490 '/var/log/ganesha': logs
491 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300492 devstack_local_conf:
493 test-config:
494 $TEMPEST_CONFIG:
495 share:
496 default_share_type_name: default
497 run_ipv6_tests: true
498 run_share_group_tests: false
499 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300500 backend_names: CEPHFSNFS
501 enable_protocols: nfs
502 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300503 image_password: manila
504
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700505- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300506 name: manila-tempest-plugin-cephfs-nfs
507 description: Test CephFS NFS (DHSS=False)
508 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300509 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700510 vars:
ashrod98b615b262024-06-26 15:02:07 -0400511 tempest_concurrency: 1
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700512 # TODO(gouthamr): some tests are disabled due to bugs
513 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700514 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
515 tempest_exclude_regex: "\
516 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
517 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Goutham Pacha Ravia0420242024-07-25 17:25:11 -0700518 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700519 devstack_localrc:
Goutham Pacha Ravi711d53a2024-04-07 22:05:28 -0700520 CEPHADM_DEPLOY: True
521 CEPHADM_DEV_OSD: True
522 CEPH_LOOPBACK_DISK_SIZE: 40GB
523 CEPHADM_DEPLOY_NFS: False
524 TARGET_DEV_OSD_DIR: /opt/stack
525 ENABLED_SHARE_PROTOCOLS: NFS
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700526 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
Ashley Rodriguezb50ac9f2024-05-29 15:06:47 -0400527 CEPH_RELEASE: "reef"
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700528 MANILA_SETUP_IPV6: false
529 NEUTRON_CREATE_INITIAL_NETWORKS: true
530 IP_VERSION: 4
ashrod980f6b5222024-09-16 18:07:22 +0000531 CEPH_INGRESS_IP: "{{hostvars['controller'].ansible_default_ipv6.address}}"
silvacarloss95b3ac32022-06-23 12:39:00 -0300532
533- job:
ashrod981bab3432023-06-30 14:50:11 +0000534 name: manila-tempest-plugin-multinode-base
535 abstract: true
536 description: |
537 Base job for testing multinode with Manila. Manila is enabled in
538 the controller node; and we have an additional compute node.
539 parent: tempest-multinode-full-py3
540 timeout: 10800
541 irrelevant-files: *irrelevant-files
542 required-projects: *manila-tempest-required-projects
543 vars:
544 tox_envlist: all
545 tempest_test_regex: manila_tempest_tests
546 tempest_plugins:
547 - manila-tempest-plugin
548 tempest_concurrency: 8
549 devstack_services:
550 cinder: false
551 c-bak: false
552 s-account: false
553 s-container: false
554 s-object: false
555 s-proxy: false
556 horizon: false
557 tls-proxy: true
558 devstack_localrc:
559 MANILA_USE_DOWNGRADE_MIGRATIONS: false
560 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
561 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
562 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
563 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
564 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
565 group-vars:
566 tempest:
567 devstack_plugins:
568 manila: https://opendev.org/openstack/manila
569 subnode:
570 devstack_services:
571 cinder: false
572 c-bak: false
573
574- job:
575 name: manila-tempest-plugin-multinode-cephfs-nfs-cephadm
576 description: Test CephFS NFS (DHSS=False) in a Multinode devstack env
577 parent: manila-tempest-plugin-multinode-base
578 required-projects:
579 - openstack/devstack-plugin-ceph
580 vars:
581 configure_swap_size: 8192
582 tempest_concurrency: 2
583 # TODO(gouthamr): some tests are disabled due to bugs
584 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700585 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
586 tempest_exclude_regex: "\
587 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
588 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
ashrod981bab3432023-06-30 14:50:11 +0000589 devstack_localrc:
590 MYSQL_REDUCE_MEMORY: True
591 CEPHADM_DEPLOY: True
592 CEPHADM_DEV_OSD: true
593 CEPH_LOOPBACK_DISK_SIZE: 40GB
594 ENABLED_SHARE_PROTOCOLS: NFS
595 ENABLE_CEPH_MANILA: True
596 ENABLE_CEPH_NOVA: False
597 MANILA_CEPH_DRIVER: cephfsnfs
598 MANILA_CONFIGURE_DEFAULT_TYPES: true
599 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
600 MANILA_ENABLED_BACKENDS: cephfsnfs
601 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
602 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
603 MANILA_OPTGROUP_cephfsnfs_cephfs_nfs_cluster_id: cephfs
604 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
605 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
606 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
607 MANILA_SERVICE_IMAGE_ENABLED: True
608 MANILA_SETUP_IPV6: false
609 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
610 TARGET_DEV_OSD_DIR: /opt/stack
ashrod98a04b5f62024-07-24 10:09:13 -0400611 CEPH_INGRESS_IP: "{{hostvars['controller'].ansible_default_ipv6.address}}"
ashrod981bab3432023-06-30 14:50:11 +0000612 devstack_local_conf:
613 test-config:
614 $TEMPEST_CONFIG:
615 share:
616 backend_names: cephfsnfs
617 capability_storage_protocol: NFS
618 default_share_type_name: default
619 enable_protocols: nfs
620 image_password: manila
621 multitenancy_enabled: false
622 run_share_group_tests: false
623 group-vars:
624 subnode:
625 devstack_plugins:
626 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
627 devstack_localrc:
628 REMOTE_CEPH: True
Goutham Pacha Ravi94d51642024-09-05 09:36:55 -0700629 ENABLE_CEPH_NOVA: False
ashrod981bab3432023-06-30 14:50:11 +0000630 tempest:
631 devstack_plugins:
632 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
633
634- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700635 name: manila-tempest-plugin-dummy-no-dhss
636 description: Test the Dummy driver with DHSS=False
637 parent: manila-tempest-plugin-standalone-base
638 vars:
639 devstack_localrc:
640 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
641 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
642 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
643 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
644 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
645 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
646 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
647 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
648 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
649 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
650 MANILA_OPTGROUP_beta_share_backend_name: BETA
651 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
652 # With below opts we'll enable a DHSS=True back-end solely for
653 # for the migration test case "test_migration_opposite_driver_modes"
654 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
655 MANILA_OPTGROUP_gamma_network_config_group: membernet
656 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
657 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
658 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
659 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
660 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
661 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
662 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
663 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
664 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
665 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
Kiran Pawaredd82c72022-05-07 14:48:36 +0000666 MANILA_CREATE_BACKUP_CONTINUE_TASK_INTERVAL: 30
667 MANILA_RESTORE_BACKUP_CONTINUE_TASK_INTERVAL: 30
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700668 devstack_local_conf:
669 test-config:
670 "$TEMPEST_CONFIG":
671 share:
672 backend_names: ALPHA,BETA
673 backend_replication_type: readable
674 build_timeout: 180
675 capability_sg_consistent_snapshot_support: pool
676 enable_ip_rules_for_protocols: nfs
677 enable_ro_access_level_for_protocols: nfs,cifs
678 enable_user_rules_for_protocols: cifs
679 multi_backend: true
680 multitenancy_enabled: false
Kiran Pawaredd82c72022-05-07 14:48:36 +0000681 run_driver_assisted_backup_tests: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700682 run_driver_assisted_migration_tests: true
683 run_manage_unmanage_snapshot_tests: true
684 run_manage_unmanage_tests: true
685 run_migration_with_preserve_snapshots_tests: true
686 run_mount_snapshot_tests: true
687 run_replication_tests: true
688 run_revert_to_snapshot_tests: true
689 # for migration test case "test_migration_opposite_driver_modes"
690 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300691
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700692- job:
693 name: manila-tempest-plugin-dummy-dhss
694 description: Test the Dummy driver with DHSS=True
695 parent: manila-tempest-plugin-standalone-base
696 vars:
697 devstack_localrc:
698 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
699 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
700 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
701 MANILA_ENABLED_BACKENDS: alpha,beta
702 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
703 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
704 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
705 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
706 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
707 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
708 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
709 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
710 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
711 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
712 MANILA_OPTGROUP_alpha_network_config_group: membernet
713 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
714 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
715 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
716 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
717 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
718 MANILA_OPTGROUP_beta_network_config_group: membernet
719 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
720 MANILA_OPTGROUP_beta_share_backend_name: BETA
721 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
722 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
723 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
724 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
725 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
726 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
727 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
728 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
729 # With below opts we'll enable a DHSS=False back-end solely for
730 # for the migration test case "test_migration_opposite_driver_modes"
731 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
732 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
733 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
734 devstack_local_conf:
735 test-config:
736 "$TEMPEST_CONFIG":
737 share:
738 backend_names: ALPHA,BETA
739 backend_replication_type: readable
740 build_timeout: 180
741 capability_sg_consistent_snapshot_support: pool
742 create_networks_when_multitenancy_enabled: false
743 enable_ip_rules_for_protocols: nfs
744 enable_ro_access_level_for_protocols: nfs,cifs
745 enable_user_rules_for_protocols: cifs
746 multi_backend: true
747 multitenancy_enabled: true
748 run_driver_assisted_migration_tests: true
749 run_manage_unmanage_snapshot_tests: true
750 run_manage_unmanage_tests: true
751 run_migration_with_preserve_snapshots_tests: true
752 run_mount_snapshot_tests: true
753 run_replication_tests: true
754 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000755 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000756 run_share_server_multiple_subnet_tests: true
757 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700758
759- job:
760 name: manila-tempest-plugin-glusterfs-native
761 description: |
762 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
763 parent: manila-tempest-plugin-standalone-base
764 required-projects:
765 - x/devstack-plugin-glusterfs
766 vars:
767 tempest_concurrency: 8
768 devstack_plugins:
769 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
770 devstack_localrc:
771 CONFIGURE_GLUSTERFS_MANILA: true
772 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
773 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
774 devstack_local_conf:
775 test-config:
776 $TEMPEST_CONFIG:
777 share:
778 run_share_group_tests: false
779 run_snapshot_tests: false
780 multitenancy_enabled: false
781 run_shrink_tests: false
782 run_extend_tests: false
783 multi_backend: false
784 suppress_errors_in_cleanup: True
785 share_creation_retry_number: 2
786 backend_names: GLUSTERNATIVE
787 enable_cert_rules_for_protocols: glusterfs
788 capability_storage_protocol: glusterfs
789 enable_protocols: glusterfs
790
791- job:
792 name: manila-tempest-plugin-glusterfs-nfs
793 description: |
794 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
795 parent: manila-tempest-plugin-standalone-base
796 required-projects:
797 - x/devstack-plugin-glusterfs
798 vars:
799 tempest_concurrency: 8
800 devstack_plugins:
801 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
802 devstack_localrc:
803 CONFIGURE_GLUSTERFS_MANILA: true
804 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
805 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
806 devstack_local_conf:
807 test-config:
808 $TEMPEST_CONFIG:
809 share:
810 run_share_group_tests: false
811 run_snapshot_tests: false
812 multitenancy_enabled: False
813 run_shrink_tests: true
814 multi_backend: false
815 suppress_errors_in_cleanup: True
816 share_creation_retry_number: 2
817 backend_names: GLUSTERFS
818 enable_ip_rules_for_protocols: nfs
819 capability_storage_protocol: NFS
820 enable_protocols: nfs
821 # read-only access rules not supported
822 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300823
silvacarlosse21dbfd2022-06-29 15:46:45 -0300824- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300825 name: manila-tempest-plugin-dummy-no-dhss-rbac
826 parent: manila-tempest-plugin-dummy-no-dhss
827 description: |
828 This job runs the devstack with scope checks enabled,
829 on the Dummy driver with DHSS=False.
830 vars:
831 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
832 devstack_localrc:
833 MANILA_ENFORCE_SCOPE: true
834 devstack_local_conf:
835 test-config:
836 "$TEMPEST_CONFIG":
837 share:
838 default_share_type_name: default
839
840- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300841 name: manila-tempest-plugin-lvm-fips-base
842 parent: manila-tempest-plugin-lvm-base
843 nodeset: devstack-single-node-centos-9-stream
844 description: |
845 Run LVM DHSS false tests for manila project using FIPS.
846 pre-run:
847 - playbooks/enable-fips.yaml
848 vars:
849 nslookup_target: 'opendev.org'
850 devstack_localrc:
851 MANILA_SETUP_IPV6: false
852 NEUTRON_CREATE_INITIAL_NETWORKS: true
853 IP_VERSION: 4
854 configure_swap_size: 4096
855 devstack_local_conf:
856 test-config:
857 "$TEMPEST_CONFIG":
858 validation:
859 ssh_key_type: 'ecdsa'
860 share:
861 run_ipv6_tests: false
862
863- job:
864 name: manila-tempest-plugin-lvm-fips
865 parent: manila-tempest-plugin-lvm-fips-base
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700866 branches:
867 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
868 negate: true
silvacarlosse21dbfd2022-06-29 15:46:45 -0300869
silvacarloss95b3ac32022-06-23 12:39:00 -0300870- project-template:
871 name: manila-tempest-plugin-jobs-using-service-image
872 description: |
873 Runs jobs that will also perform scenario tests in the branches that are
874 newer than Yoga.
875 check:
876 jobs:
877 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700878 - manila-tempest-plugin-lvm-jammy
silvacarloss95b3ac32022-06-23 12:39:00 -0300879 - manila-tempest-plugin-generic-scenario:
880 voting: false
881 - manila-tempest-plugin-generic:
882 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000883 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300884 voting: false
ashrod981bab3432023-06-30 14:50:11 +0000885 - manila-tempest-plugin-multinode-cephfs-nfs-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300886 voting: false
887 - manila-tempest-plugin-zfsonlinux:
888 voting: false
889 gate:
890 jobs:
891 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700892 - manila-tempest-plugin-lvm-jammy