blob: 00e3b0911d32ba732b1eeebd90222f5b2f5d555b [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
silvacarlossd12285b2022-06-30 16:58:08 -0300165 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300166
167- job:
168 name: manila-tempest-plugin-lvm-base
silvacarloss59c47952022-11-21 15:40:03 -0300169 nodeset: openstack-single-node-focal
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700170 description: |
171 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
172 environment with IPv6 control plane endpoints.
173 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300174 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700175 required-projects:
176 - openstack/neutron-dynamic-routing
177 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700178 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700179 devstack_services: &devstack-with-ovs
180 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
181 br-ex-tcpdump: false
182 br-int-flows: false
183 ovn-controller: false
184 ovn-northd: false
185 ovs-vswitchd: false
186 ovsdb-server: false
187 q-ovn-metadata-agent: false
188 # Neutron services
189 neutron-local-ip-static: true
190 q-agt: true
191 q-dhcp: true
192 q-l3: true
193 q-meta: true
194 q-metering: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700195 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700196 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
197 Q_AGENT: openvswitch
198 Q_ML2_TENANT_NETWORK_TYPE: vxlan
199 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700200 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
201 MANILA_ENABLED_BACKENDS: london,paris
202 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
203 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
204 MANILA_SHARE_BACKEND1_NAME: LONDON
205 MANILA_SHARE_BACKEND2_NAME: PARIS
206 MANILA_OPTGROUP_london_driver_handles_share_servers: false
207 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
208 SHARE_BACKING_FILE_SIZE: 32000M
209 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
210 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
211 MANILA_SETUP_IPV6: true
212 NEUTRON_CREATE_INITIAL_NETWORKS: false
213 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
214 devstack_plugins:
215 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
216 devstack_local_conf:
217 test-config:
218 $TEMPEST_CONFIG:
219 share:
220 default_share_type_name: default
221 run_ipv6_tests: true
222 run_mount_snapshot_tests: true
223 run_host_assisted_migration_tests: true
224 run_shrink_tests: false
225 run_revert_to_snapshot_tests: true
226 enable_user_rules_for_protocols: cifs
227 enable_ip_rules_for_protocols: nfs
228 multitenancy_enabled: False
229 backend_names: LONDON,PARIS
230 multi_backend: true
231 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700232
233- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300234 name: manila-tempest-plugin-lvm
235 description: |
236 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
237 environment with IPv6 control plane endpoints.
silvacarlossd12285b2022-06-30 16:58:08 -0300238 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300239 parent: manila-tempest-plugin-lvm-base
240
241- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700242 name: manila-tempest-plugin-container
243 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700244 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700245 and postgresql db. API only, in a minimal devstack
246 parent: manila-tempest-plugin-base
247 vars:
248 tempest_test_regex: manila_tempest_tests.tests.api
249 devstack_localrc:
250 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
251 MANILA_SERVICE_IMAGE_ENABLED: false
252 MANILA_ENABLED_BACKENDS: london,paris
253 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
254 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
255 MANILA_SHARE_BACKEND1_NAME: LONDON
256 MANILA_SHARE_BACKEND2_NAME: PARIS
257 MANILA_OPTGROUP_london_driver_handles_share_servers: true
258 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
259 SHARE_BACKING_FILE_SIZE: 64000M
260 MANILA_CONFIGURE_DEFAULT_TYPES: false
261 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700262 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700263 devstack_services:
264 mysql: false
265 postgresql: true
266 devstack_local_conf:
267 test-config:
268 $TEMPEST_CONFIG:
269 share:
270 enable_ip_rules_for_protocols: ""
271 run_share_group_tests: false
272 run_manage_unmanage_tests: true
273 run_snapshot_tests: false
274 run_shrink_tests: false
275 enable_user_rules_for_protocols: cifs
276 enable_protocols: cifs
277 capability_storage_protocol: CIFS
278 multitenancy_enabled: true
279 backend_names: LONDON,PARIS
280 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000281 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000282 run_share_server_multiple_subnet_tests: true
283 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700284
285- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300286 name: manila-tempest-plugin-generic-base
287 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700288 description: |
289 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
290 parent: manila-tempest-plugin-base
291 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300292 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700293 # The generic driver uses nova VMs as share servers; running with a
294 # high concurrency could starve the driver of RAM/Disk/CPUs to
295 # function properly in a small single node devstack VM.
296 tempest_concurrency: 2
297 devstack_localrc:
298 VOLUME_BACKING_FILE_SIZE: 24G
299 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
300 MANILA_ENABLED_BACKENDS: london,paris
301 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
302 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
303 MANILA_SHARE_BACKEND1_NAME: LONDON
304 MANILA_SHARE_BACKEND2_NAME: PARIS
305 MANILA_OPTGROUP_london_driver_handles_share_servers: true
306 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
307 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
308 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700309 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700310 devstack_services:
311 cinder: true
312 devstack_local_conf:
313 test-config:
314 $TEMPEST_CONFIG:
315 share:
316 default_share_type_name: default
317 run_share_group_tests: false
318 multitenancy_enabled: true
319 suppress_errors_in_cleanup: true
320 share_creation_retry_number: 2
321 backend_names: LONDON,PARIS
322 multi_backend: true
323 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300324
325- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300326 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300327 description: |
328 Test the scenario test cases on the generic driver multibackend
329 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300330 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300331 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300332
333- job:
334 name: manila-tempest-plugin-generic-scenario-base
335 abstract: true
336 description: |
337 Test the scenario test cases on the generic driver multibackend
338 (DHSS=True) with NFS and CIFS
339 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300340 vars:
341 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
342 # The generic driver uses nova VMs as share servers; running with a
343 # high concurrency could starve the driver of RAM/Disk/CPUs to
344 # function properly in a small single node devstack VM.
345 tempest_concurrency: 1
346
347- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300348 name: manila-tempest-plugin-generic-scenario
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-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300353 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300354
355- job:
356 name: manila-tempest-plugin-cephfs-native-base
silvacarloss59c47952022-11-21 15:40:03 -0300357 nodeset: openstack-single-node-focal
silvacarloss95b3ac32022-06-23 12:39:00 -0300358 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300359 description: Test CephFS Native (DHSS=False)
360 parent: manila-tempest-plugin-base
361 required-projects:
362 - openstack/devstack-plugin-ceph
363 vars:
364 devstack_plugins:
365 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300366 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300367 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700368 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300369 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
370 MANILA_ENABLED_BACKENDS: cephfsnative
371 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700372 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300373 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
374 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
375 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
376 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700377 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
378 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300379 # 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 -0700380 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
381 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300382 devstack_local_conf:
383 test-config:
384 $TEMPEST_CONFIG:
385 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300386 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300387 enable_cephx_rules_for_protocols: cephfs
388 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300389 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300390 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300391 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300392 enable_protocols: cephfs
393 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300394
silvacarloss95b3ac32022-06-23 12:39:00 -0300395- job:
396 name: manila-tempest-plugin-cephfs-native
397 description: Test CephFS Native (DHSS=False)
398 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300399 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300400
401- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000402 name: manila-tempest-plugin-cephfs-native-cephadm
403 description: Test CephFS Native (DHSS=False) deployed with cephadm
404 parent: manila-tempest-plugin-cephfs-native
405 vars:
406 tempest_test_regex: manila_tempest_tests.tests
407 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*ceph_fuse.*)'
408 devstack_localrc:
409 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v17.2.5'
410 CEPHADM_DEPLOY: true
411 CEPHADM_DEV_OSD: true
412 TARGET_DEV_OSD_DIR: /opt/stack
413 CEPH_LOOPBACK_DISK_SIZE: 40G
414 DISABLE_CEPHADM_POST_DEPLOY: True
415 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
416 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
417
418- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300419 name: manila-tempest-plugin-cephfs-nfs-base
silvacarloss59c47952022-11-21 15:40:03 -0300420 nodeset: openstack-single-node-focal
silvacarloss95b3ac32022-06-23 12:39:00 -0300421 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300422 description: Test CephFS NFS (DHSS=False)
423 parent: manila-tempest-plugin-base
424 required-projects:
425 - openstack/devstack-plugin-ceph
426 - openstack/neutron-dynamic-routing
427 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500428 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800429 # turning off some tests due to exhaustion of disk space
430 # https://bugs.launchpad.net/manila/+bug/2009083
431 tempest_exclude_regex: "\
432 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
433 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700434 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300435 devstack_plugins:
436 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
437 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
438 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700439 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
440 Q_AGENT: openvswitch
441 Q_ML2_TENANT_NETWORK_TYPE: vxlan
442 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700443 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300444 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
445 MANILA_ENABLED_BACKENDS: cephfsnfs
446 ENABLED_SHARE_PROTOCOLS: NFS
447 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
448 MANILA_SERVICE_IMAGE_ENABLED: true
449 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
450 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
451 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
452 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
453 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
454 MANILA_CEPH_DRIVER: cephfsnfs
455 MANILA_SETUP_IPV6: true
456 NEUTRON_CREATE_INITIAL_NETWORKS: false
457 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700458 zuul_copy_output:
459 '/var/log/ganesha': logs
460 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300461 devstack_local_conf:
462 test-config:
463 $TEMPEST_CONFIG:
464 share:
465 default_share_type_name: default
466 run_ipv6_tests: true
467 run_share_group_tests: false
468 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300469 backend_names: CEPHFSNFS
470 enable_protocols: nfs
471 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300472 image_password: manila
473
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700474- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300475 name: manila-tempest-plugin-cephfs-nfs
476 description: Test CephFS NFS (DHSS=False)
477 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300478 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300479
480- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700481 name: manila-tempest-plugin-dummy-no-dhss
482 description: Test the Dummy driver with DHSS=False
483 parent: manila-tempest-plugin-standalone-base
484 vars:
485 devstack_localrc:
486 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
487 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
488 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
489 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
490 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
491 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
492 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
493 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
494 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
495 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
496 MANILA_OPTGROUP_beta_share_backend_name: BETA
497 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
498 # With below opts we'll enable a DHSS=True back-end solely for
499 # for the migration test case "test_migration_opposite_driver_modes"
500 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
501 MANILA_OPTGROUP_gamma_network_config_group: membernet
502 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
503 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
504 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
505 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
506 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
507 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
508 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
509 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
510 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
511 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
512 devstack_local_conf:
513 test-config:
514 "$TEMPEST_CONFIG":
515 share:
516 backend_names: ALPHA,BETA
517 backend_replication_type: readable
518 build_timeout: 180
519 capability_sg_consistent_snapshot_support: pool
520 enable_ip_rules_for_protocols: nfs
521 enable_ro_access_level_for_protocols: nfs,cifs
522 enable_user_rules_for_protocols: cifs
523 multi_backend: true
524 multitenancy_enabled: false
525 run_driver_assisted_migration_tests: true
526 run_manage_unmanage_snapshot_tests: true
527 run_manage_unmanage_tests: true
528 run_migration_with_preserve_snapshots_tests: true
529 run_mount_snapshot_tests: true
530 run_replication_tests: true
531 run_revert_to_snapshot_tests: true
532 # for migration test case "test_migration_opposite_driver_modes"
533 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300534
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700535- job:
536 name: manila-tempest-plugin-dummy-dhss
537 description: Test the Dummy driver with DHSS=True
538 parent: manila-tempest-plugin-standalone-base
539 vars:
540 devstack_localrc:
541 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
542 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
543 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
544 MANILA_ENABLED_BACKENDS: alpha,beta
545 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
546 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
547 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
548 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
549 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
550 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
551 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
552 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
553 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
554 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
555 MANILA_OPTGROUP_alpha_network_config_group: membernet
556 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
557 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
558 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
559 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
560 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
561 MANILA_OPTGROUP_beta_network_config_group: membernet
562 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
563 MANILA_OPTGROUP_beta_share_backend_name: BETA
564 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
565 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
566 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
567 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
568 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
569 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
570 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
571 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
572 # With below opts we'll enable a DHSS=False back-end solely for
573 # for the migration test case "test_migration_opposite_driver_modes"
574 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
575 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
576 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
577 devstack_local_conf:
578 test-config:
579 "$TEMPEST_CONFIG":
580 share:
581 backend_names: ALPHA,BETA
582 backend_replication_type: readable
583 build_timeout: 180
584 capability_sg_consistent_snapshot_support: pool
585 create_networks_when_multitenancy_enabled: false
586 enable_ip_rules_for_protocols: nfs
587 enable_ro_access_level_for_protocols: nfs,cifs
588 enable_user_rules_for_protocols: cifs
589 multi_backend: true
590 multitenancy_enabled: true
591 run_driver_assisted_migration_tests: true
592 run_manage_unmanage_snapshot_tests: true
593 run_manage_unmanage_tests: true
594 run_migration_with_preserve_snapshots_tests: true
595 run_mount_snapshot_tests: true
596 run_replication_tests: true
597 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000598 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000599 run_share_server_multiple_subnet_tests: true
600 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700601
602- job:
603 name: manila-tempest-plugin-glusterfs-native
604 description: |
605 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
606 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300607 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700608 required-projects:
609 - x/devstack-plugin-glusterfs
610 vars:
611 tempest_concurrency: 8
612 devstack_plugins:
613 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
614 devstack_localrc:
615 CONFIGURE_GLUSTERFS_MANILA: true
616 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
617 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
618 devstack_local_conf:
619 test-config:
620 $TEMPEST_CONFIG:
621 share:
622 run_share_group_tests: false
623 run_snapshot_tests: false
624 multitenancy_enabled: false
625 run_shrink_tests: false
626 run_extend_tests: false
627 multi_backend: false
628 suppress_errors_in_cleanup: True
629 share_creation_retry_number: 2
630 backend_names: GLUSTERNATIVE
631 enable_cert_rules_for_protocols: glusterfs
632 capability_storage_protocol: glusterfs
633 enable_protocols: glusterfs
634
635- job:
636 name: manila-tempest-plugin-glusterfs-nfs
637 description: |
638 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
639 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300640 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700641 required-projects:
642 - x/devstack-plugin-glusterfs
643 vars:
644 tempest_concurrency: 8
645 devstack_plugins:
646 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
647 devstack_localrc:
648 CONFIGURE_GLUSTERFS_MANILA: true
649 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
650 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
651 devstack_local_conf:
652 test-config:
653 $TEMPEST_CONFIG:
654 share:
655 run_share_group_tests: false
656 run_snapshot_tests: false
657 multitenancy_enabled: False
658 run_shrink_tests: true
659 multi_backend: false
660 suppress_errors_in_cleanup: True
661 share_creation_retry_number: 2
662 backend_names: GLUSTERFS
663 enable_ip_rules_for_protocols: nfs
664 capability_storage_protocol: NFS
665 enable_protocols: nfs
666 # read-only access rules not supported
667 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300668
silvacarlosse21dbfd2022-06-29 15:46:45 -0300669- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300670 name: manila-tempest-plugin-dummy-no-dhss-rbac
671 parent: manila-tempest-plugin-dummy-no-dhss
672 description: |
673 This job runs the devstack with scope checks enabled,
674 on the Dummy driver with DHSS=False.
675 vars:
676 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
677 devstack_localrc:
678 MANILA_ENFORCE_SCOPE: true
679 devstack_local_conf:
680 test-config:
681 "$TEMPEST_CONFIG":
682 share:
683 default_share_type_name: default
684
685- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300686 name: manila-tempest-plugin-lvm-fips-base
687 parent: manila-tempest-plugin-lvm-base
688 nodeset: devstack-single-node-centos-9-stream
689 description: |
690 Run LVM DHSS false tests for manila project using FIPS.
691 pre-run:
692 - playbooks/enable-fips.yaml
693 vars:
694 nslookup_target: 'opendev.org'
695 devstack_localrc:
696 MANILA_SETUP_IPV6: false
697 NEUTRON_CREATE_INITIAL_NETWORKS: true
698 IP_VERSION: 4
699 configure_swap_size: 4096
700 devstack_local_conf:
701 test-config:
702 "$TEMPEST_CONFIG":
703 validation:
704 ssh_key_type: 'ecdsa'
705 share:
706 run_ipv6_tests: false
707
708- job:
709 name: manila-tempest-plugin-lvm-fips
710 parent: manila-tempest-plugin-lvm-fips-base
711 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
712
silvacarloss95b3ac32022-06-23 12:39:00 -0300713- project-template:
714 name: manila-tempest-plugin-jobs-using-service-image
715 description: |
716 Runs jobs that will also perform scenario tests in the branches that are
717 newer than Yoga.
718 check:
719 jobs:
720 - manila-tempest-plugin-lvm
721 - manila-tempest-plugin-generic-scenario:
722 voting: false
723 - manila-tempest-plugin-generic:
724 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000725 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300726 voting: false
727 - manila-tempest-plugin-cephfs-nfs:
728 voting: false
729 - manila-tempest-plugin-zfsonlinux:
730 voting: false
731 gate:
732 jobs:
733 - manila-tempest-plugin-lvm