← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1342880] Re: Exception during message handling: 'NoneType' object is not iterable

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1342880

Title:
  Exception during message handling: 'NoneType' object is not iterable

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  q-svc frequently tries to iterate on None Type.

  The job can succeed even if this issue happens.

  message: "Exception during message handling" AND message:"NoneType"
  AND message:"object is not iterable" AND
  filename:"logs/screen-q-svc.txt"

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcIkV4Y2VwdGlvbiBkdXJpbmcgbWVzc2FnZSBoYW5kbGluZ1wiIEFORCBtZXNzYWdlOlwiTm9uZVR5cGVcIiBBTkQgbWVzc2FnZTpcIm9iamVjdCBpcyBub3QgaXRlcmFibGVcIiBBTkQgZmlsZW5hbWU6XCJsb2dzL3NjcmVlbi1xLXN2Yy50eHRcIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiODY0MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxNDA1NTMzMDE3NzE4LCJtb2RlIjoiIiwiYW5hbHl6ZV9maWVsZCI6IiJ9

  	[req-ef892503-3f93-4c68-adeb-17394b66406c ] Exception during message handling: 'NoneType' object is not iterable
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/neutron/neutron/db/l3_rpc_base.py", line 63, in sync_routers
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     self._ensure_host_set_on_ports(context, plugin, host, routers)
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/neutron/neutron/db/l3_rpc_base.py", line 76, in _ensure_host_set_on_ports
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     interface)
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/neutron/neutron/db/l3_rpc_base.py", line 84, in _ensure_host_set_on_port
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     {'port': {portbindings.HOST_ID: host}})
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 870, in update_port
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     need_notify=need_port_update_notify)
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 302, in _bind_port_if_needed
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher     plugin_context, port_id, binding, bind_context)
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher TypeError: 'NoneType' object is not iterable
  2014-07-16 17:28:47.782 26480 TRACE oslo.messaging.rpc.dispatcher

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1342880/+subscriptions


References