blob: 208bec3e9eac081396a799b53bb84a6cc491d4f6 [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
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
253- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700254 name: manila-tempest-plugin-container
255 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700256 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700257 and postgresql db. API only, in a minimal devstack
258 parent: manila-tempest-plugin-base
259 vars:
260 tempest_test_regex: manila_tempest_tests.tests.api
261 devstack_localrc:
262 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
263 MANILA_SERVICE_IMAGE_ENABLED: false
264 MANILA_ENABLED_BACKENDS: london,paris
265 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
266 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
267 MANILA_SHARE_BACKEND1_NAME: LONDON
268 MANILA_SHARE_BACKEND2_NAME: PARIS
269 MANILA_OPTGROUP_london_driver_handles_share_servers: true
270 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
271 SHARE_BACKING_FILE_SIZE: 64000M
272 MANILA_CONFIGURE_DEFAULT_TYPES: false
273 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700274 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700275 devstack_services:
276 mysql: false
277 postgresql: true
278 devstack_local_conf:
279 test-config:
280 $TEMPEST_CONFIG:
281 share:
282 enable_ip_rules_for_protocols: ""
283 run_share_group_tests: false
284 run_manage_unmanage_tests: true
285 run_snapshot_tests: false
286 run_shrink_tests: false
287 enable_user_rules_for_protocols: cifs
288 enable_protocols: cifs
289 capability_storage_protocol: CIFS
290 multitenancy_enabled: true
291 backend_names: LONDON,PARIS
292 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000293 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000294 run_share_server_multiple_subnet_tests: true
295 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700296
297- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300298 name: manila-tempest-plugin-generic-base
299 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700300 description: |
301 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
302 parent: manila-tempest-plugin-base
303 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300304 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700305 # The generic driver uses nova VMs as share servers; running with a
306 # high concurrency could starve the driver of RAM/Disk/CPUs to
307 # function properly in a small single node devstack VM.
308 tempest_concurrency: 2
309 devstack_localrc:
310 VOLUME_BACKING_FILE_SIZE: 24G
311 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
312 MANILA_ENABLED_BACKENDS: london,paris
313 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
314 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
315 MANILA_SHARE_BACKEND1_NAME: LONDON
316 MANILA_SHARE_BACKEND2_NAME: PARIS
317 MANILA_OPTGROUP_london_driver_handles_share_servers: true
318 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
319 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
320 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700321 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi838733e2023-08-11 14:56:13 -0700322 GLANCE_ENFORCE_SCOPE: false
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700323 devstack_services:
324 cinder: true
325 devstack_local_conf:
326 test-config:
327 $TEMPEST_CONFIG:
328 share:
329 default_share_type_name: default
330 run_share_group_tests: false
331 multitenancy_enabled: true
332 suppress_errors_in_cleanup: true
333 share_creation_retry_number: 2
334 backend_names: LONDON,PARIS
335 multi_backend: true
336 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300337
338- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300339 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300340 description: |
341 Test the scenario test cases on the generic driver multibackend
342 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300343 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300344 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300345
346- job:
347 name: manila-tempest-plugin-generic-scenario-base
348 abstract: true
349 description: |
350 Test the scenario test cases on the generic driver multibackend
351 (DHSS=True) with NFS and CIFS
352 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300353 vars:
354 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
355 # The generic driver uses nova VMs as share servers; running with a
356 # high concurrency could starve the driver of RAM/Disk/CPUs to
357 # function properly in a small single node devstack VM.
358 tempest_concurrency: 1
359
360- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300361 name: manila-tempest-plugin-generic-scenario
362 description: |
363 Test the scenario test cases on the generic driver multibackend
364 (DHSS=True) with NFS and CIFS
365 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300366 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300367
368- job:
369 name: manila-tempest-plugin-cephfs-native-base
370 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300371 description: Test CephFS Native (DHSS=False)
372 parent: manila-tempest-plugin-base
373 required-projects:
374 - openstack/devstack-plugin-ceph
375 vars:
376 devstack_plugins:
377 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300378 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300379 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700380 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300381 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
382 MANILA_ENABLED_BACKENDS: cephfsnative
383 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700384 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300385 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
386 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
387 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
388 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700389 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
390 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300391 # 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 -0700392 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
393 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300394 devstack_local_conf:
395 test-config:
396 $TEMPEST_CONFIG:
397 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300398 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300399 enable_cephx_rules_for_protocols: cephfs
400 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300401 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300402 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300403 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300404 enable_protocols: cephfs
405 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300406
silvacarloss95b3ac32022-06-23 12:39:00 -0300407- job:
408 name: manila-tempest-plugin-cephfs-native
409 description: Test CephFS Native (DHSS=False)
410 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300411 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300412
413- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000414 name: manila-tempest-plugin-cephfs-native-cephadm
415 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700416 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000417 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700418 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000419 tempest_test_regex: manila_tempest_tests.tests
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700420 # NOTE(gouthamr): Avoiding ceph fuse tests to conserve resources;
421 # we're hoping we'd get sufficient coverage through kernel tests.
422 # test_extend_share: https://bugs.launchpad.net/manila/+bug/2075981
423 tempest_exclude_regex: "\
424 (^manila_tempest_tests.tests.scenario.*ceph_fuse.*)|\
425 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000426 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700427 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000428 CEPHADM_DEPLOY: true
429 CEPHADM_DEV_OSD: true
430 TARGET_DEV_OSD_DIR: /opt/stack
431 CEPH_LOOPBACK_DISK_SIZE: 40G
432 DISABLE_CEPHADM_POST_DEPLOY: True
433 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
434 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
435
436- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300437 name: manila-tempest-plugin-cephfs-nfs-base
438 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300439 description: Test CephFS NFS (DHSS=False)
440 parent: manila-tempest-plugin-base
441 required-projects:
442 - openstack/devstack-plugin-ceph
Carlos Eduardof7928e62024-06-17 15:12:18 -0300443 # TODO(carloss): enable neutron-dynamic-routing setup when LP #1998489
444 # is fixed.
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300445 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500446 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800447 # turning off some tests due to exhaustion of disk space
448 # https://bugs.launchpad.net/manila/+bug/2009083
449 tempest_exclude_regex: "\
450 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
451 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700452 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300453 devstack_plugins:
454 devstack-plugin-ceph: https://opendev.org/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 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700458 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
459 Q_AGENT: openvswitch
460 Q_ML2_TENANT_NETWORK_TYPE: vxlan
461 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700462 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300463 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
464 MANILA_ENABLED_BACKENDS: cephfsnfs
465 ENABLED_SHARE_PROTOCOLS: NFS
466 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
467 MANILA_SERVICE_IMAGE_ENABLED: true
468 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
469 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
470 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
471 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
472 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
473 MANILA_CEPH_DRIVER: cephfsnfs
474 MANILA_SETUP_IPV6: true
475 NEUTRON_CREATE_INITIAL_NETWORKS: false
476 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700477 zuul_copy_output:
478 '/var/log/ganesha': logs
479 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300480 devstack_local_conf:
481 test-config:
482 $TEMPEST_CONFIG:
483 share:
484 default_share_type_name: default
485 run_ipv6_tests: true
486 run_share_group_tests: false
487 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300488 backend_names: CEPHFSNFS
489 enable_protocols: nfs
490 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300491 image_password: manila
492
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700493- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300494 name: manila-tempest-plugin-cephfs-nfs
495 description: Test CephFS NFS (DHSS=False)
496 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300497 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700498 vars:
ashrod98b615b262024-06-26 15:02:07 -0400499 tempest_concurrency: 1
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700500 # TODO(gouthamr): some tests are disabled due to bugs
501 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700502 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
503 tempest_exclude_regex: "\
504 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
505 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
Goutham Pacha Ravia0420242024-07-25 17:25:11 -0700506 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700507 devstack_localrc:
Goutham Pacha Ravi711d53a2024-04-07 22:05:28 -0700508 CEPHADM_DEPLOY: True
509 CEPHADM_DEV_OSD: True
510 CEPH_LOOPBACK_DISK_SIZE: 40GB
511 CEPHADM_DEPLOY_NFS: False
512 TARGET_DEV_OSD_DIR: /opt/stack
513 ENABLED_SHARE_PROTOCOLS: NFS
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700514 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
Ashley Rodriguezb50ac9f2024-05-29 15:06:47 -0400515 CEPH_RELEASE: "reef"
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700516 MANILA_SETUP_IPV6: false
517 NEUTRON_CREATE_INITIAL_NETWORKS: true
518 IP_VERSION: 4
ashrod980f6b5222024-09-16 18:07:22 +0000519 CEPH_INGRESS_IP: "{{hostvars['controller'].ansible_default_ipv6.address}}"
silvacarloss95b3ac32022-06-23 12:39:00 -0300520
521- job:
ashrod981bab3432023-06-30 14:50:11 +0000522 name: manila-tempest-plugin-multinode-base
523 abstract: true
524 description: |
525 Base job for testing multinode with Manila. Manila is enabled in
526 the controller node; and we have an additional compute node.
527 parent: tempest-multinode-full-py3
528 timeout: 10800
529 irrelevant-files: *irrelevant-files
530 required-projects: *manila-tempest-required-projects
531 vars:
532 tox_envlist: all
533 tempest_test_regex: manila_tempest_tests
534 tempest_plugins:
535 - manila-tempest-plugin
536 tempest_concurrency: 8
537 devstack_services:
538 cinder: false
539 c-bak: false
540 s-account: false
541 s-container: false
542 s-object: false
543 s-proxy: false
544 horizon: false
545 tls-proxy: true
546 devstack_localrc:
547 MANILA_USE_DOWNGRADE_MIGRATIONS: false
548 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
549 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
550 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
551 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
552 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
553 group-vars:
554 tempest:
555 devstack_plugins:
556 manila: https://opendev.org/openstack/manila
557 subnode:
558 devstack_services:
559 cinder: false
560 c-bak: false
561
562- job:
563 name: manila-tempest-plugin-multinode-cephfs-nfs-cephadm
564 description: Test CephFS NFS (DHSS=False) in a Multinode devstack env
565 parent: manila-tempest-plugin-multinode-base
566 required-projects:
567 - openstack/devstack-plugin-ceph
568 vars:
569 configure_swap_size: 8192
570 tempest_concurrency: 2
571 # TODO(gouthamr): some tests are disabled due to bugs
572 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
Goutham Pacha Ravib758fb42024-08-02 14:52:13 -0700573 # test_share_extend: https://bugs.launchpad.net/manila/+bug/2075981
574 tempest_exclude_regex: "\
575 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
576 (^manila_tempest_tests.tests.scenario.test_share_extend.*)"
ashrod981bab3432023-06-30 14:50:11 +0000577 devstack_localrc:
578 MYSQL_REDUCE_MEMORY: True
579 CEPHADM_DEPLOY: True
580 CEPHADM_DEV_OSD: true
581 CEPH_LOOPBACK_DISK_SIZE: 40GB
582 ENABLED_SHARE_PROTOCOLS: NFS
583 ENABLE_CEPH_MANILA: True
584 ENABLE_CEPH_NOVA: False
585 MANILA_CEPH_DRIVER: cephfsnfs
586 MANILA_CONFIGURE_DEFAULT_TYPES: true
587 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
588 MANILA_ENABLED_BACKENDS: cephfsnfs
589 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
590 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
591 MANILA_OPTGROUP_cephfsnfs_cephfs_nfs_cluster_id: cephfs
592 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
593 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
594 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
595 MANILA_SERVICE_IMAGE_ENABLED: True
596 MANILA_SETUP_IPV6: false
597 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
598 TARGET_DEV_OSD_DIR: /opt/stack
ashrod98a04b5f62024-07-24 10:09:13 -0400599 CEPH_INGRESS_IP: "{{hostvars['controller'].ansible_default_ipv6.address}}"
ashrod981bab3432023-06-30 14:50:11 +0000600 devstack_local_conf:
601 test-config:
602 $TEMPEST_CONFIG:
603 share:
604 backend_names: cephfsnfs
605 capability_storage_protocol: NFS
606 default_share_type_name: default
607 enable_protocols: nfs
608 image_password: manila
609 multitenancy_enabled: false
610 run_share_group_tests: false
611 group-vars:
612 subnode:
613 devstack_plugins:
614 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
615 devstack_localrc:
616 REMOTE_CEPH: True
Goutham Pacha Ravi94d51642024-09-05 09:36:55 -0700617 ENABLE_CEPH_NOVA: False
ashrod981bab3432023-06-30 14:50:11 +0000618 tempest:
619 devstack_plugins:
620 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
621
622- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700623 name: manila-tempest-plugin-dummy-no-dhss
624 description: Test the Dummy driver with DHSS=False
625 parent: manila-tempest-plugin-standalone-base
626 vars:
627 devstack_localrc:
628 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000629 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700630 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
631 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000632 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
633 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
634 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
635 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
636 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
637 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700638 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
639 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
640 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
641 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
642 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
643 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
644 MANILA_OPTGROUP_beta_share_backend_name: BETA
645 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
646 # With below opts we'll enable a DHSS=True back-end solely for
647 # for the migration test case "test_migration_opposite_driver_modes"
648 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
649 MANILA_OPTGROUP_gamma_network_config_group: membernet
650 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
651 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
652 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
653 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
654 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
655 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
656 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
657 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
658 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
659 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
Kiran Pawaredd82c72022-05-07 14:48:36 +0000660 MANILA_CREATE_BACKUP_CONTINUE_TASK_INTERVAL: 30
661 MANILA_RESTORE_BACKUP_CONTINUE_TASK_INTERVAL: 30
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700662 devstack_local_conf:
663 test-config:
664 "$TEMPEST_CONFIG":
665 share:
666 backend_names: ALPHA,BETA
667 backend_replication_type: readable
668 build_timeout: 180
669 capability_sg_consistent_snapshot_support: pool
670 enable_ip_rules_for_protocols: nfs
671 enable_ro_access_level_for_protocols: nfs,cifs
672 enable_user_rules_for_protocols: cifs
673 multi_backend: true
674 multitenancy_enabled: false
Kiran Pawaredd82c72022-05-07 14:48:36 +0000675 run_driver_assisted_backup_tests: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700676 run_driver_assisted_migration_tests: true
677 run_manage_unmanage_snapshot_tests: true
678 run_manage_unmanage_tests: true
679 run_migration_with_preserve_snapshots_tests: true
680 run_mount_snapshot_tests: true
681 run_replication_tests: true
682 run_revert_to_snapshot_tests: true
683 # for migration test case "test_migration_opposite_driver_modes"
684 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300685
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700686- job:
687 name: manila-tempest-plugin-dummy-dhss
688 description: Test the Dummy driver with DHSS=True
689 parent: manila-tempest-plugin-standalone-base
690 vars:
691 devstack_localrc:
692 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000693 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet,netapp_active_iq
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700694 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
695 MANILA_ENABLED_BACKENDS: alpha,beta
696 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
Thiago Alvoravel5b3045c2023-08-18 14:48:24 +0000697 MANILA_OPTGROUP_DEFAULT_scheduler_default_weighers: NetAppAIQWeigher,CapacityWeigher,GoodnessWeigher,HostAffinityWeigher,PoolWeigher
698 MANILA_OPTGROUP_netapp_active_iq_aiq_transport_type: https
699 MANILA_OPTGROUP_netapp_active_iq_aiq_ssl_verify: False
700 MANILA_OPTGROUP_netapp_active_iq_aiq_username: admin
701 MANILA_OPTGROUP_netapp_active_iq_aiq_password: 123
702 MANILA_OPTGROUP_netapp_active_iq_aiq_hostname: localhost
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700703 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
704 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
705 MANILA_OPTGROUP_adminnet_standalone_network_plugin_allowed_ip_ranges: 11.0.0.10-11.0.0.19,11.0.0.30-11.0.0.39,11.0.0.50-11.0.0.199
706 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
707 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
708 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
709 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
710 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
711 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
712 MANILA_OPTGROUP_alpha_network_config_group: membernet
713 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
714 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
715 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
716 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
717 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
718 MANILA_OPTGROUP_beta_network_config_group: membernet
719 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
720 MANILA_OPTGROUP_beta_share_backend_name: BETA
721 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
722 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
723 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
724 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
725 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
726 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
727 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
728 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
729 # With below opts we'll enable a DHSS=False back-end solely for
730 # for the migration test case "test_migration_opposite_driver_modes"
731 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
732 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
733 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
734 devstack_local_conf:
735 test-config:
736 "$TEMPEST_CONFIG":
737 share:
738 backend_names: ALPHA,BETA
739 backend_replication_type: readable
740 build_timeout: 180
741 capability_sg_consistent_snapshot_support: pool
742 create_networks_when_multitenancy_enabled: false
743 enable_ip_rules_for_protocols: nfs
744 enable_ro_access_level_for_protocols: nfs,cifs
745 enable_user_rules_for_protocols: cifs
746 multi_backend: true
747 multitenancy_enabled: true
748 run_driver_assisted_migration_tests: true
749 run_manage_unmanage_snapshot_tests: true
750 run_manage_unmanage_tests: true
751 run_migration_with_preserve_snapshots_tests: true
752 run_mount_snapshot_tests: true
753 run_replication_tests: true
754 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000755 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000756 run_share_server_multiple_subnet_tests: true
757 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700758
759- job:
760 name: manila-tempest-plugin-glusterfs-native
761 description: |
762 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
763 parent: manila-tempest-plugin-standalone-base
764 required-projects:
765 - x/devstack-plugin-glusterfs
766 vars:
767 tempest_concurrency: 8
768 devstack_plugins:
769 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
770 devstack_localrc:
771 CONFIGURE_GLUSTERFS_MANILA: true
772 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
773 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
774 devstack_local_conf:
775 test-config:
776 $TEMPEST_CONFIG:
777 share:
778 run_share_group_tests: false
779 run_snapshot_tests: false
780 multitenancy_enabled: false
781 run_shrink_tests: false
782 run_extend_tests: false
783 multi_backend: false
784 suppress_errors_in_cleanup: True
785 share_creation_retry_number: 2
786 backend_names: GLUSTERNATIVE
787 enable_cert_rules_for_protocols: glusterfs
788 capability_storage_protocol: glusterfs
789 enable_protocols: glusterfs
790
791- job:
792 name: manila-tempest-plugin-glusterfs-nfs
793 description: |
794 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
795 parent: manila-tempest-plugin-standalone-base
796 required-projects:
797 - x/devstack-plugin-glusterfs
798 vars:
799 tempest_concurrency: 8
800 devstack_plugins:
801 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
802 devstack_localrc:
803 CONFIGURE_GLUSTERFS_MANILA: true
804 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
805 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
806 devstack_local_conf:
807 test-config:
808 $TEMPEST_CONFIG:
809 share:
810 run_share_group_tests: false
811 run_snapshot_tests: false
812 multitenancy_enabled: False
813 run_shrink_tests: true
814 multi_backend: false
815 suppress_errors_in_cleanup: True
816 share_creation_retry_number: 2
817 backend_names: GLUSTERFS
818 enable_ip_rules_for_protocols: nfs
819 capability_storage_protocol: NFS
820 enable_protocols: nfs
821 # read-only access rules not supported
822 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300823
silvacarlosse21dbfd2022-06-29 15:46:45 -0300824- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300825 name: manila-tempest-plugin-dummy-no-dhss-rbac
826 parent: manila-tempest-plugin-dummy-no-dhss
827 description: |
828 This job runs the devstack with scope checks enabled,
829 on the Dummy driver with DHSS=False.
830 vars:
831 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
832 devstack_localrc:
833 MANILA_ENFORCE_SCOPE: true
834 devstack_local_conf:
835 test-config:
836 "$TEMPEST_CONFIG":
837 share:
838 default_share_type_name: default
839
840- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300841 name: manila-tempest-plugin-lvm-fips-base
842 parent: manila-tempest-plugin-lvm-base
843 nodeset: devstack-single-node-centos-9-stream
844 description: |
845 Run LVM DHSS false tests for manila project using FIPS.
846 pre-run:
847 - playbooks/enable-fips.yaml
848 vars:
849 nslookup_target: 'opendev.org'
850 devstack_localrc:
851 MANILA_SETUP_IPV6: false
852 NEUTRON_CREATE_INITIAL_NETWORKS: true
853 IP_VERSION: 4
854 configure_swap_size: 4096
855 devstack_local_conf:
856 test-config:
857 "$TEMPEST_CONFIG":
858 validation:
859 ssh_key_type: 'ecdsa'
860 share:
861 run_ipv6_tests: false
862
863- job:
864 name: manila-tempest-plugin-lvm-fips
865 parent: manila-tempest-plugin-lvm-fips-base
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700866 branches:
867 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
868 negate: true
silvacarlosse21dbfd2022-06-29 15:46:45 -0300869
silvacarloss95b3ac32022-06-23 12:39:00 -0300870- project-template:
871 name: manila-tempest-plugin-jobs-using-service-image
872 description: |
873 Runs jobs that will also perform scenario tests in the branches that are
874 newer than Yoga.
875 check:
876 jobs:
877 - manila-tempest-plugin-lvm
878 - manila-tempest-plugin-generic-scenario:
879 voting: false
880 - manila-tempest-plugin-generic:
881 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000882 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300883 voting: false
ashrod981bab3432023-06-30 14:50:11 +0000884 - manila-tempest-plugin-multinode-cephfs-nfs-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300885 voting: false
886 - manila-tempest-plugin-zfsonlinux:
887 voting: false
888 gate:
889 jobs:
890 - manila-tempest-plugin-lvm