Disable import workflow in glance cinder jobs

Recently, glance-multistore-cinder-import job started failing.
As per the RCA done here[1], the reason is glance is using
import workflow to create images which is an async operation.
As in case of glance cinder configuration, there are a lot of
external APIs (cinder) called like volume create, attachment
create, attachment update, attachment delete etc which takes
time to process hence the image doesn't get available in the
expected time (as per devstack) hence the failure.
Disabling import workflow will cause the images to be created
synchronously which should pass the glance cinder jobs.
To disable import workflow, we are inheriting from
tempest-integrated-storage and not
tempest-integrated-storage-import (which has import plugin enabled).

[1] https://review.opendev.org/c/openstack/glance/+/841278/1#message-456096e48b28e5b866deb8bf53e9258ee08219a0

Closes-Bug: 1973136
Change-Id: I524dfeb05c078773aa77020d4a6a9991a7eb75c2
This commit is contained in:
whoami-rajat 2022-05-12 12:24:06 +05:30
parent 331ce59a50
commit d7fa7a0321

View File

@ -257,9 +257,10 @@
- job: - job:
name: glance-multistore-cinder-import name: glance-multistore-cinder-import
parent: tempest-integrated-storage-import parent: tempest-integrated-storage
description: | description: |
The regular import workflow job to test with multiple cinder stores The regular tempest-integrated-storage job but with multiple cinder
stores
vars: vars:
devstack_localrc: devstack_localrc:
USE_CINDER_FOR_GLANCE: True USE_CINDER_FOR_GLANCE: True
@ -269,10 +270,10 @@
- job: - job:
name: glance-multistore-cinder-import-fips name: glance-multistore-cinder-import-fips
parent: tempest-integrated-storage-import parent: tempest-integrated-storage
description: | description: |
The regular import workflow job to test with multiple cinder stores with The regular tempest-integrated-storage job but with multiple cinder
fips enabled stores with fips enabled
nodeset: devstack-single-node-centos-8-stream nodeset: devstack-single-node-centos-8-stream
pre-run: playbooks/enable-fips.yaml pre-run: playbooks/enable-fips.yaml
vars: vars: