← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1828547] [NEW] neutron-dynamic-routing TypeError: argument of type 'NoneType' is not iterable

 

Public bug reported:

Rocky with Ryu, dont have a reproduce on this one or don't know what
caused it in the first place.

python-neutron-13.0.3-1.el7.noarch
openstack-neutron-openvswitch-13.0.3-1.el7.noarch
python2-neutron-dynamic-routing-13.0.1-1.el7.noarch
openstack-neutron-bgp-dragent-13.0.1-1.el7.noarch
openstack-neutron-common-13.0.3-1.el7.noarch
openstack-neutron-ml2-13.0.3-1.el7.noarch
python2-neutronclient-6.9.0-1.el7.noarch
openstack-neutron-13.0.3-1.el7.noarch
openstack-neutron-dynamic-routing-common-13.0.1-1.el7.noarch
python2-neutron-lib-1.18.0-1.el7.noarch


python-ryu-common-4.26-1.el7.noarch
python2-ryu-4.26-1.el7.noarch


2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     return f(*args, **kwargs)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 185, in bgp_speaker_create_end
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.add_bgp_speaker_helper(bgp_speaker_id)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 249, in add_bgp_speaker_helper
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.add_bgp_speaker_on_dragent(bgp_speaker)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 359, in add_bgp_speaker_on_dragent
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.add_bgp_peers_to_bgp_speaker(bgp_speaker)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 390, in add_bgp_peers_to_bgp_speaker
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     bgp_peer)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 399, in add_bgp_peer_to_bgp_speaker
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.cache.put_bgp_peer(bgp_speaker_id, bgp_peer)
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 604, in put_bgp_peer
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     if bgp_peer['peer_ip'] in self.get_bgp_peer_ips(bgp_speaker_id):
2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server TypeError: argument of type 'NoneType' is not iterable

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- neutron-dynamic-routing ypeError: argument of type 'NoneType' is not iterable
+ neutron-dynamic-routing TypeError: argument of type 'NoneType' is not iterable

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

Title:
  neutron-dynamic-routing TypeError: argument of type 'NoneType' is not
  iterable

Status in neutron:
  New

Bug description:
  Rocky with Ryu, dont have a reproduce on this one or don't know what
  caused it in the first place.

  python-neutron-13.0.3-1.el7.noarch
  openstack-neutron-openvswitch-13.0.3-1.el7.noarch
  python2-neutron-dynamic-routing-13.0.1-1.el7.noarch
  openstack-neutron-bgp-dragent-13.0.1-1.el7.noarch
  openstack-neutron-common-13.0.3-1.el7.noarch
  openstack-neutron-ml2-13.0.3-1.el7.noarch
  python2-neutronclient-6.9.0-1.el7.noarch
  openstack-neutron-13.0.3-1.el7.noarch
  openstack-neutron-dynamic-routing-common-13.0.1-1.el7.noarch
  python2-neutron-lib-1.18.0-1.el7.noarch

  
  python-ryu-common-4.26-1.el7.noarch
  python2-ryu-4.26-1.el7.noarch

  
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     return f(*args, **kwargs)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 185, in bgp_speaker_create_end
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.add_bgp_speaker_helper(bgp_speaker_id)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 249, in add_bgp_speaker_helper
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.add_bgp_speaker_on_dragent(bgp_speaker)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 359, in add_bgp_speaker_on_dragent
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.add_bgp_peers_to_bgp_speaker(bgp_speaker)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 390, in add_bgp_peers_to_bgp_speaker
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     bgp_peer)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 399, in add_bgp_peer_to_bgp_speaker
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     self.cache.put_bgp_peer(bgp_speaker_id, bgp_peer)
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/agent/bgp_dragent.py", line 604, in put_bgp_peer
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server     if bgp_peer['peer_ip'] in self.get_bgp_peer_ips(bgp_speaker_id):
  2019-05-09 16:52:41.970 1659 ERROR oslo_messaging.rpc.server TypeError: argument of type 'NoneType' is not iterable

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


Follow ups