blob: 52b7869dfbc44dd38e3997e992de083cd53b4a34 [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 Ravi5dd63012020-04-29 22:18:14 -070041 MANILA_USE_DOWNGRADE_MIGRATIONS: true
42 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
43 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
44 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070045 MANILA_CONFIGURE_DEFAULT_TYPES: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070046 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +000047 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070048 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070049
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070050- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070051 name: manila-tempest-plugin-ipv6-base
52 abstract: true
53 description: |
54 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
55 devstack environment with IPv6 control plane endpoints.
56 parent: devstack-tempest-ipv6
57 timeout: 10800
58 irrelevant-files: *irrelevant-files
59 required-projects: *manila-tempest-required-projects
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -070060 vars: *manila-tempest-base-vars
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070061
62- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070063 name: manila-tempest-plugin-standalone-base
64 abstract: true
65 description: |
66 Base job for running a minimal devstack with tempest based manila jobs.
67 timeout: 3600
68 parent: devstack-minimal
69 irrelevant-files: *irrelevant-files
70 roles:
71 - zuul: opendev.org/openstack/devstack
72 - zuul: opendev.org/openstack/tempest
73 required-projects:
74 - openstack/keystone
75 - openstack/manila
76 - openstack/manila-tempest-plugin
77 - openstack/python-manilaclient
78 - openstack/tempest
79 run: playbooks/manila-tempest-plugin-standalone/run.yaml
80 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
81 vars:
82 tox_envlist: all
83 tempest_test_regex: manila_tempest_tests.tests.api
84 tempest_concurrency: 16
85 tempest_plugins:
86 - manila-tempest-plugin
87 devstack_plugins:
88 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070089 test_results_stage_name: test_results
90 zuul_copy_output:
91 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
92 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
93 '{{ devstack_base_dir }}/tempest/tempest.log': logs
94 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
95 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
96 '{{ stage_dir }}/stackviz': logs
97 extensions_to_txt:
98 conf: true
99 log: true
100 yaml: true
101 yml: true
102 devstack_localrc:
103 USE_PYTHON3: true
104 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
105 MANILA_SERVICE_IMAGE_ENABLED: false
106 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000107 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700108 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
109 devstack_services:
110 tls-proxy: true
111 key: true
112 tempest: true
113
114- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300115 name: manila-tempest-plugin-zfsonlinux-base
116 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700117 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
118 parent: manila-tempest-plugin-base
119 vars:
120 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
121 devstack_localrc:
122 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
123 MANILA_ENABLED_BACKENDS: london,paris
124 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
125 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
126 MANILA_SHARE_BACKEND1_NAME: LONDON
127 MANILA_SHARE_BACKEND2_NAME: PARIS
128 MANILA_OPTGROUP_london_driver_handles_share_servers: false
129 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
130 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
131 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
132 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
133 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700134 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
135 devstack_services:
136 mysql: false
137 postgresql: true
138 devstack_local_conf:
139 test-config:
140 $TEMPEST_CONFIG:
141 share:
142 default_share_type_name: default
143 run_driver_assisted_migration_tests: true
144 run_host_assisted_migration_tests: true
145 run_replication_tests: true
146 run_manage_unmanage_snapshot_tests: true
147 run_manage_unmanage_tests: true
148 run_multiple_share_replicas_tests: false
149 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
150 backend_replication_type: readable
151 enable_protocols: nfs
152 capability_storage_protocol: NFS
153 build_timeout: 180
154 enable_ip_rules_for_protocols: nfs
155 multitenancy_enabled: False
156 backend_names: LONDON,PARIS
157 multi_backend: true
158 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700159
160- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300161 name: manila-tempest-plugin-zfsonlinux
162 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
163 parent: manila-tempest-plugin-zfsonlinux-base
silvacarlossd12285b2022-06-30 16:58:08 -0300164 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300165
166- job:
167 name: manila-tempest-plugin-lvm-base
silvacarloss59c47952022-11-21 15:40:03 -0300168 nodeset: openstack-single-node-focal
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700169 description: |
170 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
171 environment with IPv6 control plane endpoints.
172 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300173 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700174 required-projects:
175 - openstack/neutron-dynamic-routing
176 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700177 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700178 devstack_services: &devstack-with-ovs
179 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
180 br-ex-tcpdump: false
181 br-int-flows: false
182 ovn-controller: false
183 ovn-northd: false
184 ovs-vswitchd: false
185 ovsdb-server: false
186 q-ovn-metadata-agent: false
187 # Neutron services
188 neutron-local-ip-static: true
189 q-agt: true
190 q-dhcp: true
191 q-l3: true
192 q-meta: true
193 q-metering: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700194 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700195 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
196 Q_AGENT: openvswitch
197 Q_ML2_TENANT_NETWORK_TYPE: vxlan
198 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700199 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
200 MANILA_ENABLED_BACKENDS: london,paris
201 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
202 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
203 MANILA_SHARE_BACKEND1_NAME: LONDON
204 MANILA_SHARE_BACKEND2_NAME: PARIS
205 MANILA_OPTGROUP_london_driver_handles_share_servers: false
206 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
207 SHARE_BACKING_FILE_SIZE: 32000M
208 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
209 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
210 MANILA_SETUP_IPV6: true
211 NEUTRON_CREATE_INITIAL_NETWORKS: false
212 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
213 devstack_plugins:
214 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
215 devstack_local_conf:
216 test-config:
217 $TEMPEST_CONFIG:
218 share:
219 default_share_type_name: default
220 run_ipv6_tests: true
221 run_mount_snapshot_tests: true
222 run_host_assisted_migration_tests: true
223 run_shrink_tests: false
224 run_revert_to_snapshot_tests: true
225 enable_user_rules_for_protocols: cifs
226 enable_ip_rules_for_protocols: nfs
227 multitenancy_enabled: False
228 backend_names: LONDON,PARIS
229 multi_backend: true
230 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700231
232- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300233 name: manila-tempest-plugin-lvm
234 description: |
235 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
236 environment with IPv6 control plane endpoints.
silvacarlossd12285b2022-06-30 16:58:08 -0300237 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300238 parent: manila-tempest-plugin-lvm-base
239
240- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700241 name: manila-tempest-plugin-container
242 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700243 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700244 and postgresql db. API only, in a minimal devstack
245 parent: manila-tempest-plugin-base
246 vars:
247 tempest_test_regex: manila_tempest_tests.tests.api
248 devstack_localrc:
249 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
250 MANILA_SERVICE_IMAGE_ENABLED: false
251 MANILA_ENABLED_BACKENDS: london,paris
252 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
253 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
254 MANILA_SHARE_BACKEND1_NAME: LONDON
255 MANILA_SHARE_BACKEND2_NAME: PARIS
256 MANILA_OPTGROUP_london_driver_handles_share_servers: true
257 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
258 SHARE_BACKING_FILE_SIZE: 64000M
259 MANILA_CONFIGURE_DEFAULT_TYPES: false
260 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700261 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700262 devstack_services:
263 mysql: false
264 postgresql: true
265 devstack_local_conf:
266 test-config:
267 $TEMPEST_CONFIG:
268 share:
269 enable_ip_rules_for_protocols: ""
270 run_share_group_tests: false
271 run_manage_unmanage_tests: true
272 run_snapshot_tests: false
273 run_shrink_tests: false
274 enable_user_rules_for_protocols: cifs
275 enable_protocols: cifs
276 capability_storage_protocol: CIFS
277 multitenancy_enabled: true
278 backend_names: LONDON,PARIS
279 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000280 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000281 run_share_server_multiple_subnet_tests: true
282 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700283
284- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300285 name: manila-tempest-plugin-generic-base
286 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700287 description: |
288 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
289 parent: manila-tempest-plugin-base
290 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300291 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700292 # The generic driver uses nova VMs as share servers; running with a
293 # high concurrency could starve the driver of RAM/Disk/CPUs to
294 # function properly in a small single node devstack VM.
295 tempest_concurrency: 2
296 devstack_localrc:
297 VOLUME_BACKING_FILE_SIZE: 24G
298 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
299 MANILA_ENABLED_BACKENDS: london,paris
300 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
301 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
302 MANILA_SHARE_BACKEND1_NAME: LONDON
303 MANILA_SHARE_BACKEND2_NAME: PARIS
304 MANILA_OPTGROUP_london_driver_handles_share_servers: true
305 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
306 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
307 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700308 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700309 devstack_services:
310 cinder: true
311 devstack_local_conf:
312 test-config:
313 $TEMPEST_CONFIG:
314 share:
315 default_share_type_name: default
316 run_share_group_tests: false
317 multitenancy_enabled: true
318 suppress_errors_in_cleanup: true
319 share_creation_retry_number: 2
320 backend_names: LONDON,PARIS
321 multi_backend: true
322 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300323
324- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300325 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300326 description: |
327 Test the scenario test cases on the generic driver multibackend
328 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300329 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300330 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300331
332- job:
333 name: manila-tempest-plugin-generic-scenario-base
334 abstract: true
335 description: |
336 Test the scenario test cases on the generic driver multibackend
337 (DHSS=True) with NFS and CIFS
338 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300339 vars:
340 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
341 # The generic driver uses nova VMs as share servers; running with a
342 # high concurrency could starve the driver of RAM/Disk/CPUs to
343 # function properly in a small single node devstack VM.
344 tempest_concurrency: 1
345
346- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300347 name: manila-tempest-plugin-generic-scenario
348 description: |
349 Test the scenario test cases on the generic driver multibackend
350 (DHSS=True) with NFS and CIFS
351 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300352 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300353
354- job:
355 name: manila-tempest-plugin-cephfs-native-base
silvacarloss59c47952022-11-21 15:40:03 -0300356 nodeset: openstack-single-node-focal
silvacarloss95b3ac32022-06-23 12:39:00 -0300357 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300358 description: Test CephFS Native (DHSS=False)
359 parent: manila-tempest-plugin-base
360 required-projects:
361 - openstack/devstack-plugin-ceph
362 vars:
363 devstack_plugins:
364 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300365 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300366 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700367 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300368 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
369 MANILA_ENABLED_BACKENDS: cephfsnative
370 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700371 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300372 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
373 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
374 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
375 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700376 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
377 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300378 # 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 -0700379 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
380 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300381 devstack_local_conf:
382 test-config:
383 $TEMPEST_CONFIG:
384 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300385 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300386 enable_cephx_rules_for_protocols: cephfs
387 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300388 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300389 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300390 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300391 enable_protocols: cephfs
392 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300393
silvacarloss95b3ac32022-06-23 12:39:00 -0300394- job:
395 name: manila-tempest-plugin-cephfs-native
396 description: Test CephFS Native (DHSS=False)
397 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300398 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300399
400- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000401 name: manila-tempest-plugin-cephfs-native-cephadm
402 description: Test CephFS Native (DHSS=False) deployed with cephadm
403 parent: manila-tempest-plugin-cephfs-native
404 vars:
405 tempest_test_regex: manila_tempest_tests.tests
406 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*ceph_fuse.*)'
407 devstack_localrc:
408 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v17.2.5'
409 CEPHADM_DEPLOY: true
410 CEPHADM_DEV_OSD: true
411 TARGET_DEV_OSD_DIR: /opt/stack
412 CEPH_LOOPBACK_DISK_SIZE: 40G
413 DISABLE_CEPHADM_POST_DEPLOY: True
414 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
415 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
416
417- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300418 name: manila-tempest-plugin-cephfs-nfs-base
419 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300420 description: Test CephFS NFS (DHSS=False)
421 parent: manila-tempest-plugin-base
422 required-projects:
423 - openstack/devstack-plugin-ceph
424 - openstack/neutron-dynamic-routing
425 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500426 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800427 # turning off some tests due to exhaustion of disk space
428 # https://bugs.launchpad.net/manila/+bug/2009083
429 tempest_exclude_regex: "\
430 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
431 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700432 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300433 devstack_plugins:
434 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
435 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
436 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700437 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
438 Q_AGENT: openvswitch
439 Q_ML2_TENANT_NETWORK_TYPE: vxlan
440 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700441 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300442 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
443 MANILA_ENABLED_BACKENDS: cephfsnfs
444 ENABLED_SHARE_PROTOCOLS: NFS
445 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
446 MANILA_SERVICE_IMAGE_ENABLED: true
447 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
448 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
449 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
450 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
451 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
452 MANILA_CEPH_DRIVER: cephfsnfs
453 MANILA_SETUP_IPV6: true
454 NEUTRON_CREATE_INITIAL_NETWORKS: false
455 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700456 zuul_copy_output:
457 '/var/log/ganesha': logs
458 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300459 devstack_local_conf:
460 test-config:
461 $TEMPEST_CONFIG:
462 share:
463 default_share_type_name: default
464 run_ipv6_tests: true
465 run_share_group_tests: false
466 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300467 backend_names: CEPHFSNFS
468 enable_protocols: nfs
469 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300470 image_password: manila
471
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700472- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300473 name: manila-tempest-plugin-cephfs-nfs
474 description: Test CephFS NFS (DHSS=False)
475 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300476 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700477 nodeset: devstack-single-node-centos-9-stream
478 vars:
479 # TODO(gouthamr): some tests are disabled due to bugs
480 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
481 # snapshot clone fs sync: https://bugs.launchpad.net/manila/+bug/1989273
482 tempest_exclude_regex: "\
483 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
484 (^manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_write_data_to_share_created_from_snapshot)"
485 devstack_localrc:
486 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
487 CEPH_RELEASE: "quincy"
488 MANILA_SETUP_IPV6: false
489 NEUTRON_CREATE_INITIAL_NETWORKS: true
490 IP_VERSION: 4
silvacarloss95b3ac32022-06-23 12:39:00 -0300491
492- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700493 name: manila-tempest-plugin-dummy-no-dhss
494 description: Test the Dummy driver with DHSS=False
495 parent: manila-tempest-plugin-standalone-base
496 vars:
497 devstack_localrc:
498 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
499 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
500 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
501 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
502 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
503 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
504 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
505 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
506 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
507 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
508 MANILA_OPTGROUP_beta_share_backend_name: BETA
509 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
510 # With below opts we'll enable a DHSS=True back-end solely for
511 # for the migration test case "test_migration_opposite_driver_modes"
512 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
513 MANILA_OPTGROUP_gamma_network_config_group: membernet
514 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
515 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
516 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
517 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
518 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
519 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
520 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
521 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
522 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
523 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
524 devstack_local_conf:
525 test-config:
526 "$TEMPEST_CONFIG":
527 share:
528 backend_names: ALPHA,BETA
529 backend_replication_type: readable
530 build_timeout: 180
531 capability_sg_consistent_snapshot_support: pool
532 enable_ip_rules_for_protocols: nfs
533 enable_ro_access_level_for_protocols: nfs,cifs
534 enable_user_rules_for_protocols: cifs
535 multi_backend: true
536 multitenancy_enabled: false
537 run_driver_assisted_migration_tests: true
538 run_manage_unmanage_snapshot_tests: true
539 run_manage_unmanage_tests: true
540 run_migration_with_preserve_snapshots_tests: true
541 run_mount_snapshot_tests: true
542 run_replication_tests: true
543 run_revert_to_snapshot_tests: true
544 # for migration test case "test_migration_opposite_driver_modes"
545 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300546
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700547- job:
548 name: manila-tempest-plugin-dummy-dhss
549 description: Test the Dummy driver with DHSS=True
550 parent: manila-tempest-plugin-standalone-base
551 vars:
552 devstack_localrc:
553 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
554 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
555 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
556 MANILA_ENABLED_BACKENDS: alpha,beta
557 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
558 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
559 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
560 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
561 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
562 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
563 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
564 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
565 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
566 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
567 MANILA_OPTGROUP_alpha_network_config_group: membernet
568 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
569 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
570 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
571 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
572 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
573 MANILA_OPTGROUP_beta_network_config_group: membernet
574 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
575 MANILA_OPTGROUP_beta_share_backend_name: BETA
576 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
577 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
578 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
579 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
580 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
581 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
582 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
583 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
584 # With below opts we'll enable a DHSS=False back-end solely for
585 # for the migration test case "test_migration_opposite_driver_modes"
586 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
587 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
588 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
589 devstack_local_conf:
590 test-config:
591 "$TEMPEST_CONFIG":
592 share:
593 backend_names: ALPHA,BETA
594 backend_replication_type: readable
595 build_timeout: 180
596 capability_sg_consistent_snapshot_support: pool
597 create_networks_when_multitenancy_enabled: false
598 enable_ip_rules_for_protocols: nfs
599 enable_ro_access_level_for_protocols: nfs,cifs
600 enable_user_rules_for_protocols: cifs
601 multi_backend: true
602 multitenancy_enabled: true
603 run_driver_assisted_migration_tests: true
604 run_manage_unmanage_snapshot_tests: true
605 run_manage_unmanage_tests: true
606 run_migration_with_preserve_snapshots_tests: true
607 run_mount_snapshot_tests: true
608 run_replication_tests: true
609 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000610 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000611 run_share_server_multiple_subnet_tests: true
612 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700613
614- job:
615 name: manila-tempest-plugin-glusterfs-native
616 description: |
617 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
618 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300619 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700620 required-projects:
621 - x/devstack-plugin-glusterfs
622 vars:
623 tempest_concurrency: 8
624 devstack_plugins:
625 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
626 devstack_localrc:
627 CONFIGURE_GLUSTERFS_MANILA: true
628 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
629 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
630 devstack_local_conf:
631 test-config:
632 $TEMPEST_CONFIG:
633 share:
634 run_share_group_tests: false
635 run_snapshot_tests: false
636 multitenancy_enabled: false
637 run_shrink_tests: false
638 run_extend_tests: false
639 multi_backend: false
640 suppress_errors_in_cleanup: True
641 share_creation_retry_number: 2
642 backend_names: GLUSTERNATIVE
643 enable_cert_rules_for_protocols: glusterfs
644 capability_storage_protocol: glusterfs
645 enable_protocols: glusterfs
646
647- job:
648 name: manila-tempest-plugin-glusterfs-nfs
649 description: |
650 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
651 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300652 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700653 required-projects:
654 - x/devstack-plugin-glusterfs
655 vars:
656 tempest_concurrency: 8
657 devstack_plugins:
658 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
659 devstack_localrc:
660 CONFIGURE_GLUSTERFS_MANILA: true
661 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
662 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
663 devstack_local_conf:
664 test-config:
665 $TEMPEST_CONFIG:
666 share:
667 run_share_group_tests: false
668 run_snapshot_tests: false
669 multitenancy_enabled: False
670 run_shrink_tests: true
671 multi_backend: false
672 suppress_errors_in_cleanup: True
673 share_creation_retry_number: 2
674 backend_names: GLUSTERFS
675 enable_ip_rules_for_protocols: nfs
676 capability_storage_protocol: NFS
677 enable_protocols: nfs
678 # read-only access rules not supported
679 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300680
silvacarlosse21dbfd2022-06-29 15:46:45 -0300681- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300682 name: manila-tempest-plugin-dummy-no-dhss-rbac
683 parent: manila-tempest-plugin-dummy-no-dhss
684 description: |
685 This job runs the devstack with scope checks enabled,
686 on the Dummy driver with DHSS=False.
687 vars:
688 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
689 devstack_localrc:
690 MANILA_ENFORCE_SCOPE: true
691 devstack_local_conf:
692 test-config:
693 "$TEMPEST_CONFIG":
694 share:
695 default_share_type_name: default
696
697- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300698 name: manila-tempest-plugin-lvm-fips-base
699 parent: manila-tempest-plugin-lvm-base
700 nodeset: devstack-single-node-centos-9-stream
701 description: |
702 Run LVM DHSS false tests for manila project using FIPS.
703 pre-run:
704 - playbooks/enable-fips.yaml
705 vars:
706 nslookup_target: 'opendev.org'
707 devstack_localrc:
708 MANILA_SETUP_IPV6: false
709 NEUTRON_CREATE_INITIAL_NETWORKS: true
710 IP_VERSION: 4
711 configure_swap_size: 4096
712 devstack_local_conf:
713 test-config:
714 "$TEMPEST_CONFIG":
715 validation:
716 ssh_key_type: 'ecdsa'
717 share:
718 run_ipv6_tests: false
719
720- job:
721 name: manila-tempest-plugin-lvm-fips
722 parent: manila-tempest-plugin-lvm-fips-base
723 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
724
silvacarloss95b3ac32022-06-23 12:39:00 -0300725- project-template:
726 name: manila-tempest-plugin-jobs-using-service-image
727 description: |
728 Runs jobs that will also perform scenario tests in the branches that are
729 newer than Yoga.
730 check:
731 jobs:
732 - manila-tempest-plugin-lvm
733 - manila-tempest-plugin-generic-scenario:
734 voting: false
735 - manila-tempest-plugin-generic:
736 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000737 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300738 voting: false
739 - manila-tempest-plugin-cephfs-nfs:
740 voting: false
741 - manila-tempest-plugin-zfsonlinux:
742 voting: false
743 gate:
744 jobs:
745 - manila-tempest-plugin-lvm