glance/glance/common
Dan Smith e87d3fbbe5 Add housekeeping module and staging cleaner
As noted in previous discussions, glance should clean its staging
directory on startup. This is important for scenarios where we
started an import operation, but failed in the middle. If, when we
recover, the image has already been deleted from the database, then
we will never remove the (potentially very large) residue from disk
in our staging directory.

This is currently a problem with web-download, but will also occur
with glance-direct once we have the non-shared distributed import
functionality merged.

Conflicts:
	glance/tests/unit/common/test_wsgi_app.py: Does not exist

Closes-Bug: #1913625
Change-Id: Ib80e9cfb58680f9e8ead5993dc206f4da882dd09
(cherry picked from commit 232177e68c)
(cherry picked from commit 9467994136)
2021-07-30 09:14:52 +00:00
..
location_strategy Remove all references to sheepdog 2020-04-02 15:39:57 -05:00
scripts Heartbeat the actual work of the task 2020-08-25 11:35:05 -07:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
auth.py doc: Clean up unnecessary left vertical lines 2019-12-23 13:58:32 +00:00
client.py doc: Clean up unnecessary left vertical lines 2019-12-23 13:58:32 +00:00
config.py Deprecate allow_additional_image_properties 2020-03-25 16:48:56 -04:00
crypt.py Use cryptography instead of pycrypto 2017-03-28 13:12:57 -04:00
exception.py Update task message during import 2020-08-25 11:35:14 -07:00
property_utils.py Move policy defaults into code 2020-01-06 12:56:30 -05:00
rpc.py do not declare code blocks as json when they do not parse 2017-06-21 14:15:58 -04:00
store_utils.py Improve lazy loading mechanism for multiple stores 2020-07-14 16:20:22 +00:00
swift_store_utils.py Raise hacking to latest 2.0.0 release 2020-03-27 14:11:08 -05:00
timeutils.py Raise hacking to latest 2.0.0 release 2020-03-27 14:11:08 -05:00
trust_auth.py Remove all usage of keystoneclient 2018-04-09 17:45:10 -05:00
utils.py Exclude http store if --all-stores specified for import/copy operation 2020-06-04 19:12:27 +00:00
wsgi.py Add housekeeping module and staging cleaner 2021-07-30 09:14:52 +00:00
wsgi_app.py Add housekeeping module and staging cleaner 2021-07-30 09:14:52 +00:00
wsme_utils.py Replace oslo_utils.timeutils 2015-12-10 10:53:46 +00:00