blob: 6f158e84cb7bd6bcb44b38300bfb7cf6e679b315 [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 Ravi8ccbbeb2021-08-19 17:01:21 -070060 vars:
61 <<: *manila-tempest-base-vars
Goutham Pacha Ravib4c94c82021-12-09 11:46:40 -080062 # NOTE(gouthamr): Disabled until https://launchpad.net/bugs/1940324 is
63 # fixed.
Goutham Pacha Ravi8ccbbeb2021-08-19 17:01:21 -070064 tempest_exclude_regex: "(^manila_tempest_tests.tests.scenario.*IPv6.*)"
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070065
66- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070067 name: manila-tempest-plugin-standalone-base
68 abstract: true
69 description: |
70 Base job for running a minimal devstack with tempest based manila jobs.
71 timeout: 3600
72 parent: devstack-minimal
73 irrelevant-files: *irrelevant-files
74 roles:
75 - zuul: opendev.org/openstack/devstack
76 - zuul: opendev.org/openstack/tempest
77 required-projects:
78 - openstack/keystone
79 - openstack/manila
80 - openstack/manila-tempest-plugin
81 - openstack/python-manilaclient
82 - openstack/tempest
83 run: playbooks/manila-tempest-plugin-standalone/run.yaml
84 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
85 vars:
86 tox_envlist: all
87 tempest_test_regex: manila_tempest_tests.tests.api
88 tempest_concurrency: 16
89 tempest_plugins:
90 - manila-tempest-plugin
91 devstack_plugins:
92 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070093 test_results_stage_name: test_results
94 zuul_copy_output:
95 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
96 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
97 '{{ devstack_base_dir }}/tempest/tempest.log': logs
98 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
99 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
100 '{{ stage_dir }}/stackviz': logs
101 extensions_to_txt:
102 conf: true
103 log: true
104 yaml: true
105 yml: true
106 devstack_localrc:
107 USE_PYTHON3: true
108 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
109 MANILA_SERVICE_IMAGE_ENABLED: false
110 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000111 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700112 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
113 devstack_services:
114 tls-proxy: true
115 key: true
116 tempest: true
117
118- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300119 name: manila-tempest-plugin-zfsonlinux-base
120 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700121 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
122 parent: manila-tempest-plugin-base
123 vars:
124 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
125 devstack_localrc:
126 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
127 MANILA_ENABLED_BACKENDS: london,paris
128 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
129 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
130 MANILA_SHARE_BACKEND1_NAME: LONDON
131 MANILA_SHARE_BACKEND2_NAME: PARIS
132 MANILA_OPTGROUP_london_driver_handles_share_servers: false
133 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
134 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
135 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
136 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
137 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700138 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
139 devstack_services:
140 mysql: false
141 postgresql: true
142 devstack_local_conf:
143 test-config:
144 $TEMPEST_CONFIG:
145 share:
146 default_share_type_name: default
147 run_driver_assisted_migration_tests: true
148 run_host_assisted_migration_tests: true
149 run_replication_tests: true
150 run_manage_unmanage_snapshot_tests: true
151 run_manage_unmanage_tests: true
152 run_multiple_share_replicas_tests: false
153 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
154 backend_replication_type: readable
155 enable_protocols: nfs
156 capability_storage_protocol: NFS
157 build_timeout: 180
158 enable_ip_rules_for_protocols: nfs
159 multitenancy_enabled: False
160 backend_names: LONDON,PARIS
161 multi_backend: true
162 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700163
164- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300165 name: manila-tempest-plugin-zfsonlinux
166 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
167 parent: manila-tempest-plugin-zfsonlinux-base
silvacarlossd12285b2022-06-30 16:58:08 -0300168 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300169
170- job:
171 name: manila-tempest-plugin-lvm-base
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700172 description: |
173 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
174 environment with IPv6 control plane endpoints.
175 parent: manila-tempest-plugin-ipv6-base
silvacarloss95b3ac32022-06-23 12:39:00 -0300176 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700177 required-projects:
178 - openstack/neutron-dynamic-routing
179 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700180 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700181 devstack_localrc:
182 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
183 MANILA_ENABLED_BACKENDS: london,paris
184 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
185 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
186 MANILA_SHARE_BACKEND1_NAME: LONDON
187 MANILA_SHARE_BACKEND2_NAME: PARIS
188 MANILA_OPTGROUP_london_driver_handles_share_servers: false
189 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
190 SHARE_BACKING_FILE_SIZE: 32000M
191 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
192 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
193 MANILA_SETUP_IPV6: true
194 NEUTRON_CREATE_INITIAL_NETWORKS: false
195 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
196 devstack_plugins:
197 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
198 devstack_local_conf:
199 test-config:
200 $TEMPEST_CONFIG:
201 share:
202 default_share_type_name: default
203 run_ipv6_tests: true
204 run_mount_snapshot_tests: true
205 run_host_assisted_migration_tests: true
206 run_shrink_tests: false
207 run_revert_to_snapshot_tests: true
208 enable_user_rules_for_protocols: cifs
209 enable_ip_rules_for_protocols: nfs
210 multitenancy_enabled: False
211 backend_names: LONDON,PARIS
212 multi_backend: true
213 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700214
215- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300216 name: manila-tempest-plugin-lvm
217 description: |
218 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
219 environment with IPv6 control plane endpoints.
silvacarlossd12285b2022-06-30 16:58:08 -0300220 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300221 parent: manila-tempest-plugin-lvm-base
222
223- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700224 name: manila-tempest-plugin-container
225 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700226 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700227 and postgresql db. API only, in a minimal devstack
228 parent: manila-tempest-plugin-base
229 vars:
230 tempest_test_regex: manila_tempest_tests.tests.api
231 devstack_localrc:
232 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
233 MANILA_SERVICE_IMAGE_ENABLED: false
234 MANILA_ENABLED_BACKENDS: london,paris
235 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
236 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
237 MANILA_SHARE_BACKEND1_NAME: LONDON
238 MANILA_SHARE_BACKEND2_NAME: PARIS
239 MANILA_OPTGROUP_london_driver_handles_share_servers: true
240 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
241 SHARE_BACKING_FILE_SIZE: 64000M
242 MANILA_CONFIGURE_DEFAULT_TYPES: false
243 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700244 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700245 devstack_services:
246 mysql: false
247 postgresql: true
248 devstack_local_conf:
249 test-config:
250 $TEMPEST_CONFIG:
251 share:
252 enable_ip_rules_for_protocols: ""
253 run_share_group_tests: false
254 run_manage_unmanage_tests: true
255 run_snapshot_tests: false
256 run_shrink_tests: false
257 enable_user_rules_for_protocols: cifs
258 enable_protocols: cifs
259 capability_storage_protocol: CIFS
260 multitenancy_enabled: true
261 backend_names: LONDON,PARIS
262 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000263 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000264 run_share_server_multiple_subnet_tests: true
265 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700266
267- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300268 name: manila-tempest-plugin-generic-base
269 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700270 description: |
271 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
272 parent: manila-tempest-plugin-base
273 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300274 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700275 # The generic driver uses nova VMs as share servers; running with a
276 # high concurrency could starve the driver of RAM/Disk/CPUs to
277 # function properly in a small single node devstack VM.
278 tempest_concurrency: 2
279 devstack_localrc:
280 VOLUME_BACKING_FILE_SIZE: 24G
281 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
282 MANILA_ENABLED_BACKENDS: london,paris
283 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
284 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
285 MANILA_SHARE_BACKEND1_NAME: LONDON
286 MANILA_SHARE_BACKEND2_NAME: PARIS
287 MANILA_OPTGROUP_london_driver_handles_share_servers: true
288 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
289 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
290 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700291 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700292 devstack_services:
293 cinder: true
294 devstack_local_conf:
295 test-config:
296 $TEMPEST_CONFIG:
297 share:
298 default_share_type_name: default
299 run_share_group_tests: false
300 multitenancy_enabled: true
301 suppress_errors_in_cleanup: true
302 share_creation_retry_number: 2
303 backend_names: LONDON,PARIS
304 multi_backend: true
305 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300306
307- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300308 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300309 description: |
310 Test the scenario test cases on the generic driver multibackend
311 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300312 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300313 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300314
315- job:
316 name: manila-tempest-plugin-generic-scenario-base
317 abstract: true
318 description: |
319 Test the scenario test cases on the generic driver multibackend
320 (DHSS=True) with NFS and CIFS
321 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300322 vars:
323 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
324 # The generic driver uses nova VMs as share servers; running with a
325 # high concurrency could starve the driver of RAM/Disk/CPUs to
326 # function properly in a small single node devstack VM.
327 tempest_concurrency: 1
328
329- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300330 name: manila-tempest-plugin-generic-scenario
331 description: |
332 Test the scenario test cases on the generic driver multibackend
333 (DHSS=True) with NFS and CIFS
334 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300335 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300336
337- job:
338 name: manila-tempest-plugin-cephfs-native-base
339 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300340 description: Test CephFS Native (DHSS=False)
341 parent: manila-tempest-plugin-base
342 required-projects:
343 - openstack/devstack-plugin-ceph
344 vars:
345 devstack_plugins:
346 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300347 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300348 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700349 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300350 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
351 MANILA_ENABLED_BACKENDS: cephfsnative
352 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700353 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300354 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
355 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
356 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
357 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700358 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
359 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300360 # 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 -0700361 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
362 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300363 devstack_local_conf:
364 test-config:
365 $TEMPEST_CONFIG:
366 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300367 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300368 enable_cephx_rules_for_protocols: cephfs
369 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300370 multitenancy_enabled: false
371 suppress_errors_in_cleanup: true
372 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300373 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300374 enable_protocols: cephfs
375 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300376
silvacarloss95b3ac32022-06-23 12:39:00 -0300377- job:
378 name: manila-tempest-plugin-cephfs-native
379 description: Test CephFS Native (DHSS=False)
380 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300381 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300382
383- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300384 name: manila-tempest-plugin-cephfs-nfs-base
385 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300386 description: Test CephFS NFS (DHSS=False)
387 parent: manila-tempest-plugin-base
388 required-projects:
389 - openstack/devstack-plugin-ceph
390 - openstack/neutron-dynamic-routing
391 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500392 tempest_concurrency: 2
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300393 devstack_plugins:
394 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
395 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
396 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700397 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300398 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
399 MANILA_ENABLED_BACKENDS: cephfsnfs
400 ENABLED_SHARE_PROTOCOLS: NFS
401 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
402 MANILA_SERVICE_IMAGE_ENABLED: true
403 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
404 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
405 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
406 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
407 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
408 MANILA_CEPH_DRIVER: cephfsnfs
409 MANILA_SETUP_IPV6: true
410 NEUTRON_CREATE_INITIAL_NETWORKS: false
411 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700412 zuul_copy_output:
413 '/var/log/ganesha': logs
414 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300415 devstack_local_conf:
416 test-config:
417 $TEMPEST_CONFIG:
418 share:
419 default_share_type_name: default
420 run_ipv6_tests: true
421 run_share_group_tests: false
422 multitenancy_enabled: false
423 suppress_errors_in_cleanup: true
424 backend_names: CEPHFSNFS
425 enable_protocols: nfs
426 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300427 image_password: manila
428
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700429- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300430 name: manila-tempest-plugin-cephfs-nfs
431 description: Test CephFS NFS (DHSS=False)
432 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300433 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300434
435- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700436 name: manila-tempest-plugin-dummy-no-dhss
437 description: Test the Dummy driver with DHSS=False
438 parent: manila-tempest-plugin-standalone-base
439 vars:
440 devstack_localrc:
441 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
442 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
443 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
444 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
445 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
446 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
447 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
448 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
449 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
450 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
451 MANILA_OPTGROUP_beta_share_backend_name: BETA
452 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
453 # With below opts we'll enable a DHSS=True back-end solely for
454 # for the migration test case "test_migration_opposite_driver_modes"
455 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
456 MANILA_OPTGROUP_gamma_network_config_group: membernet
457 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
458 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
459 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
460 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
461 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
462 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
463 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
464 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
465 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
466 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
467 devstack_local_conf:
468 test-config:
469 "$TEMPEST_CONFIG":
470 share:
471 backend_names: ALPHA,BETA
472 backend_replication_type: readable
473 build_timeout: 180
474 capability_sg_consistent_snapshot_support: pool
475 enable_ip_rules_for_protocols: nfs
476 enable_ro_access_level_for_protocols: nfs,cifs
477 enable_user_rules_for_protocols: cifs
478 multi_backend: true
479 multitenancy_enabled: false
480 run_driver_assisted_migration_tests: true
481 run_manage_unmanage_snapshot_tests: true
482 run_manage_unmanage_tests: true
483 run_migration_with_preserve_snapshots_tests: true
484 run_mount_snapshot_tests: true
485 run_replication_tests: true
486 run_revert_to_snapshot_tests: true
487 # for migration test case "test_migration_opposite_driver_modes"
488 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300489
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700490- job:
491 name: manila-tempest-plugin-dummy-dhss
492 description: Test the Dummy driver with DHSS=True
493 parent: manila-tempest-plugin-standalone-base
494 vars:
495 devstack_localrc:
496 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
497 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
498 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
499 MANILA_ENABLED_BACKENDS: alpha,beta
500 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
501 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
502 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
503 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
504 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
505 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
506 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
507 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
508 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
509 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
510 MANILA_OPTGROUP_alpha_network_config_group: membernet
511 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
512 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
513 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
514 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
515 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
516 MANILA_OPTGROUP_beta_network_config_group: membernet
517 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
518 MANILA_OPTGROUP_beta_share_backend_name: BETA
519 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
520 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
521 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
522 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
523 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
524 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
525 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
526 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
527 # With below opts we'll enable a DHSS=False back-end solely for
528 # for the migration test case "test_migration_opposite_driver_modes"
529 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
530 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
531 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
532 devstack_local_conf:
533 test-config:
534 "$TEMPEST_CONFIG":
535 share:
536 backend_names: ALPHA,BETA
537 backend_replication_type: readable
538 build_timeout: 180
539 capability_sg_consistent_snapshot_support: pool
540 create_networks_when_multitenancy_enabled: false
541 enable_ip_rules_for_protocols: nfs
542 enable_ro_access_level_for_protocols: nfs,cifs
543 enable_user_rules_for_protocols: cifs
544 multi_backend: true
545 multitenancy_enabled: true
546 run_driver_assisted_migration_tests: true
547 run_manage_unmanage_snapshot_tests: true
548 run_manage_unmanage_tests: true
549 run_migration_with_preserve_snapshots_tests: true
550 run_mount_snapshot_tests: true
551 run_replication_tests: true
552 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000553 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000554 run_share_server_multiple_subnet_tests: true
555 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700556
557- job:
558 name: manila-tempest-plugin-glusterfs-native
559 description: |
560 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
561 parent: manila-tempest-plugin-standalone-base
562 required-projects:
563 - x/devstack-plugin-glusterfs
564 vars:
565 tempest_concurrency: 8
566 devstack_plugins:
567 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
568 devstack_localrc:
569 CONFIGURE_GLUSTERFS_MANILA: true
570 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
571 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
572 devstack_local_conf:
573 test-config:
574 $TEMPEST_CONFIG:
575 share:
576 run_share_group_tests: false
577 run_snapshot_tests: false
578 multitenancy_enabled: false
579 run_shrink_tests: false
580 run_extend_tests: false
581 multi_backend: false
582 suppress_errors_in_cleanup: True
583 share_creation_retry_number: 2
584 backend_names: GLUSTERNATIVE
585 enable_cert_rules_for_protocols: glusterfs
586 capability_storage_protocol: glusterfs
587 enable_protocols: glusterfs
588
589- job:
590 name: manila-tempest-plugin-glusterfs-nfs
591 description: |
592 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
593 parent: manila-tempest-plugin-standalone-base
594 required-projects:
595 - x/devstack-plugin-glusterfs
596 vars:
597 tempest_concurrency: 8
598 devstack_plugins:
599 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
600 devstack_localrc:
601 CONFIGURE_GLUSTERFS_MANILA: true
602 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
603 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
604 devstack_local_conf:
605 test-config:
606 $TEMPEST_CONFIG:
607 share:
608 run_share_group_tests: false
609 run_snapshot_tests: false
610 multitenancy_enabled: False
611 run_shrink_tests: true
612 multi_backend: false
613 suppress_errors_in_cleanup: True
614 share_creation_retry_number: 2
615 backend_names: GLUSTERFS
616 enable_ip_rules_for_protocols: nfs
617 capability_storage_protocol: NFS
618 enable_protocols: nfs
619 # read-only access rules not supported
620 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300621
silvacarlosse21dbfd2022-06-29 15:46:45 -0300622- job:
623 name: manila-tempest-plugin-lvm-fips-base
624 parent: manila-tempest-plugin-lvm-base
625 nodeset: devstack-single-node-centos-9-stream
626 description: |
627 Run LVM DHSS false tests for manila project using FIPS.
628 pre-run:
629 - playbooks/enable-fips.yaml
630 vars:
631 nslookup_target: 'opendev.org'
632 devstack_localrc:
633 MANILA_SETUP_IPV6: false
634 NEUTRON_CREATE_INITIAL_NETWORKS: true
635 IP_VERSION: 4
636 configure_swap_size: 4096
637 devstack_local_conf:
638 test-config:
639 "$TEMPEST_CONFIG":
640 validation:
641 ssh_key_type: 'ecdsa'
642 share:
643 run_ipv6_tests: false
644
645- job:
646 name: manila-tempest-plugin-lvm-fips
647 parent: manila-tempest-plugin-lvm-fips-base
648 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
649
silvacarloss95b3ac32022-06-23 12:39:00 -0300650- project-template:
651 name: manila-tempest-plugin-jobs-using-service-image
652 description: |
653 Runs jobs that will also perform scenario tests in the branches that are
654 newer than Yoga.
655 check:
656 jobs:
657 - manila-tempest-plugin-lvm
658 - manila-tempest-plugin-generic-scenario:
659 voting: false
660 - manila-tempest-plugin-generic:
661 voting: false
662 - manila-tempest-plugin-cephfs-native:
663 voting: false
664 - manila-tempest-plugin-cephfs-nfs:
665 voting: false
666 - manila-tempest-plugin-zfsonlinux:
667 voting: false
668 gate:
669 jobs:
670 - manila-tempest-plugin-lvm