glance/glance
Dan Smith 77d9cfa66e Update task message during import
This updates the task.message field with details about the copy,
which will also update the updated_at field on the task. This will
facilitate some rudimentary liveness checking from outside the task
thread. Note that it also checks the state of our task, and will
abort if it has been pushed out of 'processing' state externally.
This will be used in the following patch to faciliate import lock
busting behavior.

Change-Id: I8667c17813f6e701db98595b0b30df9e7b275294
2020-08-07 12:22:31 -07:00
..
api Add "stores" to disallowed properties 2020-07-30 19:30:17 +00:00
async_ Update task message during import 2020-08-07 12:22:31 -07: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 Update task message during import 2020-08-07 12:22:31 -07: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 Drop collections.abc compat handling 2020-07-09 10:49:12 -05: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