blob: 1dfe3f8b41ba5f103955dd12f5d3e42ccaf0b5e9 [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
31 manila-tempest-plugin: https://opendev.org/openstack/manila-tempest-plugin
32 devstack_services:
33 cinder: false
34 s-account: false
35 s-container: false
36 s-object: false
37 s-proxy: false
38 horizon: false
39 tls-proxy: true
40 devstack_localrc:
41 USE_PYTHON3: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070042 MANILA_USE_DOWNGRADE_MIGRATIONS: true
43 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
44 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
45 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070046 MANILA_CONFIGURE_DEFAULT_TYPES: true
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070047 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
48 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
61 vars: *manila-tempest-base-vars
62
63- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070064 name: manila-tempest-plugin-standalone-base
65 abstract: true
66 description: |
67 Base job for running a minimal devstack with tempest based manila jobs.
68 timeout: 3600
69 parent: devstack-minimal
70 irrelevant-files: *irrelevant-files
71 roles:
72 - zuul: opendev.org/openstack/devstack
73 - zuul: opendev.org/openstack/tempest
74 required-projects:
75 - openstack/keystone
76 - openstack/manila
77 - openstack/manila-tempest-plugin
78 - openstack/python-manilaclient
79 - openstack/tempest
80 run: playbooks/manila-tempest-plugin-standalone/run.yaml
81 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
82 vars:
83 tox_envlist: all
84 tempest_test_regex: manila_tempest_tests.tests.api
85 tempest_concurrency: 16
86 tempest_plugins:
87 - manila-tempest-plugin
88 devstack_plugins:
89 manila: https://opendev.org/openstack/manila
90 manila-tempest-plugin: https://opendev.org/openstack/manila-tempest-plugin
91 test_results_stage_name: test_results
92 zuul_copy_output:
93 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
94 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
95 '{{ devstack_base_dir }}/tempest/tempest.log': logs
96 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
97 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
98 '{{ stage_dir }}/stackviz': logs
99 extensions_to_txt:
100 conf: true
101 log: true
102 yaml: true
103 yml: true
104 devstack_localrc:
105 USE_PYTHON3: true
106 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
107 MANILA_SERVICE_IMAGE_ENABLED: false
108 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
109 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
110 devstack_services:
111 tls-proxy: true
112 key: true
113 tempest: true
114
115- job:
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700116 name: manila-tempest-plugin-zfsonlinux
117 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:
161 name: manila-tempest-plugin-lvm
162 description: |
163 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
164 environment with IPv6 control plane endpoints.
165 parent: manila-tempest-plugin-ipv6-base
166 required-projects:
167 - openstack/neutron-dynamic-routing
168 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700169 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700170 devstack_localrc:
171 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
172 MANILA_ENABLED_BACKENDS: london,paris
173 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
174 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
175 MANILA_SHARE_BACKEND1_NAME: LONDON
176 MANILA_SHARE_BACKEND2_NAME: PARIS
177 MANILA_OPTGROUP_london_driver_handles_share_servers: false
178 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
179 SHARE_BACKING_FILE_SIZE: 32000M
180 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
181 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
182 MANILA_SETUP_IPV6: true
183 NEUTRON_CREATE_INITIAL_NETWORKS: false
184 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
185 devstack_plugins:
186 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
187 devstack_local_conf:
188 test-config:
189 $TEMPEST_CONFIG:
190 share:
191 default_share_type_name: default
192 run_ipv6_tests: true
193 run_mount_snapshot_tests: true
194 run_host_assisted_migration_tests: true
195 run_shrink_tests: false
196 run_revert_to_snapshot_tests: true
197 enable_user_rules_for_protocols: cifs
198 enable_ip_rules_for_protocols: nfs
199 multitenancy_enabled: False
200 backend_names: LONDON,PARIS
201 multi_backend: true
202 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700203
204- job:
205 name: manila-tempest-plugin-container
206 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700207 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700208 and postgresql db. API only, in a minimal devstack
209 parent: manila-tempest-plugin-base
210 vars:
211 tempest_test_regex: manila_tempest_tests.tests.api
212 devstack_localrc:
213 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
214 MANILA_SERVICE_IMAGE_ENABLED: false
215 MANILA_ENABLED_BACKENDS: london,paris
216 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
217 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
218 MANILA_SHARE_BACKEND1_NAME: LONDON
219 MANILA_SHARE_BACKEND2_NAME: PARIS
220 MANILA_OPTGROUP_london_driver_handles_share_servers: true
221 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
222 SHARE_BACKING_FILE_SIZE: 64000M
223 MANILA_CONFIGURE_DEFAULT_TYPES: false
224 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700225 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700226 devstack_services:
227 mysql: false
228 postgresql: true
229 devstack_local_conf:
230 test-config:
231 $TEMPEST_CONFIG:
232 share:
233 enable_ip_rules_for_protocols: ""
234 run_share_group_tests: false
235 run_manage_unmanage_tests: true
236 run_snapshot_tests: false
237 run_shrink_tests: false
238 enable_user_rules_for_protocols: cifs
239 enable_protocols: cifs
240 capability_storage_protocol: CIFS
241 multitenancy_enabled: true
242 backend_names: LONDON,PARIS
243 multi_backend: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700244
245- job:
246 name: manila-tempest-plugin-generic
247 description: |
248 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
249 parent: manila-tempest-plugin-base
250 vars:
251 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
252 # The generic driver uses nova VMs as share servers; running with a
253 # high concurrency could starve the driver of RAM/Disk/CPUs to
254 # function properly in a small single node devstack VM.
255 tempest_concurrency: 2
256 devstack_localrc:
257 VOLUME_BACKING_FILE_SIZE: 24G
258 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
259 MANILA_ENABLED_BACKENDS: london,paris
260 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
261 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
262 MANILA_SHARE_BACKEND1_NAME: LONDON
263 MANILA_SHARE_BACKEND2_NAME: PARIS
264 MANILA_OPTGROUP_london_driver_handles_share_servers: true
265 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
266 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
267 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700268 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700269 devstack_services:
270 cinder: true
271 devstack_local_conf:
272 test-config:
273 $TEMPEST_CONFIG:
274 share:
275 default_share_type_name: default
276 run_share_group_tests: false
277 multitenancy_enabled: true
278 suppress_errors_in_cleanup: true
279 share_creation_retry_number: 2
280 backend_names: LONDON,PARIS
281 multi_backend: true
282 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300283
284- job:
285 name: manila-tempest-plugin-cephfs-native
286 description: Test CephFS Native (DHSS=False)
287 parent: manila-tempest-plugin-base
288 required-projects:
289 - openstack/devstack-plugin-ceph
290 vars:
291 devstack_plugins:
292 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300293 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300294 devstack_localrc:
295 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
296 MANILA_ENABLED_BACKENDS: cephfsnative
297 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700298 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300299 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
300 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
301 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
302 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700303 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
304 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300305 # 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 -0700306 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
307 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300308 devstack_local_conf:
309 test-config:
310 $TEMPEST_CONFIG:
311 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300312 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300313 enable_cephx_rules_for_protocols: cephfs
314 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300315 multitenancy_enabled: false
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700316 capability_create_share_from_snapshot_support: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300317 suppress_errors_in_cleanup: true
318 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300319 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300320 enable_protocols: cephfs
321 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300322
323
324- job:
325 name: manila-tempest-plugin-cephfs-nfs
326 description: Test CephFS NFS (DHSS=False)
327 parent: manila-tempest-plugin-base
328 required-projects:
329 - openstack/devstack-plugin-ceph
330 - openstack/neutron-dynamic-routing
331 vars:
332 devstack_plugins:
333 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
334 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
335 devstack_localrc:
336 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
337 MANILA_ENABLED_BACKENDS: cephfsnfs
338 ENABLED_SHARE_PROTOCOLS: NFS
339 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
340 MANILA_SERVICE_IMAGE_ENABLED: true
341 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
342 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
343 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
344 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
345 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
346 MANILA_CEPH_DRIVER: cephfsnfs
347 MANILA_SETUP_IPV6: true
348 NEUTRON_CREATE_INITIAL_NETWORKS: false
349 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
350 devstack_local_conf:
351 test-config:
352 $TEMPEST_CONFIG:
353 share:
354 default_share_type_name: default
355 run_ipv6_tests: true
356 run_share_group_tests: false
357 multitenancy_enabled: false
358 suppress_errors_in_cleanup: true
359 backend_names: CEPHFSNFS
360 enable_protocols: nfs
361 capability_storage_protocol: NFS
362 capability_create_share_from_snapshot_support: false
363 image_password: manila
364
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700365- job:
366 name: manila-tempest-plugin-dummy-no-dhss
367 description: Test the Dummy driver with DHSS=False
368 parent: manila-tempest-plugin-standalone-base
369 vars:
370 devstack_localrc:
371 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
372 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
373 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
374 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
375 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
376 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
377 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
378 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
379 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
380 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
381 MANILA_OPTGROUP_beta_share_backend_name: BETA
382 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
383 # With below opts we'll enable a DHSS=True back-end solely for
384 # for the migration test case "test_migration_opposite_driver_modes"
385 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
386 MANILA_OPTGROUP_gamma_network_config_group: membernet
387 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
388 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
389 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
390 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
391 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
392 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
393 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
394 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
395 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
396 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
397 devstack_local_conf:
398 test-config:
399 "$TEMPEST_CONFIG":
400 share:
401 backend_names: ALPHA,BETA
402 backend_replication_type: readable
403 build_timeout: 180
404 capability_sg_consistent_snapshot_support: pool
405 enable_ip_rules_for_protocols: nfs
406 enable_ro_access_level_for_protocols: nfs,cifs
407 enable_user_rules_for_protocols: cifs
408 multi_backend: true
409 multitenancy_enabled: false
410 run_driver_assisted_migration_tests: true
411 run_manage_unmanage_snapshot_tests: true
412 run_manage_unmanage_tests: true
413 run_migration_with_preserve_snapshots_tests: true
414 run_mount_snapshot_tests: true
415 run_replication_tests: true
416 run_revert_to_snapshot_tests: true
417 # for migration test case "test_migration_opposite_driver_modes"
418 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300419
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700420- job:
421 name: manila-tempest-plugin-dummy-dhss
422 description: Test the Dummy driver with DHSS=True
423 parent: manila-tempest-plugin-standalone-base
424 vars:
425 devstack_localrc:
426 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
427 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
428 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
429 MANILA_ENABLED_BACKENDS: alpha,beta
430 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
431 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
432 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
433 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
434 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
435 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
436 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
437 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
438 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
439 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
440 MANILA_OPTGROUP_alpha_network_config_group: membernet
441 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
442 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
443 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
444 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
445 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
446 MANILA_OPTGROUP_beta_network_config_group: membernet
447 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
448 MANILA_OPTGROUP_beta_share_backend_name: BETA
449 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
450 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
451 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
452 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
453 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
454 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
455 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
456 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
457 # With below opts we'll enable a DHSS=False back-end solely for
458 # for the migration test case "test_migration_opposite_driver_modes"
459 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
460 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
461 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
462 devstack_local_conf:
463 test-config:
464 "$TEMPEST_CONFIG":
465 share:
466 backend_names: ALPHA,BETA
467 backend_replication_type: readable
468 build_timeout: 180
469 capability_sg_consistent_snapshot_support: pool
470 create_networks_when_multitenancy_enabled: false
471 enable_ip_rules_for_protocols: nfs
472 enable_ro_access_level_for_protocols: nfs,cifs
473 enable_user_rules_for_protocols: cifs
474 multi_backend: true
475 multitenancy_enabled: true
476 run_driver_assisted_migration_tests: true
477 run_manage_unmanage_snapshot_tests: true
478 run_manage_unmanage_tests: true
479 run_migration_with_preserve_snapshots_tests: true
480 run_mount_snapshot_tests: true
481 run_replication_tests: true
482 run_revert_to_snapshot_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700483
484- job:
485 name: manila-tempest-plugin-glusterfs-native
486 description: |
487 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
488 parent: manila-tempest-plugin-standalone-base
489 required-projects:
490 - x/devstack-plugin-glusterfs
491 vars:
492 tempest_concurrency: 8
493 devstack_plugins:
494 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
495 devstack_localrc:
496 CONFIGURE_GLUSTERFS_MANILA: true
497 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
498 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
499 devstack_local_conf:
500 test-config:
501 $TEMPEST_CONFIG:
502 share:
503 run_share_group_tests: false
504 run_snapshot_tests: false
505 multitenancy_enabled: false
506 run_shrink_tests: false
507 run_extend_tests: false
508 multi_backend: false
509 suppress_errors_in_cleanup: True
510 share_creation_retry_number: 2
511 backend_names: GLUSTERNATIVE
512 enable_cert_rules_for_protocols: glusterfs
513 capability_storage_protocol: glusterfs
514 enable_protocols: glusterfs
515
516- job:
517 name: manila-tempest-plugin-glusterfs-nfs
518 description: |
519 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
520 parent: manila-tempest-plugin-standalone-base
521 required-projects:
522 - x/devstack-plugin-glusterfs
523 vars:
524 tempest_concurrency: 8
525 devstack_plugins:
526 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
527 devstack_localrc:
528 CONFIGURE_GLUSTERFS_MANILA: true
529 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
530 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
531 devstack_local_conf:
532 test-config:
533 $TEMPEST_CONFIG:
534 share:
535 run_share_group_tests: false
536 run_snapshot_tests: false
537 multitenancy_enabled: False
538 run_shrink_tests: true
539 multi_backend: false
540 suppress_errors_in_cleanup: True
541 share_creation_retry_number: 2
542 backend_names: GLUSTERFS
543 enable_ip_rules_for_protocols: nfs
544 capability_storage_protocol: NFS
545 enable_protocols: nfs
546 # read-only access rules not supported
547 enable_ro_access_level_for_protocols: ""