blob: 36a1fafa77e8926f6ef3fec75ada3832f61b3bd8 [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
Goutham Pacha Ravi147028f2025-04-08 14:05:42 -0700264 branches:
265 - stable/2025.1
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700266
silvacarloss95b3ac32022-06-23 12:39:00 -0300267- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700268 name: manila-tempest-plugin-container
269 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700270 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700271 and postgresql db. API only, in a minimal devstack
272 parent: manila-tempest-plugin-base
273 vars:
274 tempest_test_regex: manila_tempest_tests.tests.api
275 devstack_localrc:
276 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
277 MANILA_SERVICE_IMAGE_ENABLED: false
278 MANILA_ENABLED_BACKENDS: london,paris
279 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
280 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
281 MANILA_SHARE_BACKEND1_NAME: LONDON
282 MANILA_SHARE_BACKEND2_NAME: PARIS
283 MANILA_OPTGROUP_london_driver_handles_share_servers: true
284 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
285 SHARE_BACKING_FILE_SIZE: 64000M
286 MANILA_CONFIGURE_DEFAULT_TYPES: false
287 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700288 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700289 devstack_services:
290 mysql: false
291 postgresql: true
292 devstack_local_conf:
293 test-config:
294 $TEMPEST_CONFIG:
295 share:
296 enable_ip_rules_for_protocols: ""
297 run_share_group_tests: false
298 run_manage_unmanage_tests: true
299 run_snapshot_tests: false
300 run_shrink_tests: false
301 enable_user_rules_for_protocols: cifs
302 enable_protocols: cifs
303 capability_storage_protocol: CIFS
304 multitenancy_enabled: true
305 backend_names: LONDON,PARIS
306 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000307 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000308 run_share_server_multiple_subnet_tests: true
309 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700310
311- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300312 name: manila-tempest-plugin-generic-base
313 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700314 description: |
315 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
316 parent: manila-tempest-plugin-base
317 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300318 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700319 # The generic driver uses nova VMs as share servers; running with a
320 # high concurrency could starve the driver of RAM/Disk/CPUs to
321 # function properly in a small single node devstack VM.
322 tempest_concurrency: 2
323 devstack_localrc:
324 VOLUME_BACKING_FILE_SIZE: 24G
325 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
326 MANILA_ENABLED_BACKENDS: london,paris
327 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
328 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
329 MANILA_SHARE_BACKEND1_NAME: LONDON
330 MANILA_SHARE_BACKEND2_NAME: PARIS
331 MANILA_OPTGROUP_london_driver_handles_share_servers: true
332 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
333 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
334 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700335 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi838733e2023-08-11 14:56:13 -0700336 GLANCE_ENFORCE_SCOPE: false
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700337 devstack_services:
338 cinder: true
339 devstack_local_conf:
340 test-config:
341 $TEMPEST_CONFIG:
342 share:
343 default_share_type_name: default
344 run_share_group_tests: false
345 multitenancy_enabled: true
346 suppress_errors_in_cleanup: true
347 share_creation_retry_number: 2
348 backend_names: LONDON,PARIS
349 multi_backend: true
350 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300351
352- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300353 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300354 description: |
355 Test the scenario test cases on the generic driver multibackend
356 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300357 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300358 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300359
360- job:
361 name: manila-tempest-plugin-generic-scenario-base
362 abstract: true
363 description: |
364 Test the scenario test cases on the generic driver multibackend
365 (DHSS=True) with NFS and CIFS
366 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300367 vars:
368 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
369 # The generic driver uses nova VMs as share servers; running with a
370 # high concurrency could starve the driver of RAM/Disk/CPUs to
371 # function properly in a small single node devstack VM.
372 tempest_concurrency: 1
373
374- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300375 name: manila-tempest-plugin-generic-scenario
376 description: |
377 Test the scenario test cases on the generic driver multibackend
378 (DHSS=True) with NFS and CIFS
379 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300380 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300381
382- job:
383 name: manila-tempest-plugin-cephfs-native-base
384 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300385 description: Test CephFS Native (DHSS=False)
386 parent: manila-tempest-plugin-base
387 required-projects:
388 - openstack/devstack-plugin-ceph
389 vars:
390 devstack_plugins:
391 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300392 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300393 devstack_localrc:
Goutham Pacha Ravic7d8e812025-04-01 12:33:29 -0700394 # TODO (gouthamr): update to squid after
395 # https://bugs.launchpad.net/manila/+bug/2105833
396 CEPH_RELEASE: 'reef'
397 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v18.2'
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700398 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300399 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
400 MANILA_ENABLED_BACKENDS: cephfsnative
401 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700402 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300403 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
404 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
405 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
406 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700407 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
408 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300409 # 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 -0700410 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
411 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300412 devstack_local_conf:
413 test-config:
414 $TEMPEST_CONFIG:
415 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300416 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300417 enable_cephx_rules_for_protocols: cephfs
418 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300419 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300420 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300421 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300422 enable_protocols: cephfs
423 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300424
silvacarloss95b3ac32022-06-23 12:39:00 -0300425- job:
426 name: manila-tempest-plugin-cephfs-native
427 description: Test CephFS Native (DHSS=False)
428 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300429 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300430
431- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000432 name: manila-tempest-plugin-cephfs-native-cephadm
433 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700434 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000435 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700436 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000437 tempest_test_regex: manila_tempest_tests.tests
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700438 # NOTE(gouthamr): Avoiding ceph fuse tests to conserve resources;
439 # we're hoping we'd get sufficient coverage through kernel tests.
440 # test_extend_share: https://bugs.launchpad.net/manila/+bug/2075981
441 tempest_exclude_regex: "\
442 (^manila_tempest_tests.tests.scenario.*ceph_fuse.*)|\
443 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000444 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700445 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000446 CEPHADM_DEPLOY: true
447 CEPHADM_DEV_OSD: true
448 TARGET_DEV_OSD_DIR: /opt/stack
449 CEPH_LOOPBACK_DISK_SIZE: 40G
450 DISABLE_CEPHADM_POST_DEPLOY: True
451 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
452 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
453
454- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300455 name: manila-tempest-plugin-cephfs-nfs-base
456 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300457 description: Test CephFS NFS (DHSS=False)
458 parent: manila-tempest-plugin-base
459 required-projects:
460 - openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300461 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
462 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300463 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500464 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800465 # turning off some tests due to exhaustion of disk space
466 # https://bugs.launchpad.net/manila/+bug/2009083
467 tempest_exclude_regex: "\
468 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
469 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700470 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300471 devstack_plugins:
472 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300473 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
474 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300475 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700476 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
477 Q_AGENT: openvswitch
478 Q_ML2_TENANT_NETWORK_TYPE: vxlan
479 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700480 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300481 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
482 MANILA_ENABLED_BACKENDS: cephfsnfs
483 ENABLED_SHARE_PROTOCOLS: NFS
484 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
485 MANILA_SERVICE_IMAGE_ENABLED: true
486 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
487 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
488 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
489 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
490 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
491 MANILA_CEPH_DRIVER: cephfsnfs
492 MANILA_SETUP_IPV6: true
493 NEUTRON_CREATE_INITIAL_NETWORKS: false
494 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700495 zuul_copy_output:
496 '/var/log/ganesha': logs
497 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300498 devstack_local_conf:
499 test-config:
500 $TEMPEST_CONFIG:
501 share:
502 default_share_type_name: default
503 run_ipv6_tests: true
504 run_share_group_tests: false
505 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300506 backend_names: CEPHFSNFS
507 enable_protocols: nfs
508 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300509 image_password: manila
510
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700511- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300512 name: manila-tempest-plugin-cephfs-nfs
513 description: Test CephFS NFS (DHSS=False)
514 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300515 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700516 vars:
ashrod98b615b262024-06-26 15:02:07 -0400517 tempest_concurrency: 1
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700518 # TODO(gouthamr): some tests are disabled due to bugs
519 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700520 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
521 tempest_exclude_regex: "\
522 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
523 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Goutham Pacha Ravia0420242024-07-25 17:25:11 -0700524 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700525 devstack_localrc:
Goutham Pacha Ravi711d53a2024-04-07 22:05:28 -0700526 CEPHADM_DEPLOY: True
527 CEPHADM_DEV_OSD: True
528 CEPH_LOOPBACK_DISK_SIZE: 40GB
529 CEPHADM_DEPLOY_NFS: False
530 TARGET_DEV_OSD_DIR: /opt/stack
531 ENABLED_SHARE_PROTOCOLS: NFS
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700532 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
Ashley Rodriguezb50ac9f2024-05-29 15:06:47 -0400533 CEPH_RELEASE: "reef"
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700534 MANILA_SETUP_IPV6: false
535 NEUTRON_CREATE_INITIAL_NETWORKS: true
536 IP_VERSION: 4
silvacarloss95b3ac32022-06-23 12:39:00 -0300537
538- job:
ashrod981bab3432023-06-30 14:50:11 +0000539 name: manila-tempest-plugin-multinode-base
540 abstract: true
541 description: |
542 Base job for testing multinode with Manila. Manila is enabled in
543 the controller node; and we have an additional compute node.
544 parent: tempest-multinode-full-py3
545 timeout: 10800
546 irrelevant-files: *irrelevant-files
547 required-projects: *manila-tempest-required-projects
548 vars:
549 tox_envlist: all
550 tempest_test_regex: manila_tempest_tests
551 tempest_plugins:
552 - manila-tempest-plugin
553 tempest_concurrency: 8
554 devstack_services:
555 cinder: false
556 c-bak: false
557 s-account: false
558 s-container: false
559 s-object: false
560 s-proxy: false
561 horizon: false
562 tls-proxy: true
563 devstack_localrc:
564 MANILA_USE_DOWNGRADE_MIGRATIONS: false
565 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
566 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
567 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
568 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
569 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
570 group-vars:
571 tempest:
572 devstack_plugins:
573 manila: https://opendev.org/openstack/manila
574 subnode:
575 devstack_services:
576 cinder: false
577 c-bak: false
578
579- job:
580 name: manila-tempest-plugin-multinode-cephfs-nfs-cephadm
581 description: Test CephFS NFS (DHSS=False) in a Multinode devstack env
582 parent: manila-tempest-plugin-multinode-base
583 required-projects:
584 - openstack/devstack-plugin-ceph
585 vars:
586 configure_swap_size: 8192
587 tempest_concurrency: 2
588 # TODO(gouthamr): some tests are disabled due to bugs
589 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700590 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
591 tempest_exclude_regex: "\
592 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
593 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
ashrod981bab3432023-06-30 14:50:11 +0000594 devstack_localrc:
595 MYSQL_REDUCE_MEMORY: True
596 CEPHADM_DEPLOY: True
ashrod98bad52722025-02-26 17:10:01 -0500597 ENABLE_INGRESS: False
ashrod981bab3432023-06-30 14:50:11 +0000598 CEPHADM_DEV_OSD: true
599 CEPH_LOOPBACK_DISK_SIZE: 40GB
600 ENABLED_SHARE_PROTOCOLS: NFS
601 ENABLE_CEPH_MANILA: True
602 ENABLE_CEPH_NOVA: False
603 MANILA_CEPH_DRIVER: cephfsnfs
604 MANILA_CONFIGURE_DEFAULT_TYPES: true
605 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
606 MANILA_ENABLED_BACKENDS: cephfsnfs
607 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
608 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
609 MANILA_OPTGROUP_cephfsnfs_cephfs_nfs_cluster_id: cephfs
610 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
611 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
612 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
613 MANILA_SERVICE_IMAGE_ENABLED: True
614 MANILA_SETUP_IPV6: false
615 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
616 TARGET_DEV_OSD_DIR: /opt/stack
617 devstack_local_conf:
618 test-config:
619 $TEMPEST_CONFIG:
620 share:
621 backend_names: cephfsnfs
622 capability_storage_protocol: NFS
623 default_share_type_name: default
624 enable_protocols: nfs
625 image_password: manila
626 multitenancy_enabled: false
627 run_share_group_tests: false
628 group-vars:
629 subnode:
630 devstack_plugins:
631 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
632 devstack_localrc:
633 REMOTE_CEPH: True
Goutham Pacha Ravi94d51642024-09-05 09:36:55 -0700634 ENABLE_CEPH_NOVA: False
ashrod981bab3432023-06-30 14:50:11 +0000635 tempest:
636 devstack_plugins:
637 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
638
639- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700640 name: manila-tempest-plugin-dummy-no-dhss
641 description: Test the Dummy driver with DHSS=False
642 parent: manila-tempest-plugin-standalone-base
643 vars:
644 devstack_localrc:
645 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000646 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700647 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
648 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000649 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
650 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
651 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
652 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
653 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
654 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700655 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
656 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
657 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
658 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
659 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
660 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
661 MANILA_OPTGROUP_beta_share_backend_name: BETA
662 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
663 # With below opts we'll enable a DHSS=True back-end solely for
664 # for the migration test case "test_migration_opposite_driver_modes"
665 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
666 MANILA_OPTGROUP_gamma_network_config_group: membernet
667 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
668 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
669 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
670 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
671 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
672 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
673 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
674 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
675 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
676 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
Kiran Pawaredd82c72022-05-07 14:48:36 +0000677 MANILA_CREATE_BACKUP_CONTINUE_TASK_INTERVAL: 30
678 MANILA_RESTORE_BACKUP_CONTINUE_TASK_INTERVAL: 30
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700679 devstack_local_conf:
680 test-config:
681 "$TEMPEST_CONFIG":
682 share:
683 backend_names: ALPHA,BETA
684 backend_replication_type: readable
685 build_timeout: 180
686 capability_sg_consistent_snapshot_support: pool
687 enable_ip_rules_for_protocols: nfs
688 enable_ro_access_level_for_protocols: nfs,cifs
689 enable_user_rules_for_protocols: cifs
690 multi_backend: true
691 multitenancy_enabled: false
Kiran Pawaredd82c72022-05-07 14:48:36 +0000692 run_driver_assisted_backup_tests: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700693 run_driver_assisted_migration_tests: true
694 run_manage_unmanage_snapshot_tests: true
695 run_manage_unmanage_tests: true
696 run_migration_with_preserve_snapshots_tests: true
697 run_mount_snapshot_tests: true
698 run_replication_tests: true
699 run_revert_to_snapshot_tests: true
700 # for migration test case "test_migration_opposite_driver_modes"
701 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300702
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700703- job:
704 name: manila-tempest-plugin-dummy-dhss
705 description: Test the Dummy driver with DHSS=True
706 parent: manila-tempest-plugin-standalone-base
707 vars:
708 devstack_localrc:
709 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000710 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700711 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
712 MANILA_ENABLED_BACKENDS: alpha,beta
713 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000714 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
715 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
716 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
717 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
718 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
719 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700720 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
721 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
722 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
723 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
724 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
725 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
726 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
727 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
728 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
729 MANILA_OPTGROUP_alpha_network_config_group: membernet
730 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
731 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
732 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
733 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
734 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
735 MANILA_OPTGROUP_beta_network_config_group: membernet
736 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
737 MANILA_OPTGROUP_beta_share_backend_name: BETA
738 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
739 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
740 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
741 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
742 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
743 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
744 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
745 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
746 # With below opts we'll enable a DHSS=False back-end solely for
747 # for the migration test case "test_migration_opposite_driver_modes"
748 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
749 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
750 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
751 devstack_local_conf:
752 test-config:
753 "$TEMPEST_CONFIG":
754 share:
755 backend_names: ALPHA,BETA
756 backend_replication_type: readable
757 build_timeout: 180
758 capability_sg_consistent_snapshot_support: pool
759 create_networks_when_multitenancy_enabled: false
760 enable_ip_rules_for_protocols: nfs
761 enable_ro_access_level_for_protocols: nfs,cifs
762 enable_user_rules_for_protocols: cifs
763 multi_backend: true
764 multitenancy_enabled: true
765 run_driver_assisted_migration_tests: true
766 run_manage_unmanage_snapshot_tests: true
767 run_manage_unmanage_tests: true
768 run_migration_with_preserve_snapshots_tests: true
769 run_mount_snapshot_tests: true
770 run_replication_tests: true
771 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000772 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000773 run_share_server_multiple_subnet_tests: true
774 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700775
776- job:
777 name: manila-tempest-plugin-glusterfs-native
778 description: |
779 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
780 parent: manila-tempest-plugin-standalone-base
781 required-projects:
782 - x/devstack-plugin-glusterfs
783 vars:
784 tempest_concurrency: 8
785 devstack_plugins:
786 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
787 devstack_localrc:
788 CONFIGURE_GLUSTERFS_MANILA: true
789 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
790 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
791 devstack_local_conf:
792 test-config:
793 $TEMPEST_CONFIG:
794 share:
795 run_share_group_tests: false
796 run_snapshot_tests: false
797 multitenancy_enabled: false
798 run_shrink_tests: false
799 run_extend_tests: false
800 multi_backend: false
801 suppress_errors_in_cleanup: True
802 share_creation_retry_number: 2
803 backend_names: GLUSTERNATIVE
804 enable_cert_rules_for_protocols: glusterfs
805 capability_storage_protocol: glusterfs
806 enable_protocols: glusterfs
807
808- job:
809 name: manila-tempest-plugin-glusterfs-nfs
810 description: |
811 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
812 parent: manila-tempest-plugin-standalone-base
813 required-projects:
814 - x/devstack-plugin-glusterfs
815 vars:
816 tempest_concurrency: 8
817 devstack_plugins:
818 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
819 devstack_localrc:
820 CONFIGURE_GLUSTERFS_MANILA: true
821 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
822 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
823 devstack_local_conf:
824 test-config:
825 $TEMPEST_CONFIG:
826 share:
827 run_share_group_tests: false
828 run_snapshot_tests: false
829 multitenancy_enabled: False
830 run_shrink_tests: true
831 multi_backend: false
832 suppress_errors_in_cleanup: True
833 share_creation_retry_number: 2
834 backend_names: GLUSTERFS
835 enable_ip_rules_for_protocols: nfs
836 capability_storage_protocol: NFS
837 enable_protocols: nfs
838 # read-only access rules not supported
839 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300840
silvacarlosse21dbfd2022-06-29 15:46:45 -0300841- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300842 name: manila-tempest-plugin-dummy-no-dhss-rbac
843 parent: manila-tempest-plugin-dummy-no-dhss
844 description: |
845 This job runs the devstack with scope checks enabled,
846 on the Dummy driver with DHSS=False.
847 vars:
848 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
849 devstack_localrc:
850 MANILA_ENFORCE_SCOPE: true
851 devstack_local_conf:
852 test-config:
853 "$TEMPEST_CONFIG":
854 share:
855 default_share_type_name: default
856
857- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300858 name: manila-tempest-plugin-lvm-fips-base
859 parent: manila-tempest-plugin-lvm-base
860 nodeset: devstack-single-node-centos-9-stream
861 description: |
862 Run LVM DHSS false tests for manila project using FIPS.
863 pre-run:
864 - playbooks/enable-fips.yaml
865 vars:
866 nslookup_target: 'opendev.org'
867 devstack_localrc:
868 MANILA_SETUP_IPV6: false
869 NEUTRON_CREATE_INITIAL_NETWORKS: true
870 IP_VERSION: 4
871 configure_swap_size: 4096
872 devstack_local_conf:
873 test-config:
874 "$TEMPEST_CONFIG":
875 validation:
876 ssh_key_type: 'ecdsa'
877 share:
878 run_ipv6_tests: false
879
880- job:
881 name: manila-tempest-plugin-lvm-fips
882 parent: manila-tempest-plugin-lvm-fips-base
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700883 branches:
884 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
885 negate: true
silvacarlosse21dbfd2022-06-29 15:46:45 -0300886
silvacarloss95b3ac32022-06-23 12:39:00 -0300887- project-template:
888 name: manila-tempest-plugin-jobs-using-service-image
889 description: |
890 Runs jobs that will also perform scenario tests in the branches that are
891 newer than Yoga.
892 check:
893 jobs:
894 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700895 - manila-tempest-plugin-lvm-jammy
silvacarloss95b3ac32022-06-23 12:39:00 -0300896 - manila-tempest-plugin-generic-scenario:
897 voting: false
898 - manila-tempest-plugin-generic:
899 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000900 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300901 voting: false
ashrod981bab3432023-06-30 14:50:11 +0000902 - manila-tempest-plugin-multinode-cephfs-nfs-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300903 voting: false
904 - manila-tempest-plugin-zfsonlinux:
905 voting: false
906 gate:
907 jobs:
908 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700909 - manila-tempest-plugin-lvm-jammy