blob: 92ec2d832bbb5ac14817095abcabb098669707eb [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/.*$
19 - ^releasenotes/.*$
20 - ^setup.cfg$
21 - ^tools/.*$
22 - ^tox.ini$
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070023 vars: &manila-tempest-base-vars
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070024 tox_envlist: all
25 tempest_test_regex: manila_tempest_tests
26 tempest_concurrency: 8
27 tempest_plugins:
28 - manila-tempest-plugin
29 devstack_plugins:
30 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070031 devstack_services:
32 cinder: false
33 s-account: false
34 s-container: false
35 s-object: false
36 s-proxy: false
37 horizon: false
38 tls-proxy: true
39 devstack_localrc:
40 USE_PYTHON3: true
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:
104 USE_PYTHON3: true
105 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
106 MANILA_SERVICE_IMAGE_ENABLED: false
107 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000108 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700109 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
110 devstack_services:
111 tls-proxy: true
112 key: true
113 tempest: true
114
115- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300116 name: manila-tempest-plugin-zfsonlinux-base
117 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700118 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
119 parent: manila-tempest-plugin-base
120 vars:
121 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
122 devstack_localrc:
123 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
124 MANILA_ENABLED_BACKENDS: london,paris
125 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
126 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
127 MANILA_SHARE_BACKEND1_NAME: LONDON
128 MANILA_SHARE_BACKEND2_NAME: PARIS
129 MANILA_OPTGROUP_london_driver_handles_share_servers: false
130 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
131 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
132 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
133 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
134 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700135 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
136 devstack_services:
137 mysql: false
138 postgresql: true
139 devstack_local_conf:
140 test-config:
141 $TEMPEST_CONFIG:
142 share:
143 default_share_type_name: default
144 run_driver_assisted_migration_tests: true
145 run_host_assisted_migration_tests: true
146 run_replication_tests: true
147 run_manage_unmanage_snapshot_tests: true
148 run_manage_unmanage_tests: true
149 run_multiple_share_replicas_tests: false
150 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
151 backend_replication_type: readable
152 enable_protocols: nfs
153 capability_storage_protocol: NFS
154 build_timeout: 180
155 enable_ip_rules_for_protocols: nfs
156 multitenancy_enabled: False
157 backend_names: LONDON,PARIS
158 multi_backend: true
159 image_password: manila
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
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700165 branches: &ubuntu_jammy_test_image_branches
166 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
167 negate: true
silvacarloss95b3ac32022-06-23 12:39:00 -0300168
169- job:
170 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700171 description: |
172 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
173 environment with IPv6 control plane endpoints.
174 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300175 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700176 required-projects:
177 - openstack/neutron-dynamic-routing
178 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700179 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
silvacarloss91ca00a2023-09-04 10:09:21 -0300180 tempest_exclude_regex: "(^manila_tempest_tests.tests.scenario.*)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700181 devstack_services: &devstack-with-ovs
182 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
183 br-ex-tcpdump: false
184 br-int-flows: false
185 ovn-controller: false
186 ovn-northd: false
187 ovs-vswitchd: false
188 ovsdb-server: false
189 q-ovn-metadata-agent: false
190 # Neutron services
191 neutron-local-ip-static: true
192 q-agt: true
193 q-dhcp: true
194 q-l3: true
195 q-meta: true
196 q-metering: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700197 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700198 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
199 Q_AGENT: openvswitch
200 Q_ML2_TENANT_NETWORK_TYPE: vxlan
201 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700202 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
203 MANILA_ENABLED_BACKENDS: london,paris
204 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
205 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
206 MANILA_SHARE_BACKEND1_NAME: LONDON
207 MANILA_SHARE_BACKEND2_NAME: PARIS
208 MANILA_OPTGROUP_london_driver_handles_share_servers: false
209 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
210 SHARE_BACKING_FILE_SIZE: 32000M
211 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
212 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
213 MANILA_SETUP_IPV6: true
214 NEUTRON_CREATE_INITIAL_NETWORKS: false
215 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
216 devstack_plugins:
217 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
218 devstack_local_conf:
219 test-config:
220 $TEMPEST_CONFIG:
221 share:
222 default_share_type_name: default
223 run_ipv6_tests: true
224 run_mount_snapshot_tests: true
225 run_host_assisted_migration_tests: true
226 run_shrink_tests: false
227 run_revert_to_snapshot_tests: true
228 enable_user_rules_for_protocols: cifs
229 enable_ip_rules_for_protocols: nfs
230 multitenancy_enabled: False
231 backend_names: LONDON,PARIS
232 multi_backend: true
233 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700234
silvacarloss91ca00a2023-09-04 10:09:21 -0300235# NOTE(carloss): Nova bumped libvirt to a version available only on Ubuntu
236# Jammy. We are then forced to migrate this job to use Jammy. When LP Bug
237#1998489 is fixed, we will be able to unify the job above with this.
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700238- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300239 name: manila-tempest-plugin-lvm
240 description: |
silvacarloss91ca00a2023-09-04 10:09:21 -0300241 Test LVM multibackend (DHSS=False) in a IPv4 environment.
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700242 branches:
243 regex: ^stable/(2023.1|zed|yoga|xena|wallaby|victoria|ussuri)$
244 negate: true
silvacarloss95b3ac32022-06-23 12:39:00 -0300245 parent: manila-tempest-plugin-lvm-base
silvacarloss91ca00a2023-09-04 10:09:21 -0300246 vars:
247 devstack_localrc:
248 MANILA_SETUP_IPV6: false
249 devstack_local_conf:
250 test-config:
251 $TEMPEST_CONFIG:
252 share:
253 run_ipv6_tests: false
silvacarloss95b3ac32022-06-23 12:39:00 -0300254
255- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700256 name: manila-tempest-plugin-container
257 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700258 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700259 and postgresql db. API only, in a minimal devstack
260 parent: manila-tempest-plugin-base
261 vars:
262 tempest_test_regex: manila_tempest_tests.tests.api
263 devstack_localrc:
264 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
265 MANILA_SERVICE_IMAGE_ENABLED: false
266 MANILA_ENABLED_BACKENDS: london,paris
267 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
268 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
269 MANILA_SHARE_BACKEND1_NAME: LONDON
270 MANILA_SHARE_BACKEND2_NAME: PARIS
271 MANILA_OPTGROUP_london_driver_handles_share_servers: true
272 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
273 SHARE_BACKING_FILE_SIZE: 64000M
274 MANILA_CONFIGURE_DEFAULT_TYPES: false
275 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700276 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700277 devstack_services:
278 mysql: false
279 postgresql: true
280 devstack_local_conf:
281 test-config:
282 $TEMPEST_CONFIG:
283 share:
284 enable_ip_rules_for_protocols: ""
285 run_share_group_tests: false
286 run_manage_unmanage_tests: true
287 run_snapshot_tests: false
288 run_shrink_tests: false
289 enable_user_rules_for_protocols: cifs
290 enable_protocols: cifs
291 capability_storage_protocol: CIFS
292 multitenancy_enabled: true
293 backend_names: LONDON,PARIS
294 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000295 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000296 run_share_server_multiple_subnet_tests: true
297 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700298
299- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300300 name: manila-tempest-plugin-generic-base
301 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700302 description: |
303 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
304 parent: manila-tempest-plugin-base
305 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300306 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700307 # The generic driver uses nova VMs as share servers; running with a
308 # high concurrency could starve the driver of RAM/Disk/CPUs to
309 # function properly in a small single node devstack VM.
310 tempest_concurrency: 2
311 devstack_localrc:
312 VOLUME_BACKING_FILE_SIZE: 24G
313 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
314 MANILA_ENABLED_BACKENDS: london,paris
315 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
316 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
317 MANILA_SHARE_BACKEND1_NAME: LONDON
318 MANILA_SHARE_BACKEND2_NAME: PARIS
319 MANILA_OPTGROUP_london_driver_handles_share_servers: true
320 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
321 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
322 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700323 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700324 devstack_services:
325 cinder: true
326 devstack_local_conf:
327 test-config:
328 $TEMPEST_CONFIG:
329 share:
330 default_share_type_name: default
331 run_share_group_tests: false
332 multitenancy_enabled: true
333 suppress_errors_in_cleanup: true
334 share_creation_retry_number: 2
335 backend_names: LONDON,PARIS
336 multi_backend: true
337 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300338
339- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300340 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300341 description: |
342 Test the scenario test cases on the generic driver multibackend
343 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300344 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300345 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300346
347- job:
348 name: manila-tempest-plugin-generic-scenario-base
349 abstract: true
350 description: |
351 Test the scenario test cases on the generic driver multibackend
352 (DHSS=True) with NFS and CIFS
353 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300354 vars:
355 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
356 # The generic driver uses nova VMs as share servers; running with a
357 # high concurrency could starve the driver of RAM/Disk/CPUs to
358 # function properly in a small single node devstack VM.
359 tempest_concurrency: 1
360
361- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300362 name: manila-tempest-plugin-generic-scenario
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-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300367 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300368
369- job:
370 name: manila-tempest-plugin-cephfs-native-base
371 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300372 description: Test CephFS Native (DHSS=False)
373 parent: manila-tempest-plugin-base
374 required-projects:
375 - openstack/devstack-plugin-ceph
376 vars:
377 devstack_plugins:
378 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300379 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300380 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700381 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300382 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
383 MANILA_ENABLED_BACKENDS: cephfsnative
384 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700385 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300386 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
387 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
388 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
389 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700390 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
391 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300392 # 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 -0700393 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
394 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300395 devstack_local_conf:
396 test-config:
397 $TEMPEST_CONFIG:
398 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300399 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300400 enable_cephx_rules_for_protocols: cephfs
401 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300402 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300403 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300404 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300405 enable_protocols: cephfs
406 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300407
silvacarloss95b3ac32022-06-23 12:39:00 -0300408- job:
409 name: manila-tempest-plugin-cephfs-native
410 description: Test CephFS Native (DHSS=False)
411 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300412 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300413
414- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000415 name: manila-tempest-plugin-cephfs-native-cephadm
416 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700417 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000418 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700419 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000420 tempest_test_regex: manila_tempest_tests.tests
421 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*ceph_fuse.*)'
422 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700423 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000424 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v17.2.5'
425 CEPHADM_DEPLOY: true
426 CEPHADM_DEV_OSD: true
427 TARGET_DEV_OSD_DIR: /opt/stack
428 CEPH_LOOPBACK_DISK_SIZE: 40G
429 DISABLE_CEPHADM_POST_DEPLOY: True
430 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
431 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
432
433- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300434 name: manila-tempest-plugin-cephfs-nfs-base
435 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300436 description: Test CephFS NFS (DHSS=False)
437 parent: manila-tempest-plugin-base
438 required-projects:
439 - openstack/devstack-plugin-ceph
440 - openstack/neutron-dynamic-routing
441 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500442 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800443 # turning off some tests due to exhaustion of disk space
444 # https://bugs.launchpad.net/manila/+bug/2009083
445 tempest_exclude_regex: "\
446 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
447 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700448 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300449 devstack_plugins:
450 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
451 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
452 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700453 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
454 Q_AGENT: openvswitch
455 Q_ML2_TENANT_NETWORK_TYPE: vxlan
456 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700457 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300458 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
459 MANILA_ENABLED_BACKENDS: cephfsnfs
460 ENABLED_SHARE_PROTOCOLS: NFS
461 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
462 MANILA_SERVICE_IMAGE_ENABLED: true
463 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
464 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
465 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
466 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
467 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
468 MANILA_CEPH_DRIVER: cephfsnfs
469 MANILA_SETUP_IPV6: true
470 NEUTRON_CREATE_INITIAL_NETWORKS: false
471 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700472 zuul_copy_output:
473 '/var/log/ganesha': logs
474 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300475 devstack_local_conf:
476 test-config:
477 $TEMPEST_CONFIG:
478 share:
479 default_share_type_name: default
480 run_ipv6_tests: true
481 run_share_group_tests: false
482 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300483 backend_names: CEPHFSNFS
484 enable_protocols: nfs
485 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300486 image_password: manila
487
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700488- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300489 name: manila-tempest-plugin-cephfs-nfs
490 description: Test CephFS NFS (DHSS=False)
491 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300492 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700493 nodeset: devstack-single-node-centos-9-stream
494 vars:
495 # TODO(gouthamr): some tests are disabled due to bugs
496 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
497 # snapshot clone fs sync: https://bugs.launchpad.net/manila/+bug/1989273
498 tempest_exclude_regex: "\
499 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
500 (^manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_write_data_to_share_created_from_snapshot)"
501 devstack_localrc:
502 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
503 CEPH_RELEASE: "quincy"
504 MANILA_SETUP_IPV6: false
505 NEUTRON_CREATE_INITIAL_NETWORKS: true
506 IP_VERSION: 4
silvacarloss95b3ac32022-06-23 12:39:00 -0300507
508- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700509 name: manila-tempest-plugin-dummy-no-dhss
510 description: Test the Dummy driver with DHSS=False
511 parent: manila-tempest-plugin-standalone-base
512 vars:
513 devstack_localrc:
514 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
515 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
516 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
517 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
518 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
519 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
520 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
521 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
522 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
523 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
524 MANILA_OPTGROUP_beta_share_backend_name: BETA
525 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
526 # With below opts we'll enable a DHSS=True back-end solely for
527 # for the migration test case "test_migration_opposite_driver_modes"
528 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
529 MANILA_OPTGROUP_gamma_network_config_group: membernet
530 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
531 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
532 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
533 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
534 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
535 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
536 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
537 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
538 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
539 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
540 devstack_local_conf:
541 test-config:
542 "$TEMPEST_CONFIG":
543 share:
544 backend_names: ALPHA,BETA
545 backend_replication_type: readable
546 build_timeout: 180
547 capability_sg_consistent_snapshot_support: pool
548 enable_ip_rules_for_protocols: nfs
549 enable_ro_access_level_for_protocols: nfs,cifs
550 enable_user_rules_for_protocols: cifs
551 multi_backend: true
552 multitenancy_enabled: false
553 run_driver_assisted_migration_tests: true
554 run_manage_unmanage_snapshot_tests: true
555 run_manage_unmanage_tests: true
556 run_migration_with_preserve_snapshots_tests: true
557 run_mount_snapshot_tests: true
558 run_replication_tests: true
559 run_revert_to_snapshot_tests: true
560 # for migration test case "test_migration_opposite_driver_modes"
561 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300562
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700563- job:
564 name: manila-tempest-plugin-dummy-dhss
565 description: Test the Dummy driver with DHSS=True
566 parent: manila-tempest-plugin-standalone-base
567 vars:
568 devstack_localrc:
569 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
570 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
571 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
572 MANILA_ENABLED_BACKENDS: alpha,beta
573 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
574 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
575 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
576 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
577 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
578 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
579 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
580 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
581 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
582 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
583 MANILA_OPTGROUP_alpha_network_config_group: membernet
584 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
585 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
586 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
587 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
588 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
589 MANILA_OPTGROUP_beta_network_config_group: membernet
590 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
591 MANILA_OPTGROUP_beta_share_backend_name: BETA
592 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
593 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
594 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
595 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
596 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
597 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
598 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
599 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
600 # With below opts we'll enable a DHSS=False back-end solely for
601 # for the migration test case "test_migration_opposite_driver_modes"
602 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
603 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
604 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
605 devstack_local_conf:
606 test-config:
607 "$TEMPEST_CONFIG":
608 share:
609 backend_names: ALPHA,BETA
610 backend_replication_type: readable
611 build_timeout: 180
612 capability_sg_consistent_snapshot_support: pool
613 create_networks_when_multitenancy_enabled: false
614 enable_ip_rules_for_protocols: nfs
615 enable_ro_access_level_for_protocols: nfs,cifs
616 enable_user_rules_for_protocols: cifs
617 multi_backend: true
618 multitenancy_enabled: true
619 run_driver_assisted_migration_tests: true
620 run_manage_unmanage_snapshot_tests: true
621 run_manage_unmanage_tests: true
622 run_migration_with_preserve_snapshots_tests: true
623 run_mount_snapshot_tests: true
624 run_replication_tests: true
625 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000626 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000627 run_share_server_multiple_subnet_tests: true
628 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700629
630- job:
631 name: manila-tempest-plugin-glusterfs-native
632 description: |
633 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
634 parent: manila-tempest-plugin-standalone-base
635 required-projects:
636 - x/devstack-plugin-glusterfs
637 vars:
638 tempest_concurrency: 8
639 devstack_plugins:
640 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
641 devstack_localrc:
642 CONFIGURE_GLUSTERFS_MANILA: true
643 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
644 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
645 devstack_local_conf:
646 test-config:
647 $TEMPEST_CONFIG:
648 share:
649 run_share_group_tests: false
650 run_snapshot_tests: false
651 multitenancy_enabled: false
652 run_shrink_tests: false
653 run_extend_tests: false
654 multi_backend: false
655 suppress_errors_in_cleanup: True
656 share_creation_retry_number: 2
657 backend_names: GLUSTERNATIVE
658 enable_cert_rules_for_protocols: glusterfs
659 capability_storage_protocol: glusterfs
660 enable_protocols: glusterfs
661
662- job:
663 name: manila-tempest-plugin-glusterfs-nfs
664 description: |
665 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
666 parent: manila-tempest-plugin-standalone-base
667 required-projects:
668 - x/devstack-plugin-glusterfs
669 vars:
670 tempest_concurrency: 8
671 devstack_plugins:
672 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
673 devstack_localrc:
674 CONFIGURE_GLUSTERFS_MANILA: true
675 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
676 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
677 devstack_local_conf:
678 test-config:
679 $TEMPEST_CONFIG:
680 share:
681 run_share_group_tests: false
682 run_snapshot_tests: false
683 multitenancy_enabled: False
684 run_shrink_tests: true
685 multi_backend: false
686 suppress_errors_in_cleanup: True
687 share_creation_retry_number: 2
688 backend_names: GLUSTERFS
689 enable_ip_rules_for_protocols: nfs
690 capability_storage_protocol: NFS
691 enable_protocols: nfs
692 # read-only access rules not supported
693 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300694
silvacarlosse21dbfd2022-06-29 15:46:45 -0300695- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300696 name: manila-tempest-plugin-dummy-no-dhss-rbac
697 parent: manila-tempest-plugin-dummy-no-dhss
698 description: |
699 This job runs the devstack with scope checks enabled,
700 on the Dummy driver with DHSS=False.
701 vars:
702 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
703 devstack_localrc:
704 MANILA_ENFORCE_SCOPE: true
705 devstack_local_conf:
706 test-config:
707 "$TEMPEST_CONFIG":
708 share:
709 default_share_type_name: default
710
711- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300712 name: manila-tempest-plugin-lvm-fips-base
713 parent: manila-tempest-plugin-lvm-base
714 nodeset: devstack-single-node-centos-9-stream
715 description: |
716 Run LVM DHSS false tests for manila project using FIPS.
717 pre-run:
718 - playbooks/enable-fips.yaml
719 vars:
720 nslookup_target: 'opendev.org'
721 devstack_localrc:
722 MANILA_SETUP_IPV6: false
723 NEUTRON_CREATE_INITIAL_NETWORKS: true
724 IP_VERSION: 4
725 configure_swap_size: 4096
726 devstack_local_conf:
727 test-config:
728 "$TEMPEST_CONFIG":
729 validation:
730 ssh_key_type: 'ecdsa'
731 share:
732 run_ipv6_tests: false
733
734- job:
735 name: manila-tempest-plugin-lvm-fips
736 parent: manila-tempest-plugin-lvm-fips-base
Goutham Pacha Ravi3b9a0c42023-09-07 20:00:00 -0700737 branches:
738 regex: ^stable/(yoga|xena|wallaby|victoria|ussuri)$
739 negate: true
silvacarlosse21dbfd2022-06-29 15:46:45 -0300740
silvacarloss95b3ac32022-06-23 12:39:00 -0300741- project-template:
742 name: manila-tempest-plugin-jobs-using-service-image
743 description: |
744 Runs jobs that will also perform scenario tests in the branches that are
745 newer than Yoga.
746 check:
747 jobs:
748 - manila-tempest-plugin-lvm
749 - manila-tempest-plugin-generic-scenario:
750 voting: false
751 - manila-tempest-plugin-generic:
752 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000753 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300754 voting: false
755 - manila-tempest-plugin-cephfs-nfs:
756 voting: false
757 - manila-tempest-plugin-zfsonlinux:
758 voting: false
759 gate:
760 jobs:
761 - manila-tempest-plugin-lvm