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)
Reviewed: https:/ /review. opendev. org/748012 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=2d5e84390e1 a9960abc6cd2969 ee7021c62c4c33
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 2d5e84390e1a996 0abc6cd2969ee70 21c62c4c33
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 stores_ must_succeed= True, we never add that store to the
all_
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 f0a716937b541f5 b1594cd0e16 ef22eab7afca405 7ce5f03f20)
Change-Id: I3571960bbfb4f8
(cherry picked from commit 737dfca83c8d347