Public bug reported:

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

** Affects: glance
     Importance: Critical
     Assignee: Brian Rosmaita (brian-rosmaita)
         Status: In Progress

** Attachment added: "Some notes about how I'm testing this in devstack"
   
https://bugs.launchpad.net/bugs/1749461/+attachment/5055133/+files/testing-in-devstack.txt

-- 
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:
  In Progress

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

Reply via email to