glance/glance/common
Brian Rosmaita 982016670f Fix api_image_import tasks stuck in 'pending'
The immediate cause was that the api_image_import flow was not
listed in the entrypoints in setup.cfg, so stevedore couldn't find
it.  After the entrypoint was added, the task was going to failure
because it couldn't find the image_id.  So this patch has the
import controller add the image_id to the task_input dict.  Next
the flows were having trouble finding the image_id, so I just
passed it to them.  There's probably a more elegant way to have
taskflow handle this, so this patch could use a refactoring.  On
the plus side, the interoperable image import process does appear
to work with this patch.

NOTE: if you want to test this in devstack, use the stable/ocata
devstack but with the master branch of glance.  The tasks engine
doesn't appear to be running under the Pike devstack configuration.
(Use defect 1712463 if you have an idea what might be the problem.)

Change-Id: Ic68c17f4cb671eb664e2de331787b55fe9878a27
Closes-bug: #1712462
(cherry picked from commit 4366a7493c)
2017-08-24 01:52:07 +00:00
..
location_strategy Clean up acceptable values for 'store_type_preference' 2017-04-26 15:06:33 +00:00
scripts Fix api_image_import tasks stuck in 'pending' 2017-08-24 01:52:07 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
auth.py Extracted HTTP response codes to constants 2016-10-06 15:15:20 +00:00
client.py IPv6 fix in Glance for malformed URLs. 2016-11-15 17:09:51 +01:00
config.py Correct group name in config 2017-08-21 22:47:15 +00:00
crypt.py Use cryptography instead of pycrypto 2017-03-28 13:12:57 -04:00
exception.py Remove the remaining code after glare-ectomy 2017-03-17 15:29:16 +03:00
property_utils.py Update the documention for doc migration 2017-08-02 07:22:46 +00: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 Remove references of s3 store driver 2016-08-11 12:32:48 -04:00
swift_store_utils.py Change SafeConfigParser into ConfigParser 2017-01-10 08:28:53 +00:00
timeutils.py Use oslo.utils exception encoding util 2016-01-22 16:14:20 -08:00
trust_auth.py Fix trust auth mechanism 2017-06-29 22:35:07 +03:00
utils.py Fix some reST field lists in docstrings 2017-03-25 00:35:17 -07:00
wsgi_app.py Add pbr wsgi script entrypoint to glance 2017-06-18 03:52:20 -04:00
wsgi.py Merge "Fix filter doesn't support non-ascii characters" 2017-07-25 21:52:59 +00:00
wsme_utils.py Replace oslo_utils.timeutils 2015-12-10 10:53:46 +00:00