blob: 690b8bc40c3189ee604d5ec8c4502bba91449a65 [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
422 abstract: true
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300423 description: Test CephFS NFS (DHSS=False)
424 parent: manila-tempest-plugin-base
425 required-projects:
426 - openstack/devstack-plugin-ceph
427 - openstack/neutron-dynamic-routing
428 vars:
Tom Barroncee8ed12021-01-11 14:43:54 -0500429 tempest_concurrency: 2
Goutham Pacha Ravi7669e942023-03-02 15:33:38 -0800430 # turning off some tests due to exhaustion of disk space
431 # https://bugs.launchpad.net/manila/+bug/2009083
432 tempest_exclude_regex: "\
433 (^manila_tempest_tests.tests.scenario.test_share_extend.TestShareExtendNFSIPv6.test_create_extend_and_write)|\
434 (^manila_tempest_tests.tests.scenario.test_share_shrink.TestShareShrinkNFSIPv6.test_create_shrink_and_write)"
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700435 devstack_services: *devstack-with-ovs # LP 1940324
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300436 devstack_plugins:
437 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
438 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
439 devstack_localrc:
Goutham Pacha Ravif67893c2022-08-16 14:07:06 -0700440 # NOTE(gouthamr): LP#1940324 prevents bgp usage with OVN, use OVS
441 Q_AGENT: openvswitch
442 Q_ML2_TENANT_NETWORK_TYPE: vxlan
443 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Goutham Pacha Ravia6602ec2020-08-10 17:43:12 -0700444 VOLUME_BACKING_FILE_SIZE: 60GB
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300445 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
446 MANILA_ENABLED_BACKENDS: cephfsnfs
447 ENABLED_SHARE_PROTOCOLS: NFS
448 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
449 MANILA_SERVICE_IMAGE_ENABLED: true
450 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
451 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
452 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
453 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
454 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
455 MANILA_CEPH_DRIVER: cephfsnfs
456 MANILA_SETUP_IPV6: true
457 NEUTRON_CREATE_INITIAL_NETWORKS: false
458 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
Goutham Pacha Ravia4042642020-10-07 11:51:24 -0700459 zuul_copy_output:
460 '/var/log/ganesha': logs
461 '/etc/ganesha': logs
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300462 devstack_local_conf:
463 test-config:
464 $TEMPEST_CONFIG:
465 share:
466 default_share_type_name: default
467 run_ipv6_tests: true
468 run_share_group_tests: false
469 multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300470 backend_names: CEPHFSNFS
471 enable_protocols: nfs
472 capability_storage_protocol: NFS
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300473 image_password: manila
474
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700475- job:
silvacarloss95b3ac32022-06-23 12:39:00 -0300476 name: manila-tempest-plugin-cephfs-nfs
477 description: Test CephFS NFS (DHSS=False)
478 parent: manila-tempest-plugin-cephfs-nfs-base
silvacarlossd12285b2022-06-30 16:58:08 -0300479 branches: *ubuntu_jammy_test_image_branches
Goutham Pacha Ravi7afdada2023-05-08 17:49:31 -0700480 nodeset: devstack-single-node-centos-9-stream
481 vars:
482 # TODO(gouthamr): some tests are disabled due to bugs
483 # IPv6 Tests: https://bugs.launchpad.net/manila/+bug/1998489
484 # snapshot clone fs sync: https://bugs.launchpad.net/manila/+bug/1989273
485 tempest_exclude_regex: "\
486 (^manila_tempest_tests.tests.scenario.*IPv6.*)|\
487 (^manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS.test_write_data_to_share_created_from_snapshot)"
488 devstack_localrc:
489 MANILA_OPTGROUP_cephfsnfs_cephfs_ganesha_server_ip: "{{ hostvars[inventory_hostname]['nodepool']['private_ipv4'] }}"
490 CEPH_RELEASE: "quincy"
491 MANILA_SETUP_IPV6: false
492 NEUTRON_CREATE_INITIAL_NETWORKS: true
493 IP_VERSION: 4
silvacarloss95b3ac32022-06-23 12:39:00 -0300494
495- job:
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700496 name: manila-tempest-plugin-dummy-no-dhss
497 description: Test the Dummy driver with DHSS=False
498 parent: manila-tempest-plugin-standalone-base
499 vars:
500 devstack_localrc:
501 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
502 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet
503 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
504 MANILA_ENABLED_BACKENDS: alpha,beta,gamma
505 MANILA_OPTGROUP_alpha_driver_handles_share_servers: false
506 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
507 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
508 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
509 MANILA_OPTGROUP_beta_driver_handles_share_servers: false
510 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
511 MANILA_OPTGROUP_beta_share_backend_name: BETA
512 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
513 # With below opts we'll enable a DHSS=True back-end solely for
514 # for the migration test case "test_migration_opposite_driver_modes"
515 MANILA_OPTGROUP_gamma_driver_handles_share_servers: true
516 MANILA_OPTGROUP_gamma_network_config_group: membernet
517 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
518 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
519 MANILA_OPTGROUP_gamma_admin_network_config_group: membernet
520 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
521 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
522 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
523 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
524 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
525 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
526 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
527 devstack_local_conf:
528 test-config:
529 "$TEMPEST_CONFIG":
530 share:
531 backend_names: ALPHA,BETA
532 backend_replication_type: readable
533 build_timeout: 180
534 capability_sg_consistent_snapshot_support: pool
535 enable_ip_rules_for_protocols: nfs
536 enable_ro_access_level_for_protocols: nfs,cifs
537 enable_user_rules_for_protocols: cifs
538 multi_backend: true
539 multitenancy_enabled: false
540 run_driver_assisted_migration_tests: true
541 run_manage_unmanage_snapshot_tests: true
542 run_manage_unmanage_tests: true
543 run_migration_with_preserve_snapshots_tests: true
544 run_mount_snapshot_tests: true
545 run_replication_tests: true
546 run_revert_to_snapshot_tests: true
547 # for migration test case "test_migration_opposite_driver_modes"
548 create_networks_when_multitenancy_enabled: false
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300549
Goutham Pacha Ravidf804d82020-07-10 18:02:30 -0700550- job:
551 name: manila-tempest-plugin-dummy-dhss
552 description: Test the Dummy driver with DHSS=True
553 parent: manila-tempest-plugin-standalone-base
554 vars:
555 devstack_localrc:
556 SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
557 MANILA_CONFIGURE_GROUPS: alpha,beta,gamma,membernet,adminnet
558 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
559 MANILA_ENABLED_BACKENDS: alpha,beta
560 MANILA_OPTGROUP_DEFAULT_quota_share_networks: 50
561 MANILA_OPTGROUP_adminnet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
562 MANILA_OPTGROUP_adminnet_network_plugin_ipv4_enabled: true
563 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
564 MANILA_OPTGROUP_adminnet_standalone_network_plugin_gateway: 11.0.0.1
565 MANILA_OPTGROUP_adminnet_standalone_network_plugin_mask: 24
566 MANILA_OPTGROUP_adminnet_standalone_network_plugin_network_type: vlan
567 MANILA_OPTGROUP_adminnet_standalone_network_plugin_segmentation_id: 1011
568 MANILA_OPTGROUP_alpha_admin_network_config_group: adminnet
569 MANILA_OPTGROUP_alpha_driver_handles_share_servers: true
570 MANILA_OPTGROUP_alpha_network_config_group: membernet
571 MANILA_OPTGROUP_alpha_replication_domain: DUMMY_DOMAIN
572 MANILA_OPTGROUP_alpha_share_backend_name: ALPHA
573 MANILA_OPTGROUP_alpha_share_driver: manila.tests.share.drivers.dummy.DummyDriver
574 MANILA_OPTGROUP_beta_admin_network_config_group: adminnet
575 MANILA_OPTGROUP_beta_driver_handles_share_servers: true
576 MANILA_OPTGROUP_beta_network_config_group: membernet
577 MANILA_OPTGROUP_beta_replication_domain: DUMMY_DOMAIN
578 MANILA_OPTGROUP_beta_share_backend_name: BETA
579 MANILA_OPTGROUP_beta_share_driver: manila.tests.share.drivers.dummy.DummyDriver
580 MANILA_OPTGROUP_membernet_network_api_class: manila.network.standalone_network_plugin.StandaloneNetworkPlugin
581 MANILA_OPTGROUP_membernet_network_plugin_ipv4_enabled: true
582 MANILA_OPTGROUP_membernet_standalone_network_plugin_allowed_ip_ranges: 10.0.0.10-10.0.0.209
583 MANILA_OPTGROUP_membernet_standalone_network_plugin_gateway: 10.0.0.1
584 MANILA_OPTGROUP_membernet_standalone_network_plugin_mask: 24
585 MANILA_OPTGROUP_membernet_standalone_network_plugin_network_type: vlan
586 MANILA_OPTGROUP_membernet_standalone_network_plugin_segmentation_id: 1010
587 # With below opts we'll enable a DHSS=False back-end solely for
588 # for the migration test case "test_migration_opposite_driver_modes"
589 MANILA_OPTGROUP_gamma_driver_handles_share_servers: false
590 MANILA_OPTGROUP_gamma_share_backend_name: GAMMA
591 MANILA_OPTGROUP_gamma_share_driver: manila.tests.share.drivers.dummy.DummyDriver
592 devstack_local_conf:
593 test-config:
594 "$TEMPEST_CONFIG":
595 share:
596 backend_names: ALPHA,BETA
597 backend_replication_type: readable
598 build_timeout: 180
599 capability_sg_consistent_snapshot_support: pool
600 create_networks_when_multitenancy_enabled: false
601 enable_ip_rules_for_protocols: nfs
602 enable_ro_access_level_for_protocols: nfs,cifs
603 enable_user_rules_for_protocols: cifs
604 multi_backend: true
605 multitenancy_enabled: true
606 run_driver_assisted_migration_tests: true
607 run_manage_unmanage_snapshot_tests: true
608 run_manage_unmanage_tests: true
609 run_migration_with_preserve_snapshots_tests: true
610 run_mount_snapshot_tests: true
611 run_replication_tests: true
612 run_revert_to_snapshot_tests: true
debeltramib3089a72020-09-15 21:06:04 +0000613 run_share_server_migration_tests: true
Andrec1a3c0e2022-01-29 14:46:53 +0000614 run_share_server_multiple_subnet_tests: true
615 run_network_allocation_update_tests: true
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700616
617- job:
618 name: manila-tempest-plugin-glusterfs-native
619 description: |
620 Test the GlusterFS driver (DHSS=False) with the native GlusterFS protocol
621 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300622 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700623 required-projects:
624 - x/devstack-plugin-glusterfs
625 vars:
626 tempest_concurrency: 8
627 devstack_plugins:
628 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
629 devstack_localrc:
630 CONFIGURE_GLUSTERFS_MANILA: true
631 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-native
632 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
633 devstack_local_conf:
634 test-config:
635 $TEMPEST_CONFIG:
636 share:
637 run_share_group_tests: false
638 run_snapshot_tests: false
639 multitenancy_enabled: false
640 run_shrink_tests: false
641 run_extend_tests: false
642 multi_backend: false
643 suppress_errors_in_cleanup: True
644 share_creation_retry_number: 2
645 backend_names: GLUSTERNATIVE
646 enable_cert_rules_for_protocols: glusterfs
647 capability_storage_protocol: glusterfs
648 enable_protocols: glusterfs
649
650- job:
651 name: manila-tempest-plugin-glusterfs-nfs
652 description: |
653 Test the GlusterFS driver (DHSS=False) with the native NFS protocol
654 parent: manila-tempest-plugin-standalone-base
silvacarloss59c47952022-11-21 15:40:03 -0300655 nodeset: openstack-single-node-focal
Goutham Pacha Ravi842d08b2020-05-28 22:25:21 -0700656 required-projects:
657 - x/devstack-plugin-glusterfs
658 vars:
659 tempest_concurrency: 8
660 devstack_plugins:
661 devstack-plugin-glusterfs: https://opendev.org/x/devstack-plugin-glusterfs
662 devstack_localrc:
663 CONFIGURE_GLUSTERFS_MANILA: true
664 GLUSTERFS_MANILA_DRIVER_TYPE: glusterfs-nfs
665 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=False'
666 devstack_local_conf:
667 test-config:
668 $TEMPEST_CONFIG:
669 share:
670 run_share_group_tests: false
671 run_snapshot_tests: false
672 multitenancy_enabled: False
673 run_shrink_tests: true
674 multi_backend: false
675 suppress_errors_in_cleanup: True
676 share_creation_retry_number: 2
677 backend_names: GLUSTERFS
678 enable_ip_rules_for_protocols: nfs
679 capability_storage_protocol: NFS
680 enable_protocols: nfs
681 # read-only access rules not supported
682 enable_ro_access_level_for_protocols: ""
silvacarloss95b3ac32022-06-23 12:39:00 -0300683
silvacarlosse21dbfd2022-06-29 15:46:45 -0300684- job:
lkuchlan7b2566a2021-04-14 10:31:31 +0300685 name: manila-tempest-plugin-dummy-no-dhss-rbac
686 parent: manila-tempest-plugin-dummy-no-dhss
687 description: |
688 This job runs the devstack with scope checks enabled,
689 on the Dummy driver with DHSS=False.
690 vars:
691 tempest_test_regex: 'manila_tempest_tests.tests.rbac'
692 devstack_localrc:
693 MANILA_ENFORCE_SCOPE: true
694 devstack_local_conf:
695 test-config:
696 "$TEMPEST_CONFIG":
697 share:
698 default_share_type_name: default
699
700- job:
silvacarlosse21dbfd2022-06-29 15:46:45 -0300701 name: manila-tempest-plugin-lvm-fips-base
702 parent: manila-tempest-plugin-lvm-base
703 nodeset: devstack-single-node-centos-9-stream
704 description: |
705 Run LVM DHSS false tests for manila project using FIPS.
706 pre-run:
707 - playbooks/enable-fips.yaml
708 vars:
709 nslookup_target: 'opendev.org'
710 devstack_localrc:
711 MANILA_SETUP_IPV6: false
712 NEUTRON_CREATE_INITIAL_NETWORKS: true
713 IP_VERSION: 4
714 configure_swap_size: 4096
715 devstack_local_conf:
716 test-config:
717 "$TEMPEST_CONFIG":
718 validation:
719 ssh_key_type: 'ecdsa'
720 share:
721 run_ipv6_tests: false
722
723- job:
724 name: manila-tempest-plugin-lvm-fips
725 parent: manila-tempest-plugin-lvm-fips-base
726 branches: ^(?!stable/(yoga|xena|wallaby|victoria|ussuri)).*$
727
silvacarloss95b3ac32022-06-23 12:39:00 -0300728- project-template:
729 name: manila-tempest-plugin-jobs-using-service-image
730 description: |
731 Runs jobs that will also perform scenario tests in the branches that are
732 newer than Yoga.
733 check:
734 jobs:
735 - manila-tempest-plugin-lvm
736 - manila-tempest-plugin-generic-scenario:
737 voting: false
738 - manila-tempest-plugin-generic:
739 voting: false
Victoria Martinez de la Cruz60626d52022-03-17 19:24:28 +0000740 - manila-tempest-plugin-cephfs-native-cephadm:
silvacarloss95b3ac32022-06-23 12:39:00 -0300741 voting: false
742 - manila-tempest-plugin-cephfs-nfs:
743 voting: false
744 - manila-tempest-plugin-zfsonlinux:
745 voting: false
746 gate:
747 jobs:
748 - manila-tempest-plugin-lvm