blob: 766669c481c472ce43a91d544c944c36def07db3 [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
debeltrami0d523bb2020-08-20 12:48:49 +000048 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070049 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070050
51
52- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070053 name: manila-tempest-plugin-ipv6-base
54 abstract: true
55 description: |
56 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
57 devstack environment with IPv6 control plane endpoints.
58 parent: devstack-tempest-ipv6
59 timeout: 10800
60 irrelevant-files: *irrelevant-files
61 required-projects: *manila-tempest-required-projects
62 vars: *manila-tempest-base-vars
63
64- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070065 name: manila-tempest-plugin-standalone-base
66 abstract: true
67 description: |
68 Base job for running a minimal devstack with tempest based manila jobs.
69 timeout: 3600
70 parent: devstack-minimal
71 irrelevant-files: *irrelevant-files
72 roles:
73 - zuul: opendev.org/openstack/devstack
74 - zuul: opendev.org/openstack/tempest
75 required-projects:
76 - openstack/keystone
77 - openstack/manila
78 - openstack/manila-tempest-plugin
79 - openstack/python-manilaclient
80 - openstack/tempest
81 run: playbooks/manila-tempest-plugin-standalone/run.yaml
82 post-run: playbooks/manila-tempest-plugin-standalone/post.yaml
83 vars:
84 tox_envlist: all
85 tempest_test_regex: manila_tempest_tests.tests.api
86 tempest_concurrency: 16
87 tempest_plugins:
88 - manila-tempest-plugin
89 devstack_plugins:
90 manila: https://opendev.org/openstack/manila
91 manila-tempest-plugin: https://opendev.org/openstack/manila-tempest-plugin
92 test_results_stage_name: test_results
93 zuul_copy_output:
94 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
95 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
96 '{{ devstack_base_dir }}/tempest/tempest.log': logs
97 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
98 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
99 '{{ stage_dir }}/stackviz': logs
100 extensions_to_txt:
101 conf: true
102 log: true
103 yaml: true
104 yml: true
105 devstack_localrc:
106 USE_PYTHON3: true
107 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
108 MANILA_SERVICE_IMAGE_ENABLED: false
109 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000110 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700111 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
112 devstack_services:
113 tls-proxy: true
114 key: true
115 tempest: true
116
117- job:
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700118 name: manila-tempest-plugin-zfsonlinux
119 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
120 parent: manila-tempest-plugin-base
121 vars:
122 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
123 devstack_localrc:
124 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
125 MANILA_ENABLED_BACKENDS: london,paris
126 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
127 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
128 MANILA_SHARE_BACKEND1_NAME: LONDON
129 MANILA_SHARE_BACKEND2_NAME: PARIS
130 MANILA_OPTGROUP_london_driver_handles_share_servers: false
131 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
132 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
133 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
134 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
135 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700136 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
137 devstack_services:
138 mysql: false
139 postgresql: true
140 devstack_local_conf:
141 test-config:
142 $TEMPEST_CONFIG:
143 share:
144 default_share_type_name: default
145 run_driver_assisted_migration_tests: true
146 run_host_assisted_migration_tests: true
147 run_replication_tests: true
148 run_manage_unmanage_snapshot_tests: true
149 run_manage_unmanage_tests: true
150 run_multiple_share_replicas_tests: false
151 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
152 backend_replication_type: readable
153 enable_protocols: nfs
154 capability_storage_protocol: NFS
155 build_timeout: 180
156 enable_ip_rules_for_protocols: nfs
157 multitenancy_enabled: False
158 backend_names: LONDON,PARIS
159 multi_backend: true
160 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700161
162- job:
163 name: manila-tempest-plugin-lvm
164 description: |
165 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
166 environment with IPv6 control plane endpoints.
167 parent: manila-tempest-plugin-ipv6-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500168 # TODO(gmann): Remove the below nodeset setting to Bionic once
169 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
170 # Once nodeset is removed form here then devstack base job
171 # will automatically run this job on Ubuntu Focal nodeset from
172 # Victoria gate onwards.
173 nodeset: openstack-single-node-bionic
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 Ravi4484d1a2020-05-04 17:34:38 -0700178 devstack_localrc:
179 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
180 MANILA_ENABLED_BACKENDS: london,paris
181 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
182 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
183 MANILA_SHARE_BACKEND1_NAME: LONDON
184 MANILA_SHARE_BACKEND2_NAME: PARIS
185 MANILA_OPTGROUP_london_driver_handles_share_servers: false
186 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
187 SHARE_BACKING_FILE_SIZE: 32000M
188 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
189 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
190 MANILA_SETUP_IPV6: true
191 NEUTRON_CREATE_INITIAL_NETWORKS: false
192 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
193 devstack_plugins:
194 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
195 devstack_local_conf:
196 test-config:
197 $TEMPEST_CONFIG:
198 share:
199 default_share_type_name: default
200 run_ipv6_tests: true
201 run_mount_snapshot_tests: true
202 run_host_assisted_migration_tests: true
203 run_shrink_tests: false
204 run_revert_to_snapshot_tests: true
205 enable_user_rules_for_protocols: cifs
206 enable_ip_rules_for_protocols: nfs
207 multitenancy_enabled: False
208 backend_names: LONDON,PARIS
209 multi_backend: true
210 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700211
212- job:
213 name: manila-tempest-plugin-container
214 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700215 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700216 and postgresql db. API only, in a minimal devstack
217 parent: manila-tempest-plugin-base
218 vars:
219 tempest_test_regex: manila_tempest_tests.tests.api
220 devstack_localrc:
221 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
222 MANILA_SERVICE_IMAGE_ENABLED: false
223 MANILA_ENABLED_BACKENDS: london,paris
224 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
225 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
226 MANILA_SHARE_BACKEND1_NAME: LONDON
227 MANILA_SHARE_BACKEND2_NAME: PARIS
228 MANILA_OPTGROUP_london_driver_handles_share_servers: true
229 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
230 SHARE_BACKING_FILE_SIZE: 64000M
231 MANILA_CONFIGURE_DEFAULT_TYPES: false
232 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700233 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700234 devstack_services:
235 mysql: false
236 postgresql: true
237 devstack_local_conf:
238 test-config:
239 $TEMPEST_CONFIG:
240 share:
241 enable_ip_rules_for_protocols: ""
242 run_share_group_tests: false
243 run_manage_unmanage_tests: true
244 run_snapshot_tests: false
245 run_shrink_tests: false
246 enable_user_rules_for_protocols: cifs
247 enable_protocols: cifs
248 capability_storage_protocol: CIFS
249 multitenancy_enabled: true
250 backend_names: LONDON,PARIS
251 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000252 run_share_server_migration_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700253
254- job:
255 name: manila-tempest-plugin-generic
256 description: |
257 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
258 parent: manila-tempest-plugin-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500259 # TODO(gmann): Remove the below nodeset setting to Bionic once
260 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
261 # Once nodeset is removed form here then devstack base job
262 # will automatically run this job on Ubuntu Focal nodeset from
263 # Victoria gate onwards.
264 nodeset: openstack-single-node-bionic
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700265 vars:
266 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
267 # The generic driver uses nova VMs as share servers; running with a
268 # high concurrency could starve the driver of RAM/Disk/CPUs to
269 # function properly in a small single node devstack VM.
270 tempest_concurrency: 2
271 devstack_localrc:
272 VOLUME_BACKING_FILE_SIZE: 24G
273 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
274 MANILA_ENABLED_BACKENDS: london,paris
275 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
276 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
277 MANILA_SHARE_BACKEND1_NAME: LONDON
278 MANILA_SHARE_BACKEND2_NAME: PARIS
279 MANILA_OPTGROUP_london_driver_handles_share_servers: true
280 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
281 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
282 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700283 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700284 devstack_services:
285 cinder: true
286 devstack_local_conf:
287 test-config:
288 $TEMPEST_CONFIG:
289 share:
290 default_share_type_name: default
291 run_share_group_tests: false
292 multitenancy_enabled: true
293 suppress_errors_in_cleanup: true
294 share_creation_retry_number: 2
295 backend_names: LONDON,PARIS
296 multi_backend: true
297 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300298
299- job:
300 name: manila-tempest-plugin-cephfs-native
301 description: Test CephFS Native (DHSS=False)
302 parent: manila-tempest-plugin-base
303 required-projects:
304 - openstack/devstack-plugin-ceph
305 vars:
306 devstack_plugins:
307 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300308 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300309 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700310 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300311 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
312 MANILA_ENABLED_BACKENDS: cephfsnative
313 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700314 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300315 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
316 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
317 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
318 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700319 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
320 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300321 # 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 -0700322 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
323 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300324 devstack_local_conf:
325 test-config:
326 $TEMPEST_CONFIG:
327 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300328 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300329 enable_cephx_rules_for_protocols: cephfs
330 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300331 multitenancy_enabled: false
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700332 capability_create_share_from_snapshot_support: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300333 suppress_errors_in_cleanup: true
334 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300335 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300336 enable_protocols: cephfs
337 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300338
339
340- job:
341 name: manila-tempest-plugin-cephfs-nfs
342 description: Test CephFS NFS (DHSS=False)
343 parent: manila-tempest-plugin-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500344 # TODO(gmann): Remove the below nodeset setting to Bionic once
345 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
346 # Once nodeset is removed form here then devstack base job
347 # will automatically run this job on Ubuntu Focal nodeset from
348 # Victoria gate onwards.
349 nodeset: openstack-single-node-bionic
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300350 required-projects:
351 - openstack/devstack-plugin-ceph
352 - openstack/neutron-dynamic-routing
353 vars:
354 devstack_plugins:
355 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
356 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
357 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700358 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300359 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
360 MANILA_ENABLED_BACKENDS: cephfsnfs
361 ENABLED_SHARE_PROTOCOLS: NFS
362 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
363 MANILA_SERVICE_IMAGE_ENABLED: true
364 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
365 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
366 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
367 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
368 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
369 MANILA_CEPH_DRIVER: cephfsnfs
370 MANILA_SETUP_IPV6: true
371 NEUTRON_CREATE_INITIAL_NETWORKS: false
372 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700373 zuul_copy_output:
374 '/var/log/ganesha': logs
375 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300376 devstack_local_conf:
377 test-config:
378 $TEMPEST_CONFIG:
379 share:
380 default_share_type_name: default
381 run_ipv6_tests: true
382 run_share_group_tests: false
383 multitenancy_enabled: false
384 suppress_errors_in_cleanup: true
385 backend_names: CEPHFSNFS
386 enable_protocols: nfs
387 capability_storage_protocol: NFS
388 capability_create_share_from_snapshot_support: false
389 image_password: manila
390
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700391- job:
392 name: manila-tempest-plugin-dummy-no-dhss
393 description: Test the Dummy driver with DHSS=False
394 parent: manila-tempest-plugin-standalone-base
395 vars:
396 devstack_localrc:
397 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
398 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
399 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
400 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
401 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
402 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
403 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
404 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
405 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
406 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
407 MANILA_OPTGROUP_beta_share_backend_name: BETA
408 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
409 # With below opts we'll enable a DHSS=True back-end solely for
410 # for the migration test case "test_migration_opposite_driver_modes"
411 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
412 MANILA_OPTGROUP_gamma_network_config_group: membernet
413 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
414 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
415 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
416 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
417 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
418 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
419 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
420 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
421 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
422 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
423 devstack_local_conf:
424 test-config:
425 "$TEMPEST_CONFIG":
426 share:
427 backend_names: ALPHA,BETA
428 backend_replication_type: readable
429 build_timeout: 180
430 capability_sg_consistent_snapshot_support: pool
431 enable_ip_rules_for_protocols: nfs
432 enable_ro_access_level_for_protocols: nfs,cifs
433 enable_user_rules_for_protocols: cifs
434 multi_backend: true
435 multitenancy_enabled: false
436 run_driver_assisted_migration_tests: true
437 run_manage_unmanage_snapshot_tests: true
438 run_manage_unmanage_tests: true
439 run_migration_with_preserve_snapshots_tests: true
440 run_mount_snapshot_tests: true
441 run_replication_tests: true
442 run_revert_to_snapshot_tests: true
443 # for migration test case "test_migration_opposite_driver_modes"
444 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300445
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700446- job:
447 name: manila-tempest-plugin-dummy-dhss
448 description: Test the Dummy driver with DHSS=True
449 parent: manila-tempest-plugin-standalone-base
450 vars:
451 devstack_localrc:
452 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
453 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
454 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
455 MANILA_ENABLED_BACKENDS: alpha,beta
456 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
457 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
458 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
459 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
460 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
461 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
462 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
463 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
464 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
465 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
466 MANILA_OPTGROUP_alpha_network_config_group: membernet
467 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
468 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
469 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
470 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
471 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
472 MANILA_OPTGROUP_beta_network_config_group: membernet
473 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
474 MANILA_OPTGROUP_beta_share_backend_name: BETA
475 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
476 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
477 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
478 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
479 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
480 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
481 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
482 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
483 # With below opts we'll enable a DHSS=False back-end solely for
484 # for the migration test case "test_migration_opposite_driver_modes"
485 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
486 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
487 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
488 devstack_local_conf:
489 test-config:
490 "$TEMPEST_CONFIG":
491 share:
492 backend_names: ALPHA,BETA
493 backend_replication_type: readable
494 build_timeout: 180
495 capability_sg_consistent_snapshot_support: pool
496 create_networks_when_multitenancy_enabled: false
497 enable_ip_rules_for_protocols: nfs
498 enable_ro_access_level_for_protocols: nfs,cifs
499 enable_user_rules_for_protocols: cifs
500 multi_backend: true
501 multitenancy_enabled: true
502 run_driver_assisted_migration_tests: true
503 run_manage_unmanage_snapshot_tests: true
504 run_manage_unmanage_tests: true
505 run_migration_with_preserve_snapshots_tests: true
506 run_mount_snapshot_tests: true
507 run_replication_tests: true
508 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000509 run_share_server_migration_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700510
511- job:
512 name: manila-tempest-plugin-glusterfs-native
513 description: |
514 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
515 parent: manila-tempest-plugin-standalone-base
516 required-projects:
517 - x/devstack-plugin-glusterfs
518 vars:
519 tempest_concurrency: 8
520 devstack_plugins:
521 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
522 devstack_localrc:
523 CONFIGURE_GLUSTERFS_MANILA: true
524 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
525 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
526 devstack_local_conf:
527 test-config:
528 $TEMPEST_CONFIG:
529 share:
530 run_share_group_tests: false
531 run_snapshot_tests: false
532 multitenancy_enabled: false
533 run_shrink_tests: false
534 run_extend_tests: false
535 multi_backend: false
536 suppress_errors_in_cleanup: True
537 share_creation_retry_number: 2
538 backend_names: GLUSTERNATIVE
539 enable_cert_rules_for_protocols: glusterfs
540 capability_storage_protocol: glusterfs
541 enable_protocols: glusterfs
542
543- job:
544 name: manila-tempest-plugin-glusterfs-nfs
545 description: |
546 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
547 parent: manila-tempest-plugin-standalone-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500548 # TODO(gmann): Remove the below nodeset setting to Bionic once
549 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
550 # Once nodeset is removed form here then devstack base job
551 # will automatically run this job on Ubuntu Focal nodeset from
552 # Victoria gate onwards.
553 nodeset: openstack-single-node-bionic
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700554 required-projects:
555 - x/devstack-plugin-glusterfs
556 vars:
557 tempest_concurrency: 8
558 devstack_plugins:
559 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
560 devstack_localrc:
561 CONFIGURE_GLUSTERFS_MANILA: true
562 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
563 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
564 devstack_local_conf:
565 test-config:
566 $TEMPEST_CONFIG:
567 share:
568 run_share_group_tests: false
569 run_snapshot_tests: false
570 multitenancy_enabled: False
571 run_shrink_tests: true
572 multi_backend: false
573 suppress_errors_in_cleanup: True
574 share_creation_retry_number: 2
575 backend_names: GLUSTERFS
576 enable_ip_rules_for_protocols: nfs
577 capability_storage_protocol: NFS
578 enable_protocols: nfs
579 # read-only access rules not supported
580 enable_ro_access_level_for_protocols: ""