blob: 80c455cadfabd4cfd7ae034f65cb533ee9904340 [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
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500121 # TODO(gmann): Remove the below nodeset setting to Bionic once
122 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
123 # Once nodeset is removed form here then devstack base job
124 # will automatically run this job on Ubuntu Focal nodeset from
125 # Victoria gate onwards.
126 nodeset: openstack-single-node-bionic
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700127 vars:
128 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
129 devstack_localrc:
130 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
131 MANILA_ENABLED_BACKENDS: london,paris
132 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
133 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
134 MANILA_SHARE_BACKEND1_NAME: LONDON
135 MANILA_SHARE_BACKEND2_NAME: PARIS
136 MANILA_OPTGROUP_london_driver_handles_share_servers: false
137 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
138 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
139 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
140 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
141 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700142 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
143 devstack_services:
144 mysql: false
145 postgresql: true
146 devstack_local_conf:
147 test-config:
148 $TEMPEST_CONFIG:
149 share:
150 default_share_type_name: default
151 run_driver_assisted_migration_tests: true
152 run_host_assisted_migration_tests: true
153 run_replication_tests: true
154 run_manage_unmanage_snapshot_tests: true
155 run_manage_unmanage_tests: true
156 run_multiple_share_replicas_tests: false
157 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
158 backend_replication_type: readable
159 enable_protocols: nfs
160 capability_storage_protocol: NFS
161 build_timeout: 180
162 enable_ip_rules_for_protocols: nfs
163 multitenancy_enabled: False
164 backend_names: LONDON,PARIS
165 multi_backend: true
166 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700167
168- job:
169 name: manila-tempest-plugin-lvm
170 description: |
171 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
172 environment with IPv6 control plane endpoints.
173 parent: manila-tempest-plugin-ipv6-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500174 # TODO(gmann): Remove the below nodeset setting to Bionic once
175 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
176 # Once nodeset is removed form here then devstack base job
177 # will automatically run this job on Ubuntu Focal nodeset from
178 # Victoria gate onwards.
179 nodeset: openstack-single-node-bionic
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700180 required-projects:
181 - openstack/neutron-dynamic-routing
182 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700183 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700184 devstack_localrc:
185 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
186 MANILA_ENABLED_BACKENDS: london,paris
187 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
188 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
189 MANILA_SHARE_BACKEND1_NAME: LONDON
190 MANILA_SHARE_BACKEND2_NAME: PARIS
191 MANILA_OPTGROUP_london_driver_handles_share_servers: false
192 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
193 SHARE_BACKING_FILE_SIZE: 32000M
194 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
195 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
196 MANILA_SETUP_IPV6: true
197 NEUTRON_CREATE_INITIAL_NETWORKS: false
198 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
199 devstack_plugins:
200 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
201 devstack_local_conf:
202 test-config:
203 $TEMPEST_CONFIG:
204 share:
205 default_share_type_name: default
206 run_ipv6_tests: true
207 run_mount_snapshot_tests: true
208 run_host_assisted_migration_tests: true
209 run_shrink_tests: false
210 run_revert_to_snapshot_tests: true
211 enable_user_rules_for_protocols: cifs
212 enable_ip_rules_for_protocols: nfs
213 multitenancy_enabled: False
214 backend_names: LONDON,PARIS
215 multi_backend: true
216 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700217
218- job:
219 name: manila-tempest-plugin-container
220 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700221 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700222 and postgresql db. API only, in a minimal devstack
223 parent: manila-tempest-plugin-base
224 vars:
225 tempest_test_regex: manila_tempest_tests.tests.api
226 devstack_localrc:
227 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
228 MANILA_SERVICE_IMAGE_ENABLED: false
229 MANILA_ENABLED_BACKENDS: london,paris
230 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
231 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
232 MANILA_SHARE_BACKEND1_NAME: LONDON
233 MANILA_SHARE_BACKEND2_NAME: PARIS
234 MANILA_OPTGROUP_london_driver_handles_share_servers: true
235 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
236 SHARE_BACKING_FILE_SIZE: 64000M
237 MANILA_CONFIGURE_DEFAULT_TYPES: false
238 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700239 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700240 devstack_services:
241 mysql: false
242 postgresql: true
243 devstack_local_conf:
244 test-config:
245 $TEMPEST_CONFIG:
246 share:
247 enable_ip_rules_for_protocols: ""
248 run_share_group_tests: false
249 run_manage_unmanage_tests: true
250 run_snapshot_tests: false
251 run_shrink_tests: false
252 enable_user_rules_for_protocols: cifs
253 enable_protocols: cifs
254 capability_storage_protocol: CIFS
255 multitenancy_enabled: true
256 backend_names: LONDON,PARIS
257 multi_backend: true
debeltrami0d523bb2020-08-20 12:48:49 +0000258 run_share_servers_migration_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700259
260- job:
261 name: manila-tempest-plugin-generic
262 description: |
263 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
264 parent: manila-tempest-plugin-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500265 # TODO(gmann): Remove the below nodeset setting to Bionic once
266 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
267 # Once nodeset is removed form here then devstack base job
268 # will automatically run this job on Ubuntu Focal nodeset from
269 # Victoria gate onwards.
270 nodeset: openstack-single-node-bionic
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700271 vars:
272 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
273 # The generic driver uses nova VMs as share servers; running with a
274 # high concurrency could starve the driver of RAM/Disk/CPUs to
275 # function properly in a small single node devstack VM.
276 tempest_concurrency: 2
277 devstack_localrc:
278 VOLUME_BACKING_FILE_SIZE: 24G
279 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
280 MANILA_ENABLED_BACKENDS: london,paris
281 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
282 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
283 MANILA_SHARE_BACKEND1_NAME: LONDON
284 MANILA_SHARE_BACKEND2_NAME: PARIS
285 MANILA_OPTGROUP_london_driver_handles_share_servers: true
286 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
287 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
288 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700289 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700290 devstack_services:
291 cinder: true
292 devstack_local_conf:
293 test-config:
294 $TEMPEST_CONFIG:
295 share:
296 default_share_type_name: default
297 run_share_group_tests: false
298 multitenancy_enabled: true
299 suppress_errors_in_cleanup: true
300 share_creation_retry_number: 2
301 backend_names: LONDON,PARIS
302 multi_backend: true
303 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300304
305- job:
306 name: manila-tempest-plugin-cephfs-native
307 description: Test CephFS Native (DHSS=False)
308 parent: manila-tempest-plugin-base
309 required-projects:
310 - openstack/devstack-plugin-ceph
311 vars:
312 devstack_plugins:
313 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300314 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300315 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700316 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300317 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
318 MANILA_ENABLED_BACKENDS: cephfsnative
319 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700320 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300321 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
322 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
323 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
324 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700325 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
326 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300327 # 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 -0700328 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
329 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300330 devstack_local_conf:
331 test-config:
332 $TEMPEST_CONFIG:
333 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300334 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300335 enable_cephx_rules_for_protocols: cephfs
336 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300337 multitenancy_enabled: false
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700338 capability_create_share_from_snapshot_support: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300339 suppress_errors_in_cleanup: true
340 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300341 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300342 enable_protocols: cephfs
343 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300344
345
346- job:
347 name: manila-tempest-plugin-cephfs-nfs
348 description: Test CephFS NFS (DHSS=False)
349 parent: manila-tempest-plugin-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500350 # TODO(gmann): Remove the below nodeset setting to Bionic once
351 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
352 # Once nodeset is removed form here then devstack base job
353 # will automatically run this job on Ubuntu Focal nodeset from
354 # Victoria gate onwards.
355 nodeset: openstack-single-node-bionic
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300356 required-projects:
357 - openstack/devstack-plugin-ceph
358 - openstack/neutron-dynamic-routing
359 vars:
360 devstack_plugins:
361 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
362 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
363 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700364 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300365 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
366 MANILA_ENABLED_BACKENDS: cephfsnfs
367 ENABLED_SHARE_PROTOCOLS: NFS
368 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
369 MANILA_SERVICE_IMAGE_ENABLED: true
370 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
371 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
372 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
373 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
374 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
375 MANILA_CEPH_DRIVER: cephfsnfs
376 MANILA_SETUP_IPV6: true
377 NEUTRON_CREATE_INITIAL_NETWORKS: false
378 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
379 devstack_local_conf:
380 test-config:
381 $TEMPEST_CONFIG:
382 share:
383 default_share_type_name: default
384 run_ipv6_tests: true
385 run_share_group_tests: false
386 multitenancy_enabled: false
387 suppress_errors_in_cleanup: true
388 backend_names: CEPHFSNFS
389 enable_protocols: nfs
390 capability_storage_protocol: NFS
391 capability_create_share_from_snapshot_support: false
392 image_password: manila
393
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700394- job:
395 name: manila-tempest-plugin-dummy-no-dhss
396 description: Test the Dummy driver with DHSS=False
397 parent: manila-tempest-plugin-standalone-base
398 vars:
399 devstack_localrc:
400 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
401 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
402 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
403 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
404 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
405 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
406 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
407 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
408 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
409 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
410 MANILA_OPTGROUP_beta_share_backend_name: BETA
411 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
412 # With below opts we'll enable a DHSS=True back-end solely for
413 # for the migration test case "test_migration_opposite_driver_modes"
414 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
415 MANILA_OPTGROUP_gamma_network_config_group: membernet
416 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
417 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
418 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
419 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
420 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
421 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
422 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
423 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
424 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
425 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
426 devstack_local_conf:
427 test-config:
428 "$TEMPEST_CONFIG":
429 share:
430 backend_names: ALPHA,BETA
431 backend_replication_type: readable
432 build_timeout: 180
433 capability_sg_consistent_snapshot_support: pool
434 enable_ip_rules_for_protocols: nfs
435 enable_ro_access_level_for_protocols: nfs,cifs
436 enable_user_rules_for_protocols: cifs
437 multi_backend: true
438 multitenancy_enabled: false
439 run_driver_assisted_migration_tests: true
440 run_manage_unmanage_snapshot_tests: true
441 run_manage_unmanage_tests: true
442 run_migration_with_preserve_snapshots_tests: true
443 run_mount_snapshot_tests: true
444 run_replication_tests: true
445 run_revert_to_snapshot_tests: true
446 # for migration test case "test_migration_opposite_driver_modes"
447 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300448
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700449- job:
450 name: manila-tempest-plugin-dummy-dhss
451 description: Test the Dummy driver with DHSS=True
452 parent: manila-tempest-plugin-standalone-base
453 vars:
454 devstack_localrc:
455 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
456 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
457 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
458 MANILA_ENABLED_BACKENDS: alpha,beta
459 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
460 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
461 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
462 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
463 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
464 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
465 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
466 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
467 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
468 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
469 MANILA_OPTGROUP_alpha_network_config_group: membernet
470 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
471 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
472 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
473 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
474 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
475 MANILA_OPTGROUP_beta_network_config_group: membernet
476 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
477 MANILA_OPTGROUP_beta_share_backend_name: BETA
478 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
479 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
480 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
481 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
482 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
483 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
484 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
485 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
486 # With below opts we'll enable a DHSS=False back-end solely for
487 # for the migration test case "test_migration_opposite_driver_modes"
488 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
489 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
490 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
491 devstack_local_conf:
492 test-config:
493 "$TEMPEST_CONFIG":
494 share:
495 backend_names: ALPHA,BETA
496 backend_replication_type: readable
497 build_timeout: 180
498 capability_sg_consistent_snapshot_support: pool
499 create_networks_when_multitenancy_enabled: false
500 enable_ip_rules_for_protocols: nfs
501 enable_ro_access_level_for_protocols: nfs,cifs
502 enable_user_rules_for_protocols: cifs
503 multi_backend: true
504 multitenancy_enabled: true
505 run_driver_assisted_migration_tests: true
506 run_manage_unmanage_snapshot_tests: true
507 run_manage_unmanage_tests: true
508 run_migration_with_preserve_snapshots_tests: true
509 run_mount_snapshot_tests: true
510 run_replication_tests: true
511 run_revert_to_snapshot_tests: true
debeltrami0d523bb2020-08-20 12:48:49 +0000512 run_share_servers_migration_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700513
514- job:
515 name: manila-tempest-plugin-glusterfs-native
516 description: |
517 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
518 parent: manila-tempest-plugin-standalone-base
519 required-projects:
520 - x/devstack-plugin-glusterfs
521 vars:
522 tempest_concurrency: 8
523 devstack_plugins:
524 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
525 devstack_localrc:
526 CONFIGURE_GLUSTERFS_MANILA: true
527 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
528 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
529 devstack_local_conf:
530 test-config:
531 $TEMPEST_CONFIG:
532 share:
533 run_share_group_tests: false
534 run_snapshot_tests: false
535 multitenancy_enabled: false
536 run_shrink_tests: false
537 run_extend_tests: false
538 multi_backend: false
539 suppress_errors_in_cleanup: True
540 share_creation_retry_number: 2
541 backend_names: GLUSTERNATIVE
542 enable_cert_rules_for_protocols: glusterfs
543 capability_storage_protocol: glusterfs
544 enable_protocols: glusterfs
545
546- job:
547 name: manila-tempest-plugin-glusterfs-nfs
548 description: |
549 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
550 parent: manila-tempest-plugin-standalone-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500551 # TODO(gmann): Remove the below nodeset setting to Bionic once
552 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
553 # Once nodeset is removed form here then devstack base job
554 # will automatically run this job on Ubuntu Focal nodeset from
555 # Victoria gate onwards.
556 nodeset: openstack-single-node-bionic
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700557 required-projects:
558 - x/devstack-plugin-glusterfs
559 vars:
560 tempest_concurrency: 8
561 devstack_plugins:
562 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
563 devstack_localrc:
564 CONFIGURE_GLUSTERFS_MANILA: true
565 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
566 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
567 devstack_local_conf:
568 test-config:
569 $TEMPEST_CONFIG:
570 share:
571 run_share_group_tests: false
572 run_snapshot_tests: false
573 multitenancy_enabled: False
574 run_shrink_tests: true
575 multi_backend: false
576 suppress_errors_in_cleanup: True
577 share_creation_retry_number: 2
578 backend_names: GLUSTERFS
579 enable_ip_rules_for_protocols: nfs
580 capability_storage_protocol: NFS
581 enable_protocols: nfs
582 # read-only access rules not supported
583 enable_ro_access_level_for_protocols: ""