blob: e115b41483822517c0261c665a0b044b1f064a54 [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
168 required-projects:
169 - openstack/neutron-dynamic-routing
170 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700171 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700172 devstack_localrc:
173 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
174 MANILA_ENABLED_BACKENDS: london,paris
175 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
176 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
177 MANILA_SHARE_BACKEND1_NAME: LONDON
178 MANILA_SHARE_BACKEND2_NAME: PARIS
179 MANILA_OPTGROUP_london_driver_handles_share_servers: false
180 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
181 SHARE_BACKING_FILE_SIZE: 32000M
182 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
183 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
184 MANILA_SETUP_IPV6: true
185 NEUTRON_CREATE_INITIAL_NETWORKS: false
186 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
187 devstack_plugins:
188 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
189 devstack_local_conf:
190 test-config:
191 $TEMPEST_CONFIG:
192 share:
193 default_share_type_name: default
194 run_ipv6_tests: true
195 run_mount_snapshot_tests: true
196 run_host_assisted_migration_tests: true
197 run_shrink_tests: false
198 run_revert_to_snapshot_tests: true
199 enable_user_rules_for_protocols: cifs
200 enable_ip_rules_for_protocols: nfs
201 multitenancy_enabled: False
202 backend_names: LONDON,PARIS
203 multi_backend: true
204 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700205
206- job:
207 name: manila-tempest-plugin-container
208 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700209 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700210 and postgresql db. API only, in a minimal devstack
211 parent: manila-tempest-plugin-base
212 vars:
213 tempest_test_regex: manila_tempest_tests.tests.api
214 devstack_localrc:
215 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
216 MANILA_SERVICE_IMAGE_ENABLED: false
217 MANILA_ENABLED_BACKENDS: london,paris
218 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
219 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
220 MANILA_SHARE_BACKEND1_NAME: LONDON
221 MANILA_SHARE_BACKEND2_NAME: PARIS
222 MANILA_OPTGROUP_london_driver_handles_share_servers: true
223 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
224 SHARE_BACKING_FILE_SIZE: 64000M
225 MANILA_CONFIGURE_DEFAULT_TYPES: false
226 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700227 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700228 devstack_services:
229 mysql: false
230 postgresql: true
231 devstack_local_conf:
232 test-config:
233 $TEMPEST_CONFIG:
234 share:
235 enable_ip_rules_for_protocols: ""
236 run_share_group_tests: false
237 run_manage_unmanage_tests: true
238 run_snapshot_tests: false
239 run_shrink_tests: false
240 enable_user_rules_for_protocols: cifs
241 enable_protocols: cifs
242 capability_storage_protocol: CIFS
243 multitenancy_enabled: true
244 backend_names: LONDON,PARIS
245 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000246 run_share_server_migration_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700247
248- job:
249 name: manila-tempest-plugin-generic
250 description: |
251 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
252 parent: manila-tempest-plugin-base
253 vars:
254 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
255 # The generic driver uses nova VMs as share servers; running with a
256 # high concurrency could starve the driver of RAM/Disk/CPUs to
257 # function properly in a small single node devstack VM.
258 tempest_concurrency: 2
259 devstack_localrc:
260 VOLUME_BACKING_FILE_SIZE: 24G
261 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
262 MANILA_ENABLED_BACKENDS: london,paris
263 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
264 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
265 MANILA_SHARE_BACKEND1_NAME: LONDON
266 MANILA_SHARE_BACKEND2_NAME: PARIS
267 MANILA_OPTGROUP_london_driver_handles_share_servers: true
268 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
269 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
270 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700271 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700272 devstack_services:
273 cinder: true
274 devstack_local_conf:
275 test-config:
276 $TEMPEST_CONFIG:
277 share:
278 default_share_type_name: default
279 run_share_group_tests: false
280 multitenancy_enabled: true
281 suppress_errors_in_cleanup: true
282 share_creation_retry_number: 2
283 backend_names: LONDON,PARIS
284 multi_backend: true
285 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300286
287- job:
288 name: manila-tempest-plugin-cephfs-native
289 description: Test CephFS Native (DHSS=False)
290 parent: manila-tempest-plugin-base
291 required-projects:
292 - openstack/devstack-plugin-ceph
293 vars:
294 devstack_plugins:
295 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300296 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300297 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700298 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300299 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
300 MANILA_ENABLED_BACKENDS: cephfsnative
301 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700302 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300303 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
304 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
305 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
306 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700307 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
308 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300309 # 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 -0700310 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
311 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300312 devstack_local_conf:
313 test-config:
314 $TEMPEST_CONFIG:
315 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300316 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300317 enable_cephx_rules_for_protocols: cephfs
318 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300319 multitenancy_enabled: false
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700320 capability_create_share_from_snapshot_support: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300321 suppress_errors_in_cleanup: true
322 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300323 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300324 enable_protocols: cephfs
325 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300326
327
328- job:
329 name: manila-tempest-plugin-cephfs-nfs
330 description: Test CephFS NFS (DHSS=False)
331 parent: manila-tempest-plugin-base
Ghanshyam Manne0c51e82020-09-22 15:12:19 -0500332 # TODO(gmann): Remove the below nodeset setting to Bionic once
333 # https://bugs.launchpad.net/manila/+bug/1896672 is fixed
334 # Once nodeset is removed form here then devstack base job
335 # will automatically run this job on Ubuntu Focal nodeset from
336 # Victoria gate onwards.
337 nodeset: openstack-single-node-bionic
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300338 required-projects:
339 - openstack/devstack-plugin-ceph
340 - openstack/neutron-dynamic-routing
341 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500342 tempest_concurrency: 2
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300343 devstack_plugins:
344 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
345 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
346 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700347 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300348 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
349 MANILA_ENABLED_BACKENDS: cephfsnfs
350 ENABLED_SHARE_PROTOCOLS: NFS
351 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
352 MANILA_SERVICE_IMAGE_ENABLED: true
353 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
354 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
355 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
356 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
357 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
358 MANILA_CEPH_DRIVER: cephfsnfs
359 MANILA_SETUP_IPV6: true
360 NEUTRON_CREATE_INITIAL_NETWORKS: false
361 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700362 zuul_copy_output:
363 '/var/log/ganesha': logs
364 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300365 devstack_local_conf:
366 test-config:
367 $TEMPEST_CONFIG:
368 share:
369 default_share_type_name: default
370 run_ipv6_tests: true
371 run_share_group_tests: false
372 multitenancy_enabled: false
373 suppress_errors_in_cleanup: true
374 backend_names: CEPHFSNFS
375 enable_protocols: nfs
376 capability_storage_protocol: NFS
377 capability_create_share_from_snapshot_support: false
378 image_password: manila
379
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700380- job:
381 name: manila-tempest-plugin-dummy-no-dhss
382 description: Test the Dummy driver with DHSS=False
383 parent: manila-tempest-plugin-standalone-base
384 vars:
385 devstack_localrc:
386 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
387 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
388 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
389 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
390 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
391 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
392 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
393 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
394 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
395 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
396 MANILA_OPTGROUP_beta_share_backend_name: BETA
397 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
398 # With below opts we'll enable a DHSS=True back-end solely for
399 # for the migration test case "test_migration_opposite_driver_modes"
400 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
401 MANILA_OPTGROUP_gamma_network_config_group: membernet
402 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
403 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
404 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
405 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
406 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
407 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
408 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
409 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
410 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
411 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
412 devstack_local_conf:
413 test-config:
414 "$TEMPEST_CONFIG":
415 share:
416 backend_names: ALPHA,BETA
417 backend_replication_type: readable
418 build_timeout: 180
419 capability_sg_consistent_snapshot_support: pool
420 enable_ip_rules_for_protocols: nfs
421 enable_ro_access_level_for_protocols: nfs,cifs
422 enable_user_rules_for_protocols: cifs
423 multi_backend: true
424 multitenancy_enabled: false
425 run_driver_assisted_migration_tests: true
426 run_manage_unmanage_snapshot_tests: true
427 run_manage_unmanage_tests: true
428 run_migration_with_preserve_snapshots_tests: true
429 run_mount_snapshot_tests: true
430 run_replication_tests: true
431 run_revert_to_snapshot_tests: true
432 # for migration test case "test_migration_opposite_driver_modes"
433 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300434
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700435- job:
436 name: manila-tempest-plugin-dummy-dhss
437 description: Test the Dummy driver with DHSS=True
438 parent: manila-tempest-plugin-standalone-base
439 vars:
440 devstack_localrc:
441 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
442 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
443 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
444 MANILA_ENABLED_BACKENDS: alpha,beta
445 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
446 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
447 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
448 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
449 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
450 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
451 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
452 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
453 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
454 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
455 MANILA_OPTGROUP_alpha_network_config_group: membernet
456 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
457 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
458 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
459 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
460 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
461 MANILA_OPTGROUP_beta_network_config_group: membernet
462 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
463 MANILA_OPTGROUP_beta_share_backend_name: BETA
464 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
465 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
466 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
467 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
468 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
469 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
470 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
471 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
472 # With below opts we'll enable a DHSS=False back-end solely for
473 # for the migration test case "test_migration_opposite_driver_modes"
474 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
475 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
476 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
477 devstack_local_conf:
478 test-config:
479 "$TEMPEST_CONFIG":
480 share:
481 backend_names: ALPHA,BETA
482 backend_replication_type: readable
483 build_timeout: 180
484 capability_sg_consistent_snapshot_support: pool
485 create_networks_when_multitenancy_enabled: false
486 enable_ip_rules_for_protocols: nfs
487 enable_ro_access_level_for_protocols: nfs,cifs
488 enable_user_rules_for_protocols: cifs
489 multi_backend: true
490 multitenancy_enabled: true
491 run_driver_assisted_migration_tests: true
492 run_manage_unmanage_snapshot_tests: true
493 run_manage_unmanage_tests: true
494 run_migration_with_preserve_snapshots_tests: true
495 run_mount_snapshot_tests: true
496 run_replication_tests: true
497 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000498 run_share_server_migration_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700499
500- job:
501 name: manila-tempest-plugin-glusterfs-native
502 description: |
503 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
504 parent: manila-tempest-plugin-standalone-base
505 required-projects:
506 - x/devstack-plugin-glusterfs
507 vars:
508 tempest_concurrency: 8
509 devstack_plugins:
510 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
511 devstack_localrc:
512 CONFIGURE_GLUSTERFS_MANILA: true
513 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
514 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
515 devstack_local_conf:
516 test-config:
517 $TEMPEST_CONFIG:
518 share:
519 run_share_group_tests: false
520 run_snapshot_tests: false
521 multitenancy_enabled: false
522 run_shrink_tests: false
523 run_extend_tests: false
524 multi_backend: false
525 suppress_errors_in_cleanup: True
526 share_creation_retry_number: 2
527 backend_names: GLUSTERNATIVE
528 enable_cert_rules_for_protocols: glusterfs
529 capability_storage_protocol: glusterfs
530 enable_protocols: glusterfs
531
532- job:
533 name: manila-tempest-plugin-glusterfs-nfs
534 description: |
535 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
536 parent: manila-tempest-plugin-standalone-base
537 required-projects:
538 - x/devstack-plugin-glusterfs
539 vars:
540 tempest_concurrency: 8
541 devstack_plugins:
542 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
543 devstack_localrc:
544 CONFIGURE_GLUSTERFS_MANILA: true
545 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
546 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
547 devstack_local_conf:
548 test-config:
549 $TEMPEST_CONFIG:
550 share:
551 run_share_group_tests: false
552 run_snapshot_tests: false
553 multitenancy_enabled: False
554 run_shrink_tests: true
555 multi_backend: false
556 suppress_errors_in_cleanup: True
557 share_creation_retry_number: 2
558 backend_names: GLUSTERFS
559 enable_ip_rules_for_protocols: nfs
560 capability_storage_protocol: NFS
561 enable_protocols: nfs
562 # read-only access rules not supported
563 enable_ro_access_level_for_protocols: ""