Reviewed: https://review.openstack.org/544184 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=0b22c77ab346360496e5208d4f474db807293909 Submitter: Zuul Branch: master
commit 0b22c77ab346360496e5208d4f474db807293909 Author: Abhishek Kekane <akek...@redhat.com> Date: Wed Feb 14 08:09:57 2018 +0000 Cleanup basic import tasks Fix inconsistency in the way parameters were being passed around the tasks. It was preventing them from working reliably. Co-authored-by: Abhishek Kekane <akek...@redhat.com> Co-authored-by: Brian Rosmaita <rosmaita.foss...@gmail.com> Closes-bug: #1749461 Change-Id: I05b5fe8d99cc0f8edd89c707fd030f5bf762fe06 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1749461 Title: import tasks failing Status in Glance: Fix Released Bug description: Seeing a lot of weird stuff in the logs, for example: Feb 14 00:22:41 br-virtual-machine glance-api[30011]: File "/opt/stack/glance/glance/async/flows/_internal_plugins/__init__.py", line 25, in get_import_plugin Feb 14 00:22:41 br-virtual-machine glance-api[30011]: import_method = kwargs.get('import_req')['method']['name'].replace("-", Feb 14 00:22:41 br-virtual-machine glance-api[30011]: TypeError: 'NoneType' object has no attribute '__getitem__' (A bunch of those.) Feb 14 00:51:48 br-virtual-machine glance-api[31684]: File "/opt/stack/glance/glance/async/flows/api_image_import.py", line 381, in get_flow Feb 14 00:51:48 br-virtual-machine glance-api[31684]: flow.add(_VerifyStaging(task_id, task_type, task_repo, file_uri)) Feb 14 00:51:48 br-virtual-machine glance-api[31684]: UnboundLocalError: local variable 'file_uri' referenced before assignment To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1749461/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp