glance/glance
Dan Smith 737dfca83c 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
2020-08-18 16:56:32 +00:00
..
api Add "stores" to disallowed properties 2020-07-30 19:30:17 +00:00
async_ Fix import failure status reporting when all_stores_must_succeed=True 2020-08-18 16:56:32 +00:00
cmd Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
common Update task message during import 2020-08-07 12:22:31 -07:00
db Add image_delete_property_atomic() helper 2020-08-07 12:13:22 -07:00
domain Add image_delete_property_atomic() helper 2020-08-07 12:13:22 -07:00
hacking Cleanup remove api v1 and registry code 2020-07-14 10:38:19 +00:00
image_cache Stop to use the __future__ module. 2020-06-02 20:14:31 +02:00
locale Imported Translations from Zanata 2020-06-16 07:47:50 +00:00
policies Remove unused "copy_from" policy rule 2020-07-15 13:01:58 -07:00
quota Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
tests Fix import failure status reporting when all_stores_must_succeed=True 2020-08-18 16:56:32 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Add context.elevated() helper for getting admin privileges 2020-07-10 08:59:53 -07:00
gateway.py Refactor TaskFactory and Executor to take an admin ImageRepo 2020-07-10 08:59:53 -07:00
i18n.py Raise hacking to latest 2.0.0 release 2020-03-27 14:11:08 -05:00
location.py Inspect upload/import stream and set virtual_size 2020-08-05 08:42:04 -07:00
notifier.py Add ability to import image into multi-stores 2020-02-10 09:39:01 +01:00
opts.py Add new config options in sample config generator 2020-07-28 16:06:43 +00:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py Fix string interpolation to delay by logging 2020-01-09 08:53:55 -06:00
version.py Add support for oslo.reports 2019-09-20 05:17:58 +00:00