yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71156
[Bug 1749461] Re: import tasks failing
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 <akekane@xxxxxxxxxx>
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 <akekane@xxxxxxxxxx>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@xxxxxxxxx>
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
References