blob: ec06999a64570f1d5d9c0881296bdd4af154f6a8 [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:
Goutham Pacha Ravi82b1e6f2023-04-25 19:49:38 -070041 MYSQL_REDUCE_MEMORY: True
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070042 MANILA_USE_DOWNGRADE_MIGRATIONS: true
43 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
44 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
45 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070046 MANILA_CONFIGURE_DEFAULT_TYPES: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070047 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +000048 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070049 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070050
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070051- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070052 name: manila-tempest-plugin-ipv6-base
53 abstract: true
54 description: |
55 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
56 devstack environment with IPv6 control plane endpoints.
57 parent: devstack-tempest-ipv6
58 timeout: 10800
59 irrelevant-files: *irrelevant-files
60 required-projects: *manila-tempest-required-projects
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -070061 vars: *manila-tempest-base-vars
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070062
63- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070064 name: manila-tempest-plugin-standalone-base
65 abstract: true
66 description: |
67 Base job for running a minimal devstack with tempest based manila jobs.
68 timeout: 3600
69 parent: devstack-minimal
70 irrelevant-files: *irrelevant-files
71 roles:
72 - zuul: opendev.org/openstack/devstack
73 - zuul: opendev.org/openstack/tempest
74 required-projects:
75 - openstack/keystone
76 - openstack/manila
77 - openstack/manila-tempest-plugin
78 - openstack/python-manilaclient
79 - openstack/tempest
80 run: playbooks/manila-tempest-plugin-standalone/run.yaml
81 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
82 vars:
83 tox_envlist: all
84 tempest_test_regex: manila_tempest_tests.tests.api
85 tempest_concurrency: 16
86 tempest_plugins:
87 - manila-tempest-plugin
88 devstack_plugins:
89 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070090 test_results_stage_name: test_results
91 zuul_copy_output:
92 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
93 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
94 '{{ devstack_base_dir }}/tempest/tempest.log': logs
95 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
96 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
97 '{{ stage_dir }}/stackviz': logs
98 extensions_to_txt:
99 conf: true
100 log: true
101 yaml: true
102 yml: true
103 devstack_localrc:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700104 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
105 MANILA_SERVICE_IMAGE_ENABLED: false
106 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000107 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700108 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
109 devstack_services:
110 tls-proxy: true
111 key: true
112 tempest: true
113
114- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300115 name: manila-tempest-plugin-zfsonlinux-base
116 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700117 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
118 parent: manila-tempest-plugin-base
119 vars:
120 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
121 devstack_localrc:
122 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
123 MANILA_ENABLED_BACKENDS: london,paris
124 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
125 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
126 MANILA_SHARE_BACKEND1_NAME: LONDON
127 MANILA_SHARE_BACKEND2_NAME: PARIS
128 MANILA_OPTGROUP_london_driver_handles_share_servers: false
129 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
130 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
131 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
132 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
133 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700134 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
135 devstack_services:
136 mysql: false
137 postgresql: true
138 devstack_local_conf:
139 test-config:
140 $TEMPEST_CONFIG:
141 share:
142 default_share_type_name: default
143 run_driver_assisted_migration_tests: true
144 run_host_assisted_migration_tests: true
145 run_replication_tests: true
146 run_manage_unmanage_snapshot_tests: true
147 run_manage_unmanage_tests: true
148 run_multiple_share_replicas_tests: false
149 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
150 backend_replication_type: readable
151 enable_protocols: nfs
152 capability_storage_protocol: NFS
153 build_timeout: 180
154 enable_ip_rules_for_protocols: nfs
155 multitenancy_enabled: False
156 backend_names: LONDON,PARIS
157 multi_backend: true
158 image_password: manila
lkuchlan192d4082023-09-07 13:44:31 +0300159 dd_input_file: /dev/urandom
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700160
161- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300162 name: manila-tempest-plugin-zfsonlinux
163 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
164 parent: manila-tempest-plugin-zfsonlinux-base
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700165 # https://bugs.launchpad.net/manila/+bug/2087192
166 nodeset: openstack-single-node-jammy
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700167 branches: &ubuntu_jammy_test_image_branches
168 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
169 negate: true
silvacarloss95b3ac32022-06-23 12:39:00 -0300170
171- job:
172 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700173 description: |
174 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
175 environment with IPv6 control plane endpoints.
176 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300177 abstract: true
Carlos Eduardof7928e62024-06-17 15:12:18 -0300178 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
179 # is fixed.
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700180 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700181 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700182 devstack_services: &devstack-with-ovs
183 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
184 br-ex-tcpdump: false
185 br-int-flows: false
186 ovn-controller: false
187 ovn-northd: false
188 ovs-vswitchd: false
189 ovsdb-server: false
190 q-ovn-metadata-agent: false
191 # Neutron services
192 neutron-local-ip-static: true
193 q-agt: true
194 q-dhcp: true
195 q-l3: true
196 q-meta: true
197 q-metering: true
Goutham Pacha Ravi26fe97c2024-05-14 13:21:12 -0700198 openstack-cli-server: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700199 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700200 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
201 Q_AGENT: openvswitch
202 Q_ML2_TENANT_NETWORK_TYPE: vxlan
203 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700204 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
205 MANILA_ENABLED_BACKENDS: london,paris
206 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
207 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
208 MANILA_SHARE_BACKEND1_NAME: LONDON
209 MANILA_SHARE_BACKEND2_NAME: PARIS
210 MANILA_OPTGROUP_london_driver_handles_share_servers: false
211 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
212 SHARE_BACKING_FILE_SIZE: 32000M
213 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
214 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
215 MANILA_SETUP_IPV6: true
216 NEUTRON_CREATE_INITIAL_NETWORKS: false
217 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Carlos Eduardof7928e62024-06-17 15:12:18 -0300218 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
219 # is fixed.
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700220 devstack_local_conf:
221 test-config:
222 $TEMPEST_CONFIG:
223 share:
224 default_share_type_name: default
225 run_ipv6_tests: true
226 run_mount_snapshot_tests: true
227 run_host_assisted_migration_tests: true
228 run_shrink_tests: false
229 run_revert_to_snapshot_tests: true
230 enable_user_rules_for_protocols: cifs
231 enable_ip_rules_for_protocols: nfs
232 multitenancy_enabled: False
233 backend_names: LONDON,PARIS
234 multi_backend: true
235 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700236
237- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300238 name: manila-tempest-plugin-lvm
239 description: |
Goutham Pacha Ravi1ba0a8d2023-10-17 15:53:07 -0700240 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
241 environment with IPv6 control plane endpoints.
242 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300243 parent: manila-tempest-plugin-lvm-base
silvacarloss91ca00a2023-09-04 10:09:21 -0300244 vars:
Goutham Pacha Ravi1ba0a8d2023-10-17 15:53:07 -0700245 # TODO(gouthamr): some tests are disabled due to bugs
246 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
247 # drop these overrides once we address that bug.
248 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*IPv6.*)'
silvacarloss91ca00a2023-09-04 10:09:21 -0300249 devstack_localrc:
250 MANILA_SETUP_IPV6: false
Goutham Pacha Ravi1ba0a8d2023-10-17 15:53:07 -0700251 NEUTRON_CREATE_INITIAL_NETWORKS: true
silvacarloss95b3ac32022-06-23 12:39:00 -0300252
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700253
254# TODO(gmann): As per the 2025.1 testing runtime, we need to run at least
255# one job on jammy. This job can be removed as per the future testing
256# runtime (whenever we start testing Ubuntu 26.04 as default version).
257- job:
258 name: manila-tempest-plugin-lvm-jammy
259 description: This is integrated job testing on Ubuntu jammy(22.04)
260 parent: manila-tempest-plugin-lvm
261 nodeset: openstack-single-node-jammy
Goutham Pacha Ravi147028f2025-04-08 14:05:42 -0700262 branches:
263 - stable/2025.1
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700264
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 Ravic7d8e812025-04-01 12:33:29 -0700392 # TODO (gouthamr): update to squid after
393 # https://bugs.launchpad.net/manila/+bug/2105833
394 CEPH_RELEASE: 'reef'
395 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v18.2'
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700396 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300397 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
398 MANILA_ENABLED_BACKENDS: cephfsnative
399 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700400 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300401 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
402 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
403 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
404 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700405 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
406 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300407 # 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 -0700408 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
409 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300410 devstack_local_conf:
411 test-config:
412 $TEMPEST_CONFIG:
413 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300414 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300415 enable_cephx_rules_for_protocols: cephfs
416 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300417 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300418 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300419 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300420 enable_protocols: cephfs
421 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300422
silvacarloss95b3ac32022-06-23 12:39:00 -0300423- job:
424 name: manila-tempest-plugin-cephfs-native
425 description: Test CephFS Native (DHSS=False)
426 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300427 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300428
429- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000430 name: manila-tempest-plugin-cephfs-native-cephadm
431 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700432 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000433 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700434 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000435 tempest_test_regex: manila_tempest_tests.tests
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700436 # NOTE(gouthamr): Avoiding ceph fuse tests to conserve resources;
437 # we're hoping we'd get sufficient coverage through kernel tests.
438 # test_extend_share: https://bugs.launchpad.net/manila/+bug/2075981
439 tempest_exclude_regex: "\
440 (^manila_tempest_tests.tests.scenario.*ceph_fuse.*)|\
441 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000442 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700443 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000444 CEPHADM_DEPLOY: true
445 CEPHADM_DEV_OSD: true
446 TARGET_DEV_OSD_DIR: /opt/stack
447 CEPH_LOOPBACK_DISK_SIZE: 40G
448 DISABLE_CEPHADM_POST_DEPLOY: True
449 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
450 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
451
452- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300453 name: manila-tempest-plugin-cephfs-nfs-base
454 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300455 description: Test CephFS NFS (DHSS=False)
456 parent: manila-tempest-plugin-base
457 required-projects:
458 - openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300459 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
460 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300461 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500462 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800463 # turning off some tests due to exhaustion of disk space
464 # https://bugs.launchpad.net/manila/+bug/2009083
465 tempest_exclude_regex: "\
466 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
467 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700468 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300469 devstack_plugins:
470 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300471 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
472 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300473 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700474 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
475 Q_AGENT: openvswitch
476 Q_ML2_TENANT_NETWORK_TYPE: vxlan
477 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700478 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300479 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
480 MANILA_ENABLED_BACKENDS: cephfsnfs
481 ENABLED_SHARE_PROTOCOLS: NFS
482 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
483 MANILA_SERVICE_IMAGE_ENABLED: true
484 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
485 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
486 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
487 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
488 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
489 MANILA_CEPH_DRIVER: cephfsnfs
490 MANILA_SETUP_IPV6: true
491 NEUTRON_CREATE_INITIAL_NETWORKS: false
492 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700493 zuul_copy_output:
494 '/var/log/ganesha': logs
495 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300496 devstack_local_conf:
497 test-config:
498 $TEMPEST_CONFIG:
499 share:
500 default_share_type_name: default
501 run_ipv6_tests: true
502 run_share_group_tests: false
503 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300504 backend_names: CEPHFSNFS
505 enable_protocols: nfs
506 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300507 image_password: manila
508
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700509- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300510 name: manila-tempest-plugin-cephfs-nfs
511 description: Test CephFS NFS (DHSS=False)
512 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300513 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700514 vars:
ashrod98b615b262024-06-26 15:02:07 -0400515 tempest_concurrency: 1
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700516 # TODO(gouthamr): some tests are disabled due to bugs
517 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700518 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
519 tempest_exclude_regex: "\
520 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
521 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Goutham Pacha Ravia0420242024-07-25 17:25:11 -0700522 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700523 devstack_localrc:
Goutham Pacha Ravi711d53a2024-04-07 22:05:28 -0700524 CEPHADM_DEPLOY: True
525 CEPHADM_DEV_OSD: True
526 CEPH_LOOPBACK_DISK_SIZE: 40GB
527 CEPHADM_DEPLOY_NFS: False
528 TARGET_DEV_OSD_DIR: /opt/stack
529 ENABLED_SHARE_PROTOCOLS: NFS
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700530 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
Ashley Rodriguezb50ac9f2024-05-29 15:06:47 -0400531 CEPH_RELEASE: "reef"
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700532 MANILA_SETUP_IPV6: false
533 NEUTRON_CREATE_INITIAL_NETWORKS: true
534 IP_VERSION: 4
silvacarloss95b3ac32022-06-23 12:39:00 -0300535
536- job:
ashrod981bab3432023-06-30 14:50:11 +0000537 name: manila-tempest-plugin-multinode-base
538 abstract: true
539 description: |
540 Base job for testing multinode with Manila. Manila is enabled in
541 the controller node; and we have an additional compute node.
542 parent: tempest-multinode-full-py3
543 timeout: 10800
544 irrelevant-files: *irrelevant-files
545 required-projects: *manila-tempest-required-projects
546 vars:
547 tox_envlist: all
548 tempest_test_regex: manila_tempest_tests
549 tempest_plugins:
550 - manila-tempest-plugin
551 tempest_concurrency: 8
552 devstack_services:
553 cinder: false
554 c-bak: false
555 s-account: false
556 s-container: false
557 s-object: false
558 s-proxy: false
559 horizon: false
560 tls-proxy: true
561 devstack_localrc:
562 MANILA_USE_DOWNGRADE_MIGRATIONS: false
563 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
564 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
565 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
566 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
567 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
568 group-vars:
569 tempest:
570 devstack_plugins:
571 manila: https://opendev.org/openstack/manila
572 subnode:
573 devstack_services:
574 cinder: false
575 c-bak: false
576
577- job:
578 name: manila-tempest-plugin-multinode-cephfs-nfs-cephadm
579 description: Test CephFS NFS (DHSS=False) in a Multinode devstack env
580 parent: manila-tempest-plugin-multinode-base
581 required-projects:
582 - openstack/devstack-plugin-ceph
583 vars:
584 configure_swap_size: 8192
585 tempest_concurrency: 2
586 # TODO(gouthamr): some tests are disabled due to bugs
587 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700588 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
589 tempest_exclude_regex: "\
590 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
591 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
ashrod981bab3432023-06-30 14:50:11 +0000592 devstack_localrc:
593 MYSQL_REDUCE_MEMORY: True
594 CEPHADM_DEPLOY: True
ashrod98bad52722025-02-26 17:10:01 -0500595 ENABLE_INGRESS: False
ashrod981bab3432023-06-30 14:50:11 +0000596 CEPHADM_DEV_OSD: true
597 CEPH_LOOPBACK_DISK_SIZE: 40GB
598 ENABLED_SHARE_PROTOCOLS: NFS
599 ENABLE_CEPH_MANILA: True
600 ENABLE_CEPH_NOVA: False
601 MANILA_CEPH_DRIVER: cephfsnfs
602 MANILA_CONFIGURE_DEFAULT_TYPES: true
603 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
604 MANILA_ENABLED_BACKENDS: cephfsnfs
605 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
606 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
607 MANILA_OPTGROUP_cephfsnfs_cephfs_nfs_cluster_id: cephfs
608 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
609 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
610 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
611 MANILA_SERVICE_IMAGE_ENABLED: True
612 MANILA_SETUP_IPV6: false
613 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
614 TARGET_DEV_OSD_DIR: /opt/stack
615 devstack_local_conf:
616 test-config:
617 $TEMPEST_CONFIG:
618 share:
619 backend_names: cephfsnfs
620 capability_storage_protocol: NFS
621 default_share_type_name: default
622 enable_protocols: nfs
623 image_password: manila
624 multitenancy_enabled: false
625 run_share_group_tests: false
626 group-vars:
627 subnode:
628 devstack_plugins:
629 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
630 devstack_localrc:
631 REMOTE_CEPH: True
Goutham Pacha Ravi94d51642024-09-05 09:36:55 -0700632 ENABLE_CEPH_NOVA: False
ashrod981bab3432023-06-30 14:50:11 +0000633 tempest:
634 devstack_plugins:
635 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
636
637- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700638 name: manila-tempest-plugin-dummy-no-dhss
639 description: Test the Dummy driver with DHSS=False
640 parent: manila-tempest-plugin-standalone-base
641 vars:
642 devstack_localrc:
643 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000644 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700645 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
646 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000647 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
648 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
649 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
650 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
651 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
652 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700653 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
654 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
655 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
656 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
657 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
658 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
659 MANILA_OPTGROUP_beta_share_backend_name: BETA
660 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
661 # With below opts we'll enable a DHSS=True back-end solely for
662 # for the migration test case "test_migration_opposite_driver_modes"
663 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
664 MANILA_OPTGROUP_gamma_network_config_group: membernet
665 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
666 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
667 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
668 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
669 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
670 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
671 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
672 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
673 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
674 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
Kiran Pawaredd82c72022-05-07 14:48:36 +0000675 MANILA_CREATE_BACKUP_CONTINUE_TASK_INTERVAL: 30
676 MANILA_RESTORE_BACKUP_CONTINUE_TASK_INTERVAL: 30
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700677 devstack_local_conf:
678 test-config:
679 "$TEMPEST_CONFIG":
680 share:
681 backend_names: ALPHA,BETA
682 backend_replication_type: readable
683 build_timeout: 180
684 capability_sg_consistent_snapshot_support: pool
685 enable_ip_rules_for_protocols: nfs
686 enable_ro_access_level_for_protocols: nfs,cifs
687 enable_user_rules_for_protocols: cifs
688 multi_backend: true
689 multitenancy_enabled: false
Kiran Pawaredd82c72022-05-07 14:48:36 +0000690 run_driver_assisted_backup_tests: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700691 run_driver_assisted_migration_tests: true
692 run_manage_unmanage_snapshot_tests: true
693 run_manage_unmanage_tests: true
694 run_migration_with_preserve_snapshots_tests: true
695 run_mount_snapshot_tests: true
696 run_replication_tests: true
697 run_revert_to_snapshot_tests: true
698 # for migration test case "test_migration_opposite_driver_modes"
699 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300700
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700701- job:
702 name: manila-tempest-plugin-dummy-dhss
703 description: Test the Dummy driver with DHSS=True
704 parent: manila-tempest-plugin-standalone-base
705 vars:
706 devstack_localrc:
707 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000708 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700709 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
710 MANILA_ENABLED_BACKENDS: alpha,beta
711 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000712 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
713 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
714 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
715 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
716 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
717 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700718 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
719 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
720 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
721 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
722 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
723 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
724 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
725 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
726 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
727 MANILA_OPTGROUP_alpha_network_config_group: membernet
728 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
729 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
730 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
731 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
732 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
733 MANILA_OPTGROUP_beta_network_config_group: membernet
734 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
735 MANILA_OPTGROUP_beta_share_backend_name: BETA
736 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
737 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
738 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
739 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
740 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
741 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
742 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
743 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
744 # With below opts we'll enable a DHSS=False back-end solely for
745 # for the migration test case "test_migration_opposite_driver_modes"
746 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
747 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
748 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
749 devstack_local_conf:
750 test-config:
751 "$TEMPEST_CONFIG":
752 share:
753 backend_names: ALPHA,BETA
754 backend_replication_type: readable
755 build_timeout: 180
756 capability_sg_consistent_snapshot_support: pool
757 create_networks_when_multitenancy_enabled: false
758 enable_ip_rules_for_protocols: nfs
759 enable_ro_access_level_for_protocols: nfs,cifs
760 enable_user_rules_for_protocols: cifs
761 multi_backend: true
762 multitenancy_enabled: true
763 run_driver_assisted_migration_tests: true
764 run_manage_unmanage_snapshot_tests: true
765 run_manage_unmanage_tests: true
766 run_migration_with_preserve_snapshots_tests: true
767 run_mount_snapshot_tests: true
768 run_replication_tests: true
769 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000770 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000771 run_share_server_multiple_subnet_tests: true
772 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700773
774- job:
775 name: manila-tempest-plugin-glusterfs-native
776 description: |
777 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
778 parent: manila-tempest-plugin-standalone-base
779 required-projects:
780 - x/devstack-plugin-glusterfs
781 vars:
782 tempest_concurrency: 8
783 devstack_plugins:
784 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
785 devstack_localrc:
786 CONFIGURE_GLUSTERFS_MANILA: true
787 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
788 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
789 devstack_local_conf:
790 test-config:
791 $TEMPEST_CONFIG:
792 share:
793 run_share_group_tests: false
794 run_snapshot_tests: false
795 multitenancy_enabled: false
796 run_shrink_tests: false
797 run_extend_tests: false
798 multi_backend: false
799 suppress_errors_in_cleanup: True
800 share_creation_retry_number: 2
801 backend_names: GLUSTERNATIVE
802 enable_cert_rules_for_protocols: glusterfs
803 capability_storage_protocol: glusterfs
804 enable_protocols: glusterfs
805
806- job:
807 name: manila-tempest-plugin-glusterfs-nfs
808 description: |
809 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
810 parent: manila-tempest-plugin-standalone-base
811 required-projects:
812 - x/devstack-plugin-glusterfs
813 vars:
814 tempest_concurrency: 8
815 devstack_plugins:
816 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
817 devstack_localrc:
818 CONFIGURE_GLUSTERFS_MANILA: true
819 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
820 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
821 devstack_local_conf:
822 test-config:
823 $TEMPEST_CONFIG:
824 share:
825 run_share_group_tests: false
826 run_snapshot_tests: false
827 multitenancy_enabled: False
828 run_shrink_tests: true
829 multi_backend: false
830 suppress_errors_in_cleanup: True
831 share_creation_retry_number: 2
832 backend_names: GLUSTERFS
833 enable_ip_rules_for_protocols: nfs
834 capability_storage_protocol: NFS
835 enable_protocols: nfs
836 # read-only access rules not supported
837 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300838
silvacarlosse21dbfd2022-06-29 15:46:45 -0300839- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300840 name: manila-tempest-plugin-dummy-no-dhss-rbac
841 parent: manila-tempest-plugin-dummy-no-dhss
842 description: |
843 This job runs the devstack with scope checks enabled,
844 on the Dummy driver with DHSS=False.
845 vars:
846 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
847 devstack_localrc:
848 MANILA_ENFORCE_SCOPE: true
849 devstack_local_conf:
850 test-config:
851 "$TEMPEST_CONFIG":
852 share:
853 default_share_type_name: default
854
855- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300856 name: manila-tempest-plugin-lvm-fips-base
857 parent: manila-tempest-plugin-lvm-base
858 nodeset: devstack-single-node-centos-9-stream
859 description: |
860 Run LVM DHSS false tests for manila project using FIPS.
861 pre-run:
862 - playbooks/enable-fips.yaml
863 vars:
864 nslookup_target: 'opendev.org'
865 devstack_localrc:
866 MANILA_SETUP_IPV6: false
867 NEUTRON_CREATE_INITIAL_NETWORKS: true
868 IP_VERSION: 4
869 configure_swap_size: 4096
870 devstack_local_conf:
871 test-config:
872 "$TEMPEST_CONFIG":
873 validation:
874 ssh_key_type: 'ecdsa'
875 share:
876 run_ipv6_tests: false
877
878- job:
879 name: manila-tempest-plugin-lvm-fips
880 parent: manila-tempest-plugin-lvm-fips-base
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700881 branches:
882 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
883 negate: true
silvacarlosse21dbfd2022-06-29 15:46:45 -0300884
Eric Harney432f6b12025-07-23 17:14:28 -0400885- job:
886 name: manila-tempest-plugin-lvm-fips-py311
887 parent: manila-tempest-plugin-lvm-fips
888 vars:
889 devstack_localrc:
890 PYTHON3_VERSION: 3.11
891
silvacarloss95b3ac32022-06-23 12:39:00 -0300892- project-template:
893 name: manila-tempest-plugin-jobs-using-service-image
894 description: |
895 Runs jobs that will also perform scenario tests in the branches that are
896 newer than Yoga.
897 check:
898 jobs:
899 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700900 - manila-tempest-plugin-lvm-jammy
silvacarloss95b3ac32022-06-23 12:39:00 -0300901 - manila-tempest-plugin-generic-scenario:
902 voting: false
903 - manila-tempest-plugin-generic:
904 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000905 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300906 voting: false
ashrod981bab3432023-06-30 14:50:11 +0000907 - manila-tempest-plugin-multinode-cephfs-nfs-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300908 voting: false
909 - manila-tempest-plugin-zfsonlinux:
910 voting: false
911 gate:
912 jobs:
913 - manila-tempest-plugin-lvm
Ghanshyam Mann32da8e22024-10-21 19:35:47 -0700914 - manila-tempest-plugin-lvm-jammy