glance-multistore-cinder-import is failing consistently

Bug #1973136 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Unassigned

Bug Description

glance-multistore-cinder-import and glance-multistore-cinder-import-fips (non-voting) jobs are failing consistently on glance gate with the following error

2022-05-11 07:50:33.918925 | controller | ++ lib/tempest:configure_tempest:181 : echo 'Found no valid images to use!'

https://zuul.opendev.org/t/openstack/build/1838a5d0284e42ec81270cc8a33a1b8f

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/glance/+/841548

Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/841548
Committed: https://opendev.org/openstack/glance/commit/d7fa7a0321ea5a56ec130aa0bd346749459ccaf2
Submitter: "Zuul (22348)"
Branch: master

commit d7fa7a0321ea5a56ec130aa0bd346749459ccaf2
Author: whoami-rajat <email address hidden>
Date: Thu May 12 12:24:06 2022 +0530

    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

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/glance/+/841747

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to glance (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/glance/+/841837

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/841837
Committed: https://opendev.org/openstack/glance/commit/025ba83c470fd58425273ad10975a1eb3d095452
Submitter: "Zuul (22348)"
Branch: master

commit 025ba83c470fd58425273ad10975a1eb3d095452
Author: whoami-rajat <email address hidden>
Date: Mon May 16 12:25:49 2022 +0530

    Override GLANCE_USE_IMPORT_WORKFLOW in cinder jobs

    With change[1], we moved glance cinder jobs parent from
    tempest-integrated-storage-import to regular
    tempest-integrated-storage job but this job also has
    import workflow enabled[2].
    In this patch we are overriding GLANCE_USE_IMPORT_WORKFLOW
    to False in cinder jobs to ensure that import workflow
    is disabled in those jobs.
    Also removing -import from job names since it's not using
    import plugin anymore.

    [1] https://review.opendev.org/c/openstack/glance/+/841548
    [2] https://opendev.org/openstack/tempest/src/branch/master/zuul.d/integrated-gate.yaml#L195

    Related-Bug: #1973136
    Change-Id: I2775e007f942feed8fa6ae5e385c03992859edc1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers