blob: 653b5fb6e3e23293648211818200d5edd4658968 [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
silvacarloss95b3ac32022-06-23 12:39:00 -0300531
532- job:
ashrod981bab3432023-06-30 14:50:11 +0000533 name: manila-tempest-plugin-multinode-base
534 abstract: true
535 description: |
536 Base job for testing multinode with Manila. Manila is enabled in
537 the controller node; and we have an additional compute node.
538 parent: tempest-multinode-full-py3
539 timeout: 10800
540 irrelevant-files: *irrelevant-files
541 required-projects: *manila-tempest-required-projects
542 vars:
543 tox_envlist: all
544 tempest_test_regex: manila_tempest_tests
545 tempest_plugins:
546 - manila-tempest-plugin
547 tempest_concurrency: 8
548 devstack_services:
549 cinder: false
550 c-bak: false
551 s-account: false
552 s-container: false
553 s-object: false
554 s-proxy: false
555 horizon: false
556 tls-proxy: true
557 devstack_localrc:
558 MANILA_USE_DOWNGRADE_MIGRATIONS: false
559 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
560 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
561 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
562 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
563 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
564 group-vars:
565 tempest:
566 devstack_plugins:
567 manila: https://opendev.org/openstack/manila
568 subnode:
569 devstack_services:
570 cinder: false
571 c-bak: false
572
573- job:
574 name: manila-tempest-plugin-multinode-cephfs-nfs-cephadm
575 description: Test CephFS NFS (DHSS=False) in a Multinode devstack env
576 parent: manila-tempest-plugin-multinode-base
577 required-projects:
578 - openstack/devstack-plugin-ceph
579 vars:
580 configure_swap_size: 8192
581 tempest_concurrency: 2
582 # TODO(gouthamr): some tests are disabled due to bugs
583 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700584 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
585 tempest_exclude_regex: "\
586 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
587 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
ashrod981bab3432023-06-30 14:50:11 +0000588 devstack_localrc:
589 MYSQL_REDUCE_MEMORY: True
590 CEPHADM_DEPLOY: True
591 CEPHADM_DEV_OSD: true
592 CEPH_LOOPBACK_DISK_SIZE: 40GB
593 ENABLED_SHARE_PROTOCOLS: NFS
594 ENABLE_CEPH_MANILA: True
595 ENABLE_CEPH_NOVA: False
596 MANILA_CEPH_DRIVER: cephfsnfs
597 MANILA_CONFIGURE_DEFAULT_TYPES: true
598 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
599 MANILA_ENABLED_BACKENDS: cephfsnfs
600 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
601 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
602 MANILA_OPTGROUP_cephfsnfs_cephfs_nfs_cluster_id: cephfs
603 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
604 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
605 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
606 MANILA_SERVICE_IMAGE_ENABLED: True
607 MANILA_SETUP_IPV6: false
608 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
609 TARGET_DEV_OSD_DIR: /opt/stack
ashrod9810945e52024-09-25 19:23:30 +0000610 CEPH_INGRESS_IP: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
ashrod981bab3432023-06-30 14:50:11 +0000611 devstack_local_conf:
612 test-config:
613 $TEMPEST_CONFIG:
614 share:
615 backend_names: cephfsnfs
616 capability_storage_protocol: NFS
617 default_share_type_name: default
618 enable_protocols: nfs
619 image_password: manila
620 multitenancy_enabled: false
621 run_share_group_tests: false
622 group-vars:
623 subnode:
624 devstack_plugins:
625 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
626 devstack_localrc:
627 REMOTE_CEPH: True
Goutham Pacha Ravi94d51642024-09-05 09:36:55 -0700628 ENABLE_CEPH_NOVA: False
ashrod981bab3432023-06-30 14:50:11 +0000629 tempest:
630 devstack_plugins:
631 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
632
633- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700634 name: manila-tempest-plugin-dummy-no-dhss
635 description: Test the Dummy driver with DHSS=False
636 parent: manila-tempest-plugin-standalone-base
637 vars:
638 devstack_localrc:
639 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000640 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700641 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
642 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000643 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
644 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
645 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
646 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
647 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
648 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700649 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
650 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
651 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
652 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
653 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
654 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
655 MANILA_OPTGROUP_beta_share_backend_name: BETA
656 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
657 # With below opts we'll enable a DHSS=True back-end solely for
658 # for the migration test case "test_migration_opposite_driver_modes"
659 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
660 MANILA_OPTGROUP_gamma_network_config_group: membernet
661 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
662 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
663 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
664 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
665 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
666 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
667 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
668 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
669 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
670 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
Kiran Pawaredd82c72022-05-07 14:48:36 +0000671 MANILA_CREATE_BACKUP_CONTINUE_TASK_INTERVAL: 30
672 MANILA_RESTORE_BACKUP_CONTINUE_TASK_INTERVAL: 30
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700673 devstack_local_conf:
674 test-config:
675 "$TEMPEST_CONFIG":
676 share:
677 backend_names: ALPHA,BETA
678 backend_replication_type: readable
679 build_timeout: 180
680 capability_sg_consistent_snapshot_support: pool
681 enable_ip_rules_for_protocols: nfs
682 enable_ro_access_level_for_protocols: nfs,cifs
683 enable_user_rules_for_protocols: cifs
684 multi_backend: true
685 multitenancy_enabled: false
Kiran Pawaredd82c72022-05-07 14:48:36 +0000686 run_driver_assisted_backup_tests: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700687 run_driver_assisted_migration_tests: true
688 run_manage_unmanage_snapshot_tests: true
689 run_manage_unmanage_tests: true
690 run_migration_with_preserve_snapshots_tests: true
691 run_mount_snapshot_tests: true
692 run_replication_tests: true
693 run_revert_to_snapshot_tests: true
694 # for migration test case "test_migration_opposite_driver_modes"
695 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300696
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700697- job:
698 name: manila-tempest-plugin-dummy-dhss
699 description: Test the Dummy driver with DHSS=True
700 parent: manila-tempest-plugin-standalone-base
701 vars:
702 devstack_localrc:
703 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000704 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700705 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
706 MANILA_ENABLED_BACKENDS: alpha,beta
707 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000708 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
709 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
710 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
711 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
712 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
713 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700714 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
715 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
716 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
717 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
718 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
719 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
720 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
721 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
722 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
723 MANILA_OPTGROUP_alpha_network_config_group: membernet
724 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
725 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
726 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
727 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
728 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
729 MANILA_OPTGROUP_beta_network_config_group: membernet
730 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
731 MANILA_OPTGROUP_beta_share_backend_name: BETA
732 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
733 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
734 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
735 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
736 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
737 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
738 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
739 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
740 # With below opts we'll enable a DHSS=False back-end solely for
741 # for the migration test case "test_migration_opposite_driver_modes"
742 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
743 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
744 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
745 devstack_local_conf:
746 test-config:
747 "$TEMPEST_CONFIG":
748 share:
749 backend_names: ALPHA,BETA
750 backend_replication_type: readable
751 build_timeout: 180
752 capability_sg_consistent_snapshot_support: pool
753 create_networks_when_multitenancy_enabled: false
754 enable_ip_rules_for_protocols: nfs
755 enable_ro_access_level_for_protocols: nfs,cifs
756 enable_user_rules_for_protocols: cifs
757 multi_backend: true
758 multitenancy_enabled: true
759 run_driver_assisted_migration_tests: true
760 run_manage_unmanage_snapshot_tests: true
761 run_manage_unmanage_tests: true
762 run_migration_with_preserve_snapshots_tests: true
763 run_mount_snapshot_tests: true
764 run_replication_tests: true
765 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000766 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000767 run_share_server_multiple_subnet_tests: true
768 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700769
770- job:
771 name: manila-tempest-plugin-glusterfs-native
772 description: |
773 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
774 parent: manila-tempest-plugin-standalone-base
775 required-projects:
776 - x/devstack-plugin-glusterfs
777 vars:
778 tempest_concurrency: 8
779 devstack_plugins:
780 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
781 devstack_localrc:
782 CONFIGURE_GLUSTERFS_MANILA: true
783 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
784 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
785 devstack_local_conf:
786 test-config:
787 $TEMPEST_CONFIG:
788 share:
789 run_share_group_tests: false
790 run_snapshot_tests: false
791 multitenancy_enabled: false
792 run_shrink_tests: false
793 run_extend_tests: false
794 multi_backend: false
795 suppress_errors_in_cleanup: True
796 share_creation_retry_number: 2
797 backend_names: GLUSTERNATIVE
798 enable_cert_rules_for_protocols: glusterfs
799 capability_storage_protocol: glusterfs
800 enable_protocols: glusterfs
801
802- job:
803 name: manila-tempest-plugin-glusterfs-nfs
804 description: |
805 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
806 parent: manila-tempest-plugin-standalone-base
807 required-projects:
808 - x/devstack-plugin-glusterfs
809 vars:
810 tempest_concurrency: 8
811 devstack_plugins:
812 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
813 devstack_localrc:
814 CONFIGURE_GLUSTERFS_MANILA: true
815 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
816 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
817 devstack_local_conf:
818 test-config:
819 $TEMPEST_CONFIG:
820 share:
821 run_share_group_tests: false
822 run_snapshot_tests: false
823 multitenancy_enabled: False
824 run_shrink_tests: true
825 multi_backend: false
826 suppress_errors_in_cleanup: True
827 share_creation_retry_number: 2
828 backend_names: GLUSTERFS
829 enable_ip_rules_for_protocols: nfs
830 capability_storage_protocol: NFS
831 enable_protocols: nfs
832 # read-only access rules not supported
833 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300834
silvacarlosse21dbfd2022-06-29 15:46:45 -0300835- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300836 name: manila-tempest-plugin-dummy-no-dhss-rbac
837 parent: manila-tempest-plugin-dummy-no-dhss
838 description: |
839 This job runs the devstack with scope checks enabled,
840 on the Dummy driver with DHSS=False.
841 vars:
842 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
843 devstack_localrc:
844 MANILA_ENFORCE_SCOPE: true
845 devstack_local_conf:
846 test-config:
847 "$TEMPEST_CONFIG":
848 share:
849 default_share_type_name: default
850
851- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300852 name: manila-tempest-plugin-lvm-fips-base
853 parent: manila-tempest-plugin-lvm-base
854 nodeset: devstack-single-node-centos-9-stream
855 description: |
856 Run LVM DHSS false tests for manila project using FIPS.
857 pre-run:
858 - playbooks/enable-fips.yaml
859 vars:
860 nslookup_target: 'opendev.org'
861 devstack_localrc:
862 MANILA_SETUP_IPV6: false
863 NEUTRON_CREATE_INITIAL_NETWORKS: true
864 IP_VERSION: 4
865 configure_swap_size: 4096
866 devstack_local_conf:
867 test-config:
868 "$TEMPEST_CONFIG":
869 validation:
870 ssh_key_type: 'ecdsa'
871 share:
872 run_ipv6_tests: false
873
874- job:
875 name: manila-tempest-plugin-lvm-fips
876 parent: manila-tempest-plugin-lvm-fips-base
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700877 branches:
878 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
879 negate: true
silvacarlosse21dbfd2022-06-29 15:46:45 -0300880
silvacarloss95b3ac32022-06-23 12:39:00 -0300881- project-template:
882 name: manila-tempest-plugin-jobs-using-service-image
883 description: |
884 Runs jobs that will also perform scenario tests in the branches that are
885 newer than Yoga.
886 check:
887 jobs:
888 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700889 - manila-tempest-plugin-lvm-jammy
silvacarloss95b3ac32022-06-23 12:39:00 -0300890 - manila-tempest-plugin-generic-scenario:
891 voting: false
892 - manila-tempest-plugin-generic:
893 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000894 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300895 voting: false
ashrod981bab3432023-06-30 14:50:11 +0000896 - manila-tempest-plugin-multinode-cephfs-nfs-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300897 voting: false
898 - manila-tempest-plugin-zfsonlinux:
899 voting: false
900 gate:
901 jobs:
902 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700903 - manila-tempest-plugin-lvm-jammy