glance/glance/tests
Dan Smith 9cb3240b94 Make web-download revert all stores on fail
If web-download fails to stage the image, no subsequent import to
store tasks could have run. Thus, we should remove all of them from
"importing" and add them to "failed" so that it is obvious from the
outside that we failed.

This is another good reason for having the $image/tasks API, but we
also should not continue advertising "yes we're importing to $store"
when we are not.

NOTE(lyarwood): This includes a partial squashed revert of the
.zuul.yaml changes in Ifd55c44fef4e2187052d77084dc9c0fa9c9a0d16 that
removed nova-ceph-multistore. This is reintroduced here to ensure this
change resolves the stable/victoria specific bug #1919993 and the
original bug #1914826.

Change-Id: Iebbb2dcb767ecf3c965f34f1ca04af20a2039be1
Closes-Bug: #1914826
Closes-Bug: #1919993
(cherry picked from commit cbb2af6e32)
2021-03-18 15:02:29 +00:00
..
etc Remove unused "copy_from" policy rule 2020-07-15 13:01:58 -07:00
functional Bump Images API version to 2.11 2020-09-30 23:45:36 +01:00
gate Separate out configuration tests 2019-03-22 13:01:14 -04:00
integration Cleanup remove api v1 and registry code 2020-07-14 10:38:19 +00:00
unit Make web-download revert all stores on fail 2021-03-18 15:02:29 +00:00
var Support importing OVA/OVF package to Glance 2016-02-24 14:35:19 -08:00
__init__.py Make glance-api able to do async tasks in WSGI mode 2020-07-24 11:13:45 -07:00
stubs.py Cleanup remove api v1 and registry code 2020-07-14 10:38:19 +00: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-08-24 06:41:13 -07:00