glance/glance/tests
Edward Hope-Morley 51ecc8016a Adds guard against upload contention
Protect against concurrent image uploads by allowing the
initial request to proceed and succeed and subsequent
concurrent requests to fail.

We now allow the upload activation to specify what state
it expects to transition to 'active' from. If by the time
the db is updated the transition has already occured i.e.
another upload has succeeded, the upload will fail and data
will be cleaned up.

Fixes: bug 1241025
Change-Id: Ie532b61484bec660910fb9a37429397bde8ef11f
2013-12-19 14:26:40 +00:00
..
etc Adds domain level support for tasks 2013-11-26 16:35:12 -05:00
functional Merge "Return 204 when image data does not exist" 2013-12-18 03:32:04 +00:00
integration Enable tasks REST API for async worker 2013-12-13 22:58:53 -05:00
unit Adds guard against upload contention 2013-12-19 14:26:40 +00:00
var New -k/--insecure command line option 2012-02-13 13:57:13 +00:00
__init__.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 18:29:53 +02:00
stubs.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 18:29:53 +02:00
utils.py Enable F40X checking 2013-11-27 18:15:48 +02:00