blob: a68aafe36bb1790f16121612c8dccb96d4f495c4 [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
50
51- 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 Ravi8ccbbeb2021-08-19 17:01:21 -070061 vars:
62 <<: *manila-tempest-base-vars
Goutham Pacha Ravib4c94c82021-12-09 11:46:40 -080063 # NOTE(gouthamr): Disabled until https://launchpad.net/bugs/1940324 is
64 # fixed.
Goutham Pacha Ravi8ccbbeb2021-08-19 17:01:21 -070065 tempest_exclude_regex: "(^manila_tempest_tests.tests.scenario.*IPv6.*)"
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070066
67- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070068 name: manila-tempest-plugin-standalone-base
69 abstract: true
70 description: |
71 Base job for running a minimal devstack with tempest based manila jobs.
72 timeout: 3600
73 parent: devstack-minimal
74 irrelevant-files: *irrelevant-files
75 roles:
76 - zuul: opendev.org/openstack/devstack
77 - zuul: opendev.org/openstack/tempest
78 required-projects:
79 - openstack/keystone
80 - openstack/manila
81 - openstack/manila-tempest-plugin
82 - openstack/python-manilaclient
83 - openstack/tempest
84 run: playbooks/manila-tempest-plugin-standalone/run.yaml
85 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
86 vars:
87 tox_envlist: all
88 tempest_test_regex: manila_tempest_tests.tests.api
89 tempest_concurrency: 16
90 tempest_plugins:
91 - manila-tempest-plugin
92 devstack_plugins:
93 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070094 test_results_stage_name: test_results
95 zuul_copy_output:
96 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
97 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
98 '{{ devstack_base_dir }}/tempest/tempest.log': logs
99 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
100 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
101 '{{ stage_dir }}/stackviz': logs
102 extensions_to_txt:
103 conf: true
104 log: true
105 yaml: true
106 yml: true
107 devstack_localrc:
108 USE_PYTHON3: true
109 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
110 MANILA_SERVICE_IMAGE_ENABLED: false
111 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000112 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700113 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
114 devstack_services:
115 tls-proxy: true
116 key: true
117 tempest: true
118
119- job:
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700120 name: manila-tempest-plugin-zfsonlinux
121 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:
165 name: manila-tempest-plugin-lvm
166 description: |
167 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
168 environment with IPv6 control plane endpoints.
169 parent: manila-tempest-plugin-ipv6-base
170 required-projects:
171 - openstack/neutron-dynamic-routing
172 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700173 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700174 devstack_localrc:
175 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
176 MANILA_ENABLED_BACKENDS: london,paris
177 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
178 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
179 MANILA_SHARE_BACKEND1_NAME: LONDON
180 MANILA_SHARE_BACKEND2_NAME: PARIS
181 MANILA_OPTGROUP_london_driver_handles_share_servers: false
182 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
183 SHARE_BACKING_FILE_SIZE: 32000M
184 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
185 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
186 MANILA_SETUP_IPV6: true
187 NEUTRON_CREATE_INITIAL_NETWORKS: false
188 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
189 devstack_plugins:
190 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
191 devstack_local_conf:
192 test-config:
193 $TEMPEST_CONFIG:
194 share:
195 default_share_type_name: default
196 run_ipv6_tests: true
197 run_mount_snapshot_tests: true
198 run_host_assisted_migration_tests: true
199 run_shrink_tests: false
200 run_revert_to_snapshot_tests: true
201 enable_user_rules_for_protocols: cifs
202 enable_ip_rules_for_protocols: nfs
203 multitenancy_enabled: False
204 backend_names: LONDON,PARIS
205 multi_backend: true
206 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700207
208- job:
209 name: manila-tempest-plugin-container
210 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700211 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700212 and postgresql db. API only, in a minimal devstack
213 parent: manila-tempest-plugin-base
214 vars:
215 tempest_test_regex: manila_tempest_tests.tests.api
216 devstack_localrc:
217 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
218 MANILA_SERVICE_IMAGE_ENABLED: false
219 MANILA_ENABLED_BACKENDS: london,paris
220 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
221 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
222 MANILA_SHARE_BACKEND1_NAME: LONDON
223 MANILA_SHARE_BACKEND2_NAME: PARIS
224 MANILA_OPTGROUP_london_driver_handles_share_servers: true
225 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
226 SHARE_BACKING_FILE_SIZE: 64000M
227 MANILA_CONFIGURE_DEFAULT_TYPES: false
228 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700229 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700230 devstack_services:
231 mysql: false
232 postgresql: true
233 devstack_local_conf:
234 test-config:
235 $TEMPEST_CONFIG:
236 share:
237 enable_ip_rules_for_protocols: ""
238 run_share_group_tests: false
239 run_manage_unmanage_tests: true
240 run_snapshot_tests: false
241 run_shrink_tests: false
242 enable_user_rules_for_protocols: cifs
243 enable_protocols: cifs
244 capability_storage_protocol: CIFS
245 multitenancy_enabled: true
246 backend_names: LONDON,PARIS
247 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000248 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000249 run_share_server_multiple_subnet_tests: true
250 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700251
252- job:
253 name: manila-tempest-plugin-generic
254 description: |
255 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
256 parent: manila-tempest-plugin-base
257 vars:
258 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
259 # The generic driver uses nova VMs as share servers; running with a
260 # high concurrency could starve the driver of RAM/Disk/CPUs to
261 # function properly in a small single node devstack VM.
262 tempest_concurrency: 2
263 devstack_localrc:
264 VOLUME_BACKING_FILE_SIZE: 24G
265 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
266 MANILA_ENABLED_BACKENDS: london,paris
267 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
268 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
269 MANILA_SHARE_BACKEND1_NAME: LONDON
270 MANILA_SHARE_BACKEND2_NAME: PARIS
271 MANILA_OPTGROUP_london_driver_handles_share_servers: true
272 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
273 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
274 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700275 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700276 devstack_services:
277 cinder: true
278 devstack_local_conf:
279 test-config:
280 $TEMPEST_CONFIG:
281 share:
282 default_share_type_name: default
283 run_share_group_tests: false
284 multitenancy_enabled: true
285 suppress_errors_in_cleanup: true
286 share_creation_retry_number: 2
287 backend_names: LONDON,PARIS
288 multi_backend: true
289 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300290
291- job:
292 name: manila-tempest-plugin-cephfs-native
293 description: Test CephFS Native (DHSS=False)
294 parent: manila-tempest-plugin-base
295 required-projects:
296 - openstack/devstack-plugin-ceph
297 vars:
298 devstack_plugins:
299 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300300 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300301 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700302 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300303 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
304 MANILA_ENABLED_BACKENDS: cephfsnative
305 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700306 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300307 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
308 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
309 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
310 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700311 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
312 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300313 # 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 -0700314 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
315 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300316 devstack_local_conf:
317 test-config:
318 $TEMPEST_CONFIG:
319 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300320 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300321 enable_cephx_rules_for_protocols: cephfs
322 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300323 multitenancy_enabled: false
324 suppress_errors_in_cleanup: true
325 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300326 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300327 enable_protocols: cephfs
328 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300329
330
331- job:
332 name: manila-tempest-plugin-cephfs-nfs
333 description: Test CephFS NFS (DHSS=False)
334 parent: manila-tempest-plugin-base
335 required-projects:
336 - openstack/devstack-plugin-ceph
337 - openstack/neutron-dynamic-routing
338 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500339 tempest_concurrency: 2
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300340 devstack_plugins:
341 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
342 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
343 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700344 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300345 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
346 MANILA_ENABLED_BACKENDS: cephfsnfs
347 ENABLED_SHARE_PROTOCOLS: NFS
348 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
349 MANILA_SERVICE_IMAGE_ENABLED: true
350 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
351 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
352 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
353 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
354 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
355 MANILA_CEPH_DRIVER: cephfsnfs
356 MANILA_SETUP_IPV6: true
357 NEUTRON_CREATE_INITIAL_NETWORKS: false
358 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700359 zuul_copy_output:
360 '/var/log/ganesha': logs
361 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300362 devstack_local_conf:
363 test-config:
364 $TEMPEST_CONFIG:
365 share:
366 default_share_type_name: default
367 run_ipv6_tests: true
368 run_share_group_tests: false
369 multitenancy_enabled: false
370 suppress_errors_in_cleanup: true
371 backend_names: CEPHFSNFS
372 enable_protocols: nfs
373 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300374 image_password: manila
375
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700376- job:
377 name: manila-tempest-plugin-dummy-no-dhss
378 description: Test the Dummy driver with DHSS=False
379 parent: manila-tempest-plugin-standalone-base
380 vars:
381 devstack_localrc:
382 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
383 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
384 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
385 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
386 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
387 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
388 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
389 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
390 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
391 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
392 MANILA_OPTGROUP_beta_share_backend_name: BETA
393 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
394 # With below opts we'll enable a DHSS=True back-end solely for
395 # for the migration test case "test_migration_opposite_driver_modes"
396 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
397 MANILA_OPTGROUP_gamma_network_config_group: membernet
398 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
399 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
400 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
401 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
402 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
403 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
404 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
405 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
406 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
407 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
408 devstack_local_conf:
409 test-config:
410 "$TEMPEST_CONFIG":
411 share:
412 backend_names: ALPHA,BETA
413 backend_replication_type: readable
414 build_timeout: 180
415 capability_sg_consistent_snapshot_support: pool
416 enable_ip_rules_for_protocols: nfs
417 enable_ro_access_level_for_protocols: nfs,cifs
418 enable_user_rules_for_protocols: cifs
419 multi_backend: true
420 multitenancy_enabled: false
421 run_driver_assisted_migration_tests: true
422 run_manage_unmanage_snapshot_tests: true
423 run_manage_unmanage_tests: true
424 run_migration_with_preserve_snapshots_tests: true
425 run_mount_snapshot_tests: true
426 run_replication_tests: true
427 run_revert_to_snapshot_tests: true
428 # for migration test case "test_migration_opposite_driver_modes"
429 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300430
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700431- job:
432 name: manila-tempest-plugin-dummy-dhss
433 description: Test the Dummy driver with DHSS=True
434 parent: manila-tempest-plugin-standalone-base
435 vars:
436 devstack_localrc:
437 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
438 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
439 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
440 MANILA_ENABLED_BACKENDS: alpha,beta
441 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
442 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
443 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
444 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
445 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
446 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
447 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
448 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
449 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
450 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
451 MANILA_OPTGROUP_alpha_network_config_group: membernet
452 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
453 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
454 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
455 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
456 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
457 MANILA_OPTGROUP_beta_network_config_group: membernet
458 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
459 MANILA_OPTGROUP_beta_share_backend_name: BETA
460 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
461 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
462 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
463 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
464 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
465 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
466 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
467 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
468 # With below opts we'll enable a DHSS=False back-end solely for
469 # for the migration test case "test_migration_opposite_driver_modes"
470 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
471 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
472 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
473 devstack_local_conf:
474 test-config:
475 "$TEMPEST_CONFIG":
476 share:
477 backend_names: ALPHA,BETA
478 backend_replication_type: readable
479 build_timeout: 180
480 capability_sg_consistent_snapshot_support: pool
481 create_networks_when_multitenancy_enabled: false
482 enable_ip_rules_for_protocols: nfs
483 enable_ro_access_level_for_protocols: nfs,cifs
484 enable_user_rules_for_protocols: cifs
485 multi_backend: true
486 multitenancy_enabled: true
487 run_driver_assisted_migration_tests: true
488 run_manage_unmanage_snapshot_tests: true
489 run_manage_unmanage_tests: true
490 run_migration_with_preserve_snapshots_tests: true
491 run_mount_snapshot_tests: true
492 run_replication_tests: true
493 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000494 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000495 run_share_server_multiple_subnet_tests: true
496 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700497
498- job:
499 name: manila-tempest-plugin-glusterfs-native
500 description: |
501 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
502 parent: manila-tempest-plugin-standalone-base
503 required-projects:
504 - x/devstack-plugin-glusterfs
505 vars:
506 tempest_concurrency: 8
507 devstack_plugins:
508 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
509 devstack_localrc:
510 CONFIGURE_GLUSTERFS_MANILA: true
511 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
512 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
513 devstack_local_conf:
514 test-config:
515 $TEMPEST_CONFIG:
516 share:
517 run_share_group_tests: false
518 run_snapshot_tests: false
519 multitenancy_enabled: false
520 run_shrink_tests: false
521 run_extend_tests: false
522 multi_backend: false
523 suppress_errors_in_cleanup: True
524 share_creation_retry_number: 2
525 backend_names: GLUSTERNATIVE
526 enable_cert_rules_for_protocols: glusterfs
527 capability_storage_protocol: glusterfs
528 enable_protocols: glusterfs
529
530- job:
531 name: manila-tempest-plugin-glusterfs-nfs
532 description: |
533 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
534 parent: manila-tempest-plugin-standalone-base
535 required-projects:
536 - x/devstack-plugin-glusterfs
537 vars:
538 tempest_concurrency: 8
539 devstack_plugins:
540 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
541 devstack_localrc:
542 CONFIGURE_GLUSTERFS_MANILA: true
543 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
544 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
545 devstack_local_conf:
546 test-config:
547 $TEMPEST_CONFIG:
548 share:
549 run_share_group_tests: false
550 run_snapshot_tests: false
551 multitenancy_enabled: False
552 run_shrink_tests: true
553 multi_backend: false
554 suppress_errors_in_cleanup: True
555 share_creation_retry_number: 2
556 backend_names: GLUSTERFS
557 enable_ip_rules_for_protocols: nfs
558 capability_storage_protocol: NFS
559 enable_protocols: nfs
560 # read-only access rules not supported
561 enable_ro_access_level_for_protocols: ""