Comment 6 for bug 1891352

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/ussuri)

Reviewed: https://review.opendev.org/748012
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=2d5e84390e1a9960abc6cd2969ee7021c62c4c33
Submitter: Zuul
Branch: stable/ussuri

commit 2d5e84390e1a9960abc6cd2969ee7021c62c4c33
Author: Dan Smith <email address hidden>
Date: Wed Aug 12 09:22:46 2020 -0700

    Fix import failure status reporting when all_stores_must_succeed=True

    As described in the referenced bug, if a store fails with
    all_stores_must_succeed=True, we never add that store to the
    failed list, nor remove it from the pending-import list, leaving a
    polling client to wait forever. This fixes that by making the revert
    handler of the import task do that if we are the one that failed.

    Closes-Bug: #1891352
    Change-Id: I3571960bbfb4f8f0a716937b541f5b1594cd0e16
    (cherry picked from commit 737dfca83c8d347ef22eab7afca4057ce5f03f20)