Skip to content

Commit b49c042

Browse files
committed
Adjust jobs for devstack WSGI mode default
Devstack is switching the default glance operational model back to pure-WSGI mode for parity with the rest of the services. This adjusts our jobs to fit with that so that we're testing the default, but also the standalone case. After this change, we end up with the following for the vanilla devstack jobs: - The "-import" job, which takes the devstack default of WSGI mode, with all the tweaks required for import to be enabled. It configures import conversion to raw, metadata injection, and confirms that with a post-run check for that metadata. - The "-import-standalone" job, which inherits all the behaviors from the job above, but configures glance in standalone mode. Depends-On: https://review.opendev.org/#/c/742884 Change-Id: Ia3fb8aba83bbd7a1399aef136ce8857b14d08435
1 parent 6504588 commit b49c042

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

.zuul.yaml

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -216,17 +216,22 @@
216216
tox_envlist: functional-py36
217217

218218
- job:
219-
name: tempest-integrated-storage-import-workflow
219+
name: tempest-integrated-storage-import
220220
parent: tempest-integrated-storage
221221
description: |
222222
The regular tempest-integrated-storage job but with glance metadata injection
223223
post-run: playbooks/post-check-metadata-injection.yaml
224224
vars:
225225
devstack_localrc:
226-
GLANCE_STANDALONE: True
226+
GLANCE_STANDALONE: False
227227
GLANCE_USE_IMPORT_WORKFLOW: True
228228
devstack_local_conf:
229229
post-config:
230+
$GLANCE_API_CONF:
231+
DEFAULT:
232+
enabled_import_methods: "[\"copy-image\", \"glance-direct\"]"
233+
wsgi:
234+
python_interpreter: /usr/bin/python3
230235
$GLANCE_IMAGE_IMPORT_CONF:
231236
image_import_opts:
232237
image_import_plugins: "['inject_image_metadata', 'image_conversion']"
@@ -238,26 +243,14 @@
238243
output_format: raw
239244

240245
- job:
241-
name: tempest-integrated-storage-wsgi-import
242-
parent: tempest-integrated-storage
246+
name: tempest-integrated-storage-import-standalone
247+
parent: tempest-integrated-storage-import
243248
description: |
244-
The regular tempest-integrated-storage job but with glance in wsgi mode
249+
The regular tempest-integrated-storage-import-workflow job but with glance in
250+
standalone mode
245251
vars:
246252
devstack_localrc:
247-
GLANCE_STANDALONE: False
248-
GLANCE_USE_IMPORT_WORKFLOW: True
249-
devstack_local_conf:
250-
post-config:
251-
$GLANCE_API_CONF:
252-
DEFAULT:
253-
enabled_import_methods: "[\"copy-image\", \"glance-direct\"]"
254-
wsgi:
255-
python_interpreter: /usr/bin/python3
256-
$GLANCE_IMAGE_IMPORT_CONF:
257-
image_import_opts:
258-
image_import_plugins: "['image_conversion']"
259-
image_conversion:
260-
output_format: raw
253+
GLANCE_STANDALONE: True
261254

262255
- job:
263256
name: glance-ceph-thin-provisioning
@@ -304,9 +297,9 @@
304297
- ^\.zuul\.yaml$
305298
- tempest-integrated-storage:
306299
irrelevant-files: *tempest-irrelevant-files
307-
- tempest-integrated-storage-import-workflow:
300+
- tempest-integrated-storage-import:
308301
irrelevant-files: *tempest-irrelevant-files
309-
- tempest-integrated-storage-wsgi-import:
302+
- tempest-integrated-storage-import-standalone:
310303
irrelevant-files: *tempest-irrelevant-files
311304
- grenade:
312305
irrelevant-files: *tempest-irrelevant-files
@@ -320,7 +313,9 @@
320313
- openstack-tox-functional-py38
321314
- tempest-integrated-storage:
322315
irrelevant-files: *tempest-irrelevant-files
323-
- tempest-integrated-storage-import-workflow:
316+
- tempest-integrated-storage-import:
317+
irrelevant-files: *tempest-irrelevant-files
318+
- tempest-integrated-storage-import-standalone:
324319
irrelevant-files: *tempest-irrelevant-files
325320
- grenade:
326321
irrelevant-files: *tempest-irrelevant-files

0 commit comments

Comments
 (0)