glance/glance/api
Erno Kuvaja 0376185fb3 Prevent taskflow creation in impossible import
This change prevents taskflow creation during image import in cases
we know for sure that the image activation won't be successful.

The change follows the Glance principles of failing early and tries
to provide as meaningful error messages to the end user as possible.

Co-authored-by: Abhishek Kekane <akekane@redhat.com>
Closes-bug: 1758943
Change-Id: Iaee2781d07f4c0afd4f886f0b30b523bd47f1058
2018-07-02 13:53:21 +01:00
..
middleware Deprecate owner_is_tenant 2018-03-13 13:50:34 -04:00
v1 Merge "Prevent v1_api from making requests to v2_registry" 2017-08-10 15:59:51 +00:00
v2 Prevent taskflow creation in impossible import 2018-07-02 13:53:21 +01:00
__init__.py Move Glance Artifact Repository API to separate endpoint 2016-02-10 18:34:55 +03:00
authorization.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
cached_images.py Add logging when policies forbid an action 2015-04-15 17:59:37 +02:00
common.py Merge "Import i18n functions directly" 2015-12-10 03:42:30 +00:00
policy.py Move 'upload_image' policy check to the controller 2017-12-11 19:58:18 +05:30
property_protections.py hacking: upgrade to 0.9.x serie 2014-10-06 14:41:03 +02:00
versions.py Enable Image Import per default and make current 2018-01-24 13:01:55 +00:00