blob: faef5c65f7bebdb824c656c6157af92b49bdb0fe [file] [log] [blame]
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07001- job:
2 name: manila-tempest-plugin-base
3 abstract: true
4 description: Base job for devstack/tempest based manila jobs.
5 parent: devstack-tempest
6 timeout: 10800
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -07007 required-projects: &manila-tempest-required-projects
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07008 - openstack/manila
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07009 - openstack/manila-tempest-plugin
10 - openstack/python-manilaclient
11 - openstack/tempest
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070012 irrelevant-files: &irrelevant-files
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070013 - ^(test-|)requirements.txt$
14 - ^.*\.rst$
15 - ^api-ref/.*$
16 - ^doc/.*$
17 - ^manila/hacking/.*$
18 - ^manila/tests/.*$
19 - ^releasenotes/.*$
20 - ^setup.cfg$
21 - ^tools/.*$
22 - ^tox.ini$
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070023 vars: &manila-tempest-base-vars
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070024 tox_envlist: all
25 tempest_test_regex: manila_tempest_tests
26 tempest_concurrency: 8
27 tempest_plugins:
28 - manila-tempest-plugin
29 devstack_plugins:
30 manila: https://opendev.org/openstack/manila
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070031 devstack_services:
32 cinder: false
33 s-account: false
34 s-container: false
35 s-object: false
36 s-proxy: false
37 horizon: false
38 tls-proxy: true
39 devstack_localrc:
40 USE_PYTHON3: true
Goutham Pacha Ravi82b1e6f2023-04-25 19:49:38 -070041 MYSQL_REDUCE_MEMORY: 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
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070051- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070052 name: manila-tempest-plugin-ipv6-base
53 abstract: true
54 description: |
55 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
56 devstack environment with IPv6 control plane endpoints.
57 parent: devstack-tempest-ipv6
58 timeout: 10800
59 irrelevant-files: *irrelevant-files
60 required-projects: *manila-tempest-required-projects
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -070061 vars: *manila-tempest-base-vars
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070062
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
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -070090 test_results_stage_name: test_results
91 zuul_copy_output:
92 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
93 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
94 '{{ devstack_base_dir }}/tempest/tempest.log': logs
95 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
96 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
97 '{{ stage_dir }}/stackviz': logs
98 extensions_to_txt:
99 conf: true
100 log: true
101 yaml: true
102 yml: true
103 devstack_localrc:
104 USE_PYTHON3: true
105 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
106 MANILA_SERVICE_IMAGE_ENABLED: false
107 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
debeltrami0d523bb2020-08-20 12:48:49 +0000108 MANILA_SERVER_MIGRATION_PERIOD_TASK_INTERVAL: 10
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700109 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 10
110 devstack_services:
111 tls-proxy: true
112 key: true
113 tempest: true
114
115- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300116 name: manila-tempest-plugin-zfsonlinux-base
117 abstract: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700118 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
119 parent: manila-tempest-plugin-base
120 vars:
121 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
122 devstack_localrc:
123 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
124 MANILA_ENABLED_BACKENDS: london,paris
125 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
126 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
127 MANILA_SHARE_BACKEND1_NAME: LONDON
128 MANILA_SHARE_BACKEND2_NAME: PARIS
129 MANILA_OPTGROUP_london_driver_handles_share_servers: false
130 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
131 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
132 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
133 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
134 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -0700135 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
136 devstack_services:
137 mysql: false
138 postgresql: true
139 devstack_local_conf:
140 test-config:
141 $TEMPEST_CONFIG:
142 share:
143 default_share_type_name: default
144 run_driver_assisted_migration_tests: true
145 run_host_assisted_migration_tests: true
146 run_replication_tests: true
147 run_manage_unmanage_snapshot_tests: true
148 run_manage_unmanage_tests: true
149 run_multiple_share_replicas_tests: false
150 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
151 backend_replication_type: readable
152 enable_protocols: nfs
153 capability_storage_protocol: NFS
154 build_timeout: 180
155 enable_ip_rules_for_protocols: nfs
156 multitenancy_enabled: False
157 backend_names: LONDON,PARIS
158 multi_backend: true
159 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700160
161- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300162 name: manila-tempest-plugin-zfsonlinux
163 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
164 parent: manila-tempest-plugin-zfsonlinux-base
silvacarlossd12285b2022-06-30 16:58:08 -0300165 branches: &ubuntu_jammy_test_image_branches ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
silvacarloss95b3ac32022-06-23 12:39:00 -0300166
167- job:
168 name: manila-tempest-plugin-lvm-base
silvacarloss59c47952022-11-21 15:40:03 -0300169 nodeset: openstack-single-node-focal
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700170 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
silvacarloss95b3ac32022-06-23 12:39:00 -0300174 abstract: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700175 required-projects:
176 - openstack/neutron-dynamic-routing
177 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700178 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700179 devstack_services: &devstack-with-ovs
180 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, disable OVN
181 br-ex-tcpdump: false
182 br-int-flows: false
183 ovn-controller: false
184 ovn-northd: false
185 ovs-vswitchd: false
186 ovsdb-server: false
187 q-ovn-metadata-agent: false
188 # Neutron services
189 neutron-local-ip-static: true
190 q-agt: true
191 q-dhcp: true
192 q-l3: true
193 q-meta: true
194 q-metering: true
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700195 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700196 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
197 Q_AGENT: openvswitch
198 Q_ML2_TENANT_NETWORK_TYPE: vxlan
199 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700200 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
201 MANILA_ENABLED_BACKENDS: london,paris
202 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
203 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
204 MANILA_SHARE_BACKEND1_NAME: LONDON
205 MANILA_SHARE_BACKEND2_NAME: PARIS
206 MANILA_OPTGROUP_london_driver_handles_share_servers: false
207 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
208 SHARE_BACKING_FILE_SIZE: 32000M
209 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
210 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
211 MANILA_SETUP_IPV6: true
212 NEUTRON_CREATE_INITIAL_NETWORKS: false
213 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
214 devstack_plugins:
215 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
216 devstack_local_conf:
217 test-config:
218 $TEMPEST_CONFIG:
219 share:
220 default_share_type_name: default
221 run_ipv6_tests: true
222 run_mount_snapshot_tests: true
223 run_host_assisted_migration_tests: true
224 run_shrink_tests: false
225 run_revert_to_snapshot_tests: true
226 enable_user_rules_for_protocols: cifs
227 enable_ip_rules_for_protocols: nfs
228 multitenancy_enabled: False
229 backend_names: LONDON,PARIS
230 multi_backend: true
231 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700232
233- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300234 name: manila-tempest-plugin-lvm
235 description: |
236 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
237 environment with IPv6 control plane endpoints.
silvacarlossd12285b2022-06-30 16:58:08 -0300238 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300239 parent: manila-tempest-plugin-lvm-base
240
241- job:
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700242 name: manila-tempest-plugin-container
243 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700244 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700245 and postgresql db. API only, in a minimal devstack
246 parent: manila-tempest-plugin-base
247 vars:
248 tempest_test_regex: manila_tempest_tests.tests.api
249 devstack_localrc:
250 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
251 MANILA_SERVICE_IMAGE_ENABLED: false
252 MANILA_ENABLED_BACKENDS: london,paris
253 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
254 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
255 MANILA_SHARE_BACKEND1_NAME: LONDON
256 MANILA_SHARE_BACKEND2_NAME: PARIS
257 MANILA_OPTGROUP_london_driver_handles_share_servers: true
258 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
259 SHARE_BACKING_FILE_SIZE: 64000M
260 MANILA_CONFIGURE_DEFAULT_TYPES: false
261 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700262 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700263 devstack_services:
264 mysql: false
265 postgresql: true
266 devstack_local_conf:
267 test-config:
268 $TEMPEST_CONFIG:
269 share:
270 enable_ip_rules_for_protocols: ""
271 run_share_group_tests: false
272 run_manage_unmanage_tests: true
273 run_snapshot_tests: false
274 run_shrink_tests: false
275 enable_user_rules_for_protocols: cifs
276 enable_protocols: cifs
277 capability_storage_protocol: CIFS
278 multitenancy_enabled: true
279 backend_names: LONDON,PARIS
280 multi_backend: true
debeltramib3089a72020-09-15 21:06:04 +0000281 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000282 run_share_server_multiple_subnet_tests: true
283 run_network_allocation_update_tests: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700284
285- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300286 name: manila-tempest-plugin-generic-base
287 abstract: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700288 description: |
289 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
290 parent: manila-tempest-plugin-base
291 vars:
silvacarlosscc8a6512022-06-07 19:01:07 -0300292 tempest_test_regex: '(^manila_tempest_tests.tests.api)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700293 # The generic driver uses nova VMs as share servers; running with a
294 # high concurrency could starve the driver of RAM/Disk/CPUs to
295 # function properly in a small single node devstack VM.
296 tempest_concurrency: 2
297 devstack_localrc:
298 VOLUME_BACKING_FILE_SIZE: 24G
299 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
300 MANILA_ENABLED_BACKENDS: london,paris
301 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
302 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
303 MANILA_SHARE_BACKEND1_NAME: LONDON
304 MANILA_SHARE_BACKEND2_NAME: PARIS
305 MANILA_OPTGROUP_london_driver_handles_share_servers: true
306 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
307 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
308 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700309 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700310 devstack_services:
311 cinder: true
312 devstack_local_conf:
313 test-config:
314 $TEMPEST_CONFIG:
315 share:
316 default_share_type_name: default
317 run_share_group_tests: false
318 multitenancy_enabled: true
319 suppress_errors_in_cleanup: true
320 share_creation_retry_number: 2
321 backend_names: LONDON,PARIS
322 multi_backend: true
323 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300324
325- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300326 name: manila-tempest-plugin-generic
silvacarlosscc8a6512022-06-07 19:01:07 -0300327 description: |
328 Test the scenario test cases on the generic driver multibackend
329 (DHSS=True) with NFS and CIFS
silvacarloss95b3ac32022-06-23 12:39:00 -0300330 parent: manila-tempest-plugin-generic-base
silvacarlossd12285b2022-06-30 16:58:08 -0300331 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300332
333- job:
334 name: manila-tempest-plugin-generic-scenario-base
335 abstract: true
336 description: |
337 Test the scenario test cases on the generic driver multibackend
338 (DHSS=True) with NFS and CIFS
339 parent: manila-tempest-plugin-generic-base
silvacarlosscc8a6512022-06-07 19:01:07 -0300340 vars:
341 tempest_test_regex: '(^manila_tempest_tests.tests.scenario)(?=.*\[.*\bbackend\b.*\])'
342 # The generic driver uses nova VMs as share servers; running with a
343 # high concurrency could starve the driver of RAM/Disk/CPUs to
344 # function properly in a small single node devstack VM.
345 tempest_concurrency: 1
346
347- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300348 name: manila-tempest-plugin-generic-scenario
349 description: |
350 Test the scenario test cases on the generic driver multibackend
351 (DHSS=True) with NFS and CIFS
352 parent: manila-tempest-plugin-generic-scenario-base
silvacarlossd12285b2022-06-30 16:58:08 -0300353 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300354
355- job:
356 name: manila-tempest-plugin-cephfs-native-base
357 abstract: true
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300358 description: Test CephFS Native (DHSS=False)
359 parent: manila-tempest-plugin-base
360 required-projects:
361 - openstack/devstack-plugin-ceph
362 vars:
363 devstack_plugins:
364 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300365 tempest_test_regex: manila_tempest_tests.tests
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300366 devstack_localrc:
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700367 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300368 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
369 MANILA_ENABLED_BACKENDS: cephfsnative
370 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700371 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300372 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
373 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
374 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
375 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
Goutham Pacha Ravi75f0d602020-08-20 11:50:48 -0700376 # NOTE(gouthamr): The following need to use the latest images, however, there's a bug
377 # with cephfs on Ubuntu 20.04 LTS: https://tracker.ceph.com/issues/47236
Victoria Martinez de la Cruzd672a3e2020-09-02 17:55:09 -0300378 # 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 -0700379 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-1.3.0-58-g2859569.qcow2
380 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-1.3.0-58-g2859569
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300381 devstack_local_conf:
382 test-config:
383 $TEMPEST_CONFIG:
384 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300385 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300386 enable_cephx_rules_for_protocols: cephfs
387 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300388 multitenancy_enabled: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300389 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300390 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300391 enable_protocols: cephfs
392 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300393
silvacarloss95b3ac32022-06-23 12:39:00 -0300394- job:
395 name: manila-tempest-plugin-cephfs-native
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700396 nodeset: openstack-single-node-focal
silvacarloss95b3ac32022-06-23 12:39:00 -0300397 description: Test CephFS Native (DHSS=False)
398 parent: manila-tempest-plugin-cephfs-native-base
silvacarlossd12285b2022-06-30 16:58:08 -0300399 branches: *ubuntu_jammy_test_image_branches
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300400
401- job:
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000402 name: manila-tempest-plugin-cephfs-native-cephadm
403 description: Test CephFS Native (DHSS=False) deployed with cephadm
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700404 parent: manila-tempest-plugin-cephfs-native-base
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000405 vars:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700406 configure_swap_size: 8192
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000407 tempest_test_regex: manila_tempest_tests.tests
408 tempest_exclude_regex: '(^manila_tempest_tests.tests.scenario.*ceph_fuse.*)'
409 devstack_localrc:
Goutham Pacha Ravi797aeb12023-04-26 16:52:00 -0700410 ENABLE_CEPH_NOVA: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000411 CONTAINER_IMAGE: 'quay.io/ceph/ceph:v17.2.5'
412 CEPHADM_DEPLOY: true
413 CEPHADM_DEV_OSD: true
414 TARGET_DEV_OSD_DIR: /opt/stack
415 CEPH_LOOPBACK_DISK_SIZE: 40G
416 DISABLE_CEPHADM_POST_DEPLOY: True
417 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
418 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
419
420- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300421 name: manila-tempest-plugin-cephfs-nfs-base
silvacarloss59c47952022-11-21 15:40:03 -0300422 nodeset: openstack-single-node-focal
silvacarloss95b3ac32022-06-23 12:39:00 -0300423 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300424 description: Test CephFS NFS (DHSS=False)
425 parent: manila-tempest-plugin-base
426 required-projects:
427 - openstack/devstack-plugin-ceph
428 - openstack/neutron-dynamic-routing
429 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500430 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800431 # turning off some tests due to exhaustion of disk space
432 # https://bugs.launchpad.net/manila/+bug/2009083
433 tempest_exclude_regex: "\
434 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
435 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700436 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300437 devstack_plugins:
438 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
439 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
440 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700441 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
442 Q_AGENT: openvswitch
443 Q_ML2_TENANT_NETWORK_TYPE: vxlan
444 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700445 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300446 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
447 MANILA_ENABLED_BACKENDS: cephfsnfs
448 ENABLED_SHARE_PROTOCOLS: NFS
449 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
450 MANILA_SERVICE_IMAGE_ENABLED: true
451 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
452 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
453 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
454 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
455 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
456 MANILA_CEPH_DRIVER: cephfsnfs
457 MANILA_SETUP_IPV6: true
458 NEUTRON_CREATE_INITIAL_NETWORKS: false
459 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700460 zuul_copy_output:
461 '/var/log/ganesha': logs
462 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300463 devstack_local_conf:
464 test-config:
465 $TEMPEST_CONFIG:
466 share:
467 default_share_type_name: default
468 run_ipv6_tests: true
469 run_share_group_tests: false
470 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300471 backend_names: CEPHFSNFS
472 enable_protocols: nfs
473 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300474 image_password: manila
475
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700476- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300477 name: manila-tempest-plugin-cephfs-nfs
478 description: Test CephFS NFS (DHSS=False)
479 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300480 branches: *ubuntu_jammy_test_image_branches
silvacarloss95b3ac32022-06-23 12:39:00 -0300481
482- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700483 name: manila-tempest-plugin-dummy-no-dhss
484 description: Test the Dummy driver with DHSS=False
485 parent: manila-tempest-plugin-standalone-base
486 vars:
487 devstack_localrc:
488 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
489 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
490 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
491 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
492 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
493 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
494 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
495 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
496 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
497 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
498 MANILA_OPTGROUP_beta_share_backend_name: BETA
499 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
500 # With below opts we'll enable a DHSS=True back-end solely for
501 # for the migration test case "test_migration_opposite_driver_modes"
502 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
503 MANILA_OPTGROUP_gamma_network_config_group: membernet
504 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
505 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
506 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
507 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
508 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
509 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
510 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
511 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
512 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
513 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
514 devstack_local_conf:
515 test-config:
516 "$TEMPEST_CONFIG":
517 share:
518 backend_names: ALPHA,BETA
519 backend_replication_type: readable
520 build_timeout: 180
521 capability_sg_consistent_snapshot_support: pool
522 enable_ip_rules_for_protocols: nfs
523 enable_ro_access_level_for_protocols: nfs,cifs
524 enable_user_rules_for_protocols: cifs
525 multi_backend: true
526 multitenancy_enabled: false
527 run_driver_assisted_migration_tests: true
528 run_manage_unmanage_snapshot_tests: true
529 run_manage_unmanage_tests: true
530 run_migration_with_preserve_snapshots_tests: true
531 run_mount_snapshot_tests: true
532 run_replication_tests: true
533 run_revert_to_snapshot_tests: true
534 # for migration test case "test_migration_opposite_driver_modes"
535 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300536
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700537- job:
538 name: manila-tempest-plugin-dummy-dhss
539 description: Test the Dummy driver with DHSS=True
540 parent: manila-tempest-plugin-standalone-base
541 vars:
542 devstack_localrc:
543 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
544 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
545 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
546 MANILA_ENABLED_BACKENDS: alpha,beta
547 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
548 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
549 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
550 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
551 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
552 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
553 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
554 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
555 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
556 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
557 MANILA_OPTGROUP_alpha_network_config_group: membernet
558 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
559 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
560 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
561 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
562 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
563 MANILA_OPTGROUP_beta_network_config_group: membernet
564 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
565 MANILA_OPTGROUP_beta_share_backend_name: BETA
566 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
567 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
568 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
569 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
570 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
571 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
572 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
573 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
574 # With below opts we'll enable a DHSS=False back-end solely for
575 # for the migration test case "test_migration_opposite_driver_modes"
576 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
577 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
578 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
579 devstack_local_conf:
580 test-config:
581 "$TEMPEST_CONFIG":
582 share:
583 backend_names: ALPHA,BETA
584 backend_replication_type: readable
585 build_timeout: 180
586 capability_sg_consistent_snapshot_support: pool
587 create_networks_when_multitenancy_enabled: false
588 enable_ip_rules_for_protocols: nfs
589 enable_ro_access_level_for_protocols: nfs,cifs
590 enable_user_rules_for_protocols: cifs
591 multi_backend: true
592 multitenancy_enabled: true
593 run_driver_assisted_migration_tests: true
594 run_manage_unmanage_snapshot_tests: true
595 run_manage_unmanage_tests: true
596 run_migration_with_preserve_snapshots_tests: true
597 run_mount_snapshot_tests: true
598 run_replication_tests: true
599 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000600 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000601 run_share_server_multiple_subnet_tests: true
602 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700603
604- job:
605 name: manila-tempest-plugin-glusterfs-native
606 description: |
607 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
608 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300609 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700610 required-projects:
611 - x/devstack-plugin-glusterfs
612 vars:
613 tempest_concurrency: 8
614 devstack_plugins:
615 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
616 devstack_localrc:
617 CONFIGURE_GLUSTERFS_MANILA: true
618 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
619 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
620 devstack_local_conf:
621 test-config:
622 $TEMPEST_CONFIG:
623 share:
624 run_share_group_tests: false
625 run_snapshot_tests: false
626 multitenancy_enabled: false
627 run_shrink_tests: false
628 run_extend_tests: false
629 multi_backend: false
630 suppress_errors_in_cleanup: True
631 share_creation_retry_number: 2
632 backend_names: GLUSTERNATIVE
633 enable_cert_rules_for_protocols: glusterfs
634 capability_storage_protocol: glusterfs
635 enable_protocols: glusterfs
636
637- job:
638 name: manila-tempest-plugin-glusterfs-nfs
639 description: |
640 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
641 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300642 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700643 required-projects:
644 - x/devstack-plugin-glusterfs
645 vars:
646 tempest_concurrency: 8
647 devstack_plugins:
648 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
649 devstack_localrc:
650 CONFIGURE_GLUSTERFS_MANILA: true
651 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
652 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
653 devstack_local_conf:
654 test-config:
655 $TEMPEST_CONFIG:
656 share:
657 run_share_group_tests: false
658 run_snapshot_tests: false
659 multitenancy_enabled: False
660 run_shrink_tests: true
661 multi_backend: false
662 suppress_errors_in_cleanup: True
663 share_creation_retry_number: 2
664 backend_names: GLUSTERFS
665 enable_ip_rules_for_protocols: nfs
666 capability_storage_protocol: NFS
667 enable_protocols: nfs
668 # read-only access rules not supported
669 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300670
silvacarlosse21dbfd2022-06-29 15:46:45 -0300671- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300672 name: manila-tempest-plugin-dummy-no-dhss-rbac
673 parent: manila-tempest-plugin-dummy-no-dhss
674 description: |
675 This job runs the devstack with scope checks enabled,
676 on the Dummy driver with DHSS=False.
677 vars:
678 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
679 devstack_localrc:
680 MANILA_ENFORCE_SCOPE: true
681 devstack_local_conf:
682 test-config:
683 "$TEMPEST_CONFIG":
684 share:
685 default_share_type_name: default
686
687- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300688 name: manila-tempest-plugin-lvm-fips-base
689 parent: manila-tempest-plugin-lvm-base
690 nodeset: devstack-single-node-centos-9-stream
691 description: |
692 Run LVM DHSS false tests for manila project using FIPS.
693 pre-run:
694 - playbooks/enable-fips.yaml
695 vars:
696 nslookup_target: 'opendev.org'
697 devstack_localrc:
698 MANILA_SETUP_IPV6: false
699 NEUTRON_CREATE_INITIAL_NETWORKS: true
700 IP_VERSION: 4
701 configure_swap_size: 4096
702 devstack_local_conf:
703 test-config:
704 "$TEMPEST_CONFIG":
705 validation:
706 ssh_key_type: 'ecdsa'
707 share:
708 run_ipv6_tests: false
709
710- job:
711 name: manila-tempest-plugin-lvm-fips
712 parent: manila-tempest-plugin-lvm-fips-base
713 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
714
silvacarloss95b3ac32022-06-23 12:39:00 -0300715- project-template:
716 name: manila-tempest-plugin-jobs-using-service-image
717 description: |
718 Runs jobs that will also perform scenario tests in the branches that are
719 newer than Yoga.
720 check:
721 jobs:
722 - manila-tempest-plugin-lvm
723 - manila-tempest-plugin-generic-scenario:
724 voting: false
725 - manila-tempest-plugin-generic:
726 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000727 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300728 voting: false
729 - manila-tempest-plugin-cephfs-nfs:
730 voting: false
731 - manila-tempest-plugin-zfsonlinux:
732 voting: false
733 gate:
734 jobs:
735 - manila-tempest-plugin-lvm