glance/glance/tests
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
..
etc Add Policy enforcement for several Metadata Definition delete APIs 2020-04-06 14:47:05 +00:00
functional Add housekeeping module and staging cleaner 2021-07-30 09:14:52 +00:00
gate Separate out configuration tests 2019-03-22 13:01:14 -04:00
integration Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
unit Add housekeeping module and staging cleaner 2021-07-30 09:14:52 +00:00
var Support importing OVA/OVF package to Glance 2016-02-24 14:35:19 -08:00
__init__.py Allow glance tests to run on Windows 2019-03-13 16:41:11 +02:00
stubs.py Remove moxstubout usage 2018-10-28 10:16:34 -04:00
test_hacking.py Hacking checks for not using dict iteration calls 2016-01-25 21:54:08 -08:00
utils.py Add FakeData generator test utility 2020-09-03 08:00:34 -07:00