blob: fee206a15b901b2aad73de0d1082649cdf8d1227 [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 Ravi5dd63012020-04-29 22:18:14 -070047
48
49- job:
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -070050 name: manila-tempest-plugin-ipv6-base
51 abstract: true
52 description: |
53 Base job for devstack/tempest based manila jobs in a 4+6 (dual-stack)
54 devstack environment with IPv6 control plane endpoints.
55 parent: devstack-tempest-ipv6
56 timeout: 10800
57 irrelevant-files: *irrelevant-files
58 required-projects: *manila-tempest-required-projects
59 vars: *manila-tempest-base-vars
60
61- job:
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070062 name: manila-tempest-plugin-zfsonlinux
63 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
64 parent: manila-tempest-plugin-base
65 vars:
66 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
67 devstack_localrc:
68 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
69 MANILA_ENABLED_BACKENDS: london,paris
70 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
71 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
72 MANILA_SHARE_BACKEND1_NAME: LONDON
73 MANILA_SHARE_BACKEND2_NAME: PARIS
74 MANILA_OPTGROUP_london_driver_handles_share_servers: false
75 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
76 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
77 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
78 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
79 MANILA_ZFSONLINUX_USE_SSH: true
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -070080 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
81 devstack_services:
82 mysql: false
83 postgresql: true
84 devstack_local_conf:
85 test-config:
86 $TEMPEST_CONFIG:
87 share:
88 default_share_type_name: default
89 run_driver_assisted_migration_tests: true
90 run_host_assisted_migration_tests: true
91 run_replication_tests: true
92 run_manage_unmanage_snapshot_tests: true
93 run_manage_unmanage_tests: true
94 run_multiple_share_replicas_tests: false
95 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
96 backend_replication_type: readable
97 enable_protocols: nfs
98 capability_storage_protocol: NFS
99 build_timeout: 180
100 enable_ip_rules_for_protocols: nfs
101 multitenancy_enabled: False
102 backend_names: LONDON,PARIS
103 multi_backend: true
104 image_password: manila
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700105
106- job:
107 name: manila-tempest-plugin-lvm
108 description: |
109 Test LVM multibackend (DHSS=False) in a 4+6 (dual-stack) devstack
110 environment with IPv6 control plane endpoints.
111 parent: manila-tempest-plugin-ipv6-base
112 required-projects:
113 - openstack/neutron-dynamic-routing
114 vars:
Goutham Pacha Ravi170cc452020-07-15 23:42:05 -0700115 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
Goutham Pacha Ravi4484d1a2020-05-04 17:34:38 -0700116 devstack_localrc:
117 SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
118 MANILA_ENABLED_BACKENDS: london,paris
119 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
120 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
121 MANILA_SHARE_BACKEND1_NAME: LONDON
122 MANILA_SHARE_BACKEND2_NAME: PARIS
123 MANILA_OPTGROUP_london_driver_handles_share_servers: false
124 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
125 SHARE_BACKING_FILE_SIZE: 32000M
126 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
127 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
128 MANILA_SETUP_IPV6: true
129 NEUTRON_CREATE_INITIAL_NETWORKS: false
130 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
131 devstack_plugins:
132 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
133 devstack_local_conf:
134 test-config:
135 $TEMPEST_CONFIG:
136 share:
137 default_share_type_name: default
138 run_ipv6_tests: true
139 run_mount_snapshot_tests: true
140 run_host_assisted_migration_tests: true
141 run_shrink_tests: false
142 run_revert_to_snapshot_tests: true
143 enable_user_rules_for_protocols: cifs
144 enable_ip_rules_for_protocols: nfs
145 multitenancy_enabled: False
146 backend_names: LONDON,PARIS
147 multi_backend: true
148 image_password: manila
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700149
150- job:
151 name: manila-tempest-plugin-container
152 description: |
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700153 Test the container driver multibackend (DHSS=True) with CIFS
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700154 and postgresql db. API only, in a minimal devstack
155 parent: manila-tempest-plugin-base
156 vars:
157 tempest_test_regex: manila_tempest_tests.tests.api
158 devstack_localrc:
159 SHARE_DRIVER: manila.share.drivers.container.driver.ContainerShareDriver
160 MANILA_SERVICE_IMAGE_ENABLED: false
161 MANILA_ENABLED_BACKENDS: london,paris
162 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
163 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
164 MANILA_SHARE_BACKEND1_NAME: LONDON
165 MANILA_SHARE_BACKEND2_NAME: PARIS
166 MANILA_OPTGROUP_london_driver_handles_share_servers: true
167 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
168 SHARE_BACKING_FILE_SIZE: 64000M
169 MANILA_CONFIGURE_DEFAULT_TYPES: false
170 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=false'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700171 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Ravi7a8f5ef2020-05-05 23:01:52 -0700172 devstack_services:
173 mysql: false
174 postgresql: true
175 devstack_local_conf:
176 test-config:
177 $TEMPEST_CONFIG:
178 share:
179 enable_ip_rules_for_protocols: ""
180 run_share_group_tests: false
181 run_manage_unmanage_tests: true
182 run_snapshot_tests: false
183 run_shrink_tests: false
184 enable_user_rules_for_protocols: cifs
185 enable_protocols: cifs
186 capability_storage_protocol: CIFS
187 multitenancy_enabled: true
188 backend_names: LONDON,PARIS
189 multi_backend: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700190
191- job:
192 name: manila-tempest-plugin-generic
193 description: |
194 Test the generic driver multibackend (DHSS=True) with NFS and CIFS
195 parent: manila-tempest-plugin-base
196 vars:
197 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
198 # The generic driver uses nova VMs as share servers; running with a
199 # high concurrency could starve the driver of RAM/Disk/CPUs to
200 # function properly in a small single node devstack VM.
201 tempest_concurrency: 2
202 devstack_localrc:
203 VOLUME_BACKING_FILE_SIZE: 24G
204 SHARE_DRIVER: manila.share.drivers.generic.GenericShareDriver
205 MANILA_ENABLED_BACKENDS: london,paris
206 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
207 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
208 MANILA_SHARE_BACKEND1_NAME: LONDON
209 MANILA_SHARE_BACKEND2_NAME: PARIS
210 MANILA_OPTGROUP_london_driver_handles_share_servers: true
211 MANILA_OPTGROUP_paris_driver_handles_share_servers: true
212 MANILA_USE_SERVICE_INSTANCE_PASSWORD: true
213 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
Goutham Pacha Ravi8f333bd2020-06-19 13:54:22 -0700214 TEMPEST_USE_TEST_ACCOUNTS: true
Goutham Pacha Raviacc536e2020-05-05 23:01:52 -0700215 devstack_services:
216 cinder: true
217 devstack_local_conf:
218 test-config:
219 $TEMPEST_CONFIG:
220 share:
221 default_share_type_name: default
222 run_share_group_tests: false
223 multitenancy_enabled: true
224 suppress_errors_in_cleanup: true
225 share_creation_retry_number: 2
226 backend_names: LONDON,PARIS
227 multi_backend: true
228 image_password: manila
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300229
230- job:
231 name: manila-tempest-plugin-cephfs-native
232 description: Test CephFS Native (DHSS=False)
233 parent: manila-tempest-plugin-base
234 required-projects:
235 - openstack/devstack-plugin-ceph
236 vars:
237 devstack_plugins:
238 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
lkuchlan3c20c062020-05-31 15:25:15 +0300239 tempest_test_regex: manila_tempest_tests
240 # Those tests fail when using kernel client, because right now CephFS quotas
241 # is not supported. So for now those tests should be blacklisted.
242 # TODO(lkuchlan) un-blacklist those test when https://review.opendev.org/#/c/676722 will land.
243 tempest_black_regex: '(TestShareShrinkCEPHFS.test_create_shrink_and_write|TestShareExtendCEPHFS.test_create_extend_and_write)(\[.*\bbackend\b.*\])'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300244 devstack_localrc:
245 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
246 MANILA_ENABLED_BACKENDS: cephfsnative
247 ENABLED_SHARE_PROTOCOLS: CEPHFS
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700248 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300249 MANILA_OPTGROUP_cephfsnative_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
250 MANILA_OPTGROUP_cephfsnative_driver_handles_share_servers: false
251 MANILA_OPTGROUP_cephfsnative_cephfs_conf_path: /etc/ceph/ceph.conf
252 MANILA_OPTGROUP_cephfsnative_cephfs_auth_id: manila
lkuchlan3c20c062020-05-31 15:25:15 +0300253 MANILA_SERVICE_IMAGE_URL: https://tarballs.opendev.org/openstack/manila-image-elements/images/manila-service-image-cephfs-master.qcow2
254 MANILA_SERVICE_IMAGE_NAME: manila-service-image-cephfs-master
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300255 devstack_local_conf:
256 test-config:
257 $TEMPEST_CONFIG:
258 share:
lkuchlan3c20c062020-05-31 15:25:15 +0300259 default_share_type_name: default
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300260 enable_cephx_rules_for_protocols: cephfs
261 run_share_group_tests: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300262 multitenancy_enabled: false
Goutham Pacha Ravi2ed58262020-06-19 12:57:40 -0700263 capability_create_share_from_snapshot_support: false
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300264 suppress_errors_in_cleanup: true
265 backend_names: CEPHFSNATIVE
Victoria Martinez de la Cruz62ff7872020-05-05 17:21:14 -0300266 capability_storage_protocol: CEPHFS
lkuchlan3c20c062020-05-31 15:25:15 +0300267 enable_protocols: cephfs
268 image_password: manila
Victoria Martinez de la Cruzb28c6cd2020-05-07 07:36:28 -0300269
270
271- job:
272 name: manila-tempest-plugin-cephfs-nfs
273 description: Test CephFS NFS (DHSS=False)
274 parent: manila-tempest-plugin-base
275 required-projects:
276 - openstack/devstack-plugin-ceph
277 - openstack/neutron-dynamic-routing
278 vars:
279 devstack_plugins:
280 devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
281 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
282 devstack_localrc:
283 SHARE_DRIVER: manila.share.drivers.cephfs.driver.CephFSDriver
284 MANILA_ENABLED_BACKENDS: cephfsnfs
285 ENABLED_SHARE_PROTOCOLS: NFS
286 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True'
287 MANILA_SERVICE_IMAGE_ENABLED: true
288 MANILA_OPTGROUP_cephfsnfs_share_driver: manila.share.drivers.cephfs.driver.CephFSDriver
289 MANILA_OPTGROUP_cephfsnfs_driver_handles_share_servers: false
290 MANILA_OPTGROUP_cephfsnfs_cephfs_protocol_helper_type: NFS
291 MANILA_OPTGROUP_cephfsnfs_cephfs_conf_path: /etc/ceph/ceph.conf
292 MANILA_OPTGROUP_cephfsnfs_cephfs_auth_id: manila
293 MANILA_CEPH_DRIVER: cephfsnfs
294 MANILA_SETUP_IPV6: true
295 NEUTRON_CREATE_INITIAL_NETWORKS: false
296 MANILA_RESTORE_IPV6_DEFAULT_ROUTE: false
297 devstack_local_conf:
298 test-config:
299 $TEMPEST_CONFIG:
300 share:
301 default_share_type_name: default
302 run_ipv6_tests: true
303 run_share_group_tests: false
304 multitenancy_enabled: false
305 suppress_errors_in_cleanup: true
306 backend_names: CEPHFSNFS
307 enable_protocols: nfs
308 capability_storage_protocol: NFS
309 capability_create_share_from_snapshot_support: false
310 image_password: manila
311
312