← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241602] Re: AttributeError in plugins/linuxbridge/lb_neutron_plugin.py

 

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

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

Title:
  AttributeError in plugins/linuxbridge/lb_neutron_plugin.py

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

Bug description:
  I'm running Ubuntu 12.04 LTS x64 + OpenStack Havana with the following
  neutron package versions:

  neutron-common 2013.2~rc3-0ubuntu1~cloud0
  neutron-dhcp-agent 2013.2~rc3-0ubuntu1~cloud0
  neutron-l3-agent 2013.2~rc3-0ubuntu1~cloud0
  neutron-metadata-agent 2013.2~rc3-0ubuntu1~cloud0
  neutron-plugin-linuxbridge 2013.2~rc3-0ubuntu1~cloud0
  neutron-plugin-linuxbridge-agent 2013.2~rc3-0ubuntu1~cloud0
  neutron-server 2013.2~rc3-0ubuntu1~cloud0
  python-neutron 2013.2~rc3-0ubuntu1~cloud0   
  python-neutronclient 2.3.0-0ubuntu1~cloud0


  When adding a router interface the following error message in
  /var/log/neutron/server.log:

  2013-10-18 15:35:14.862 15675 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp     **args)
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 44, in dispatch
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp     neutron_ctxt, version, method, namespace, **kwargs)
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/neutron/plugins/linuxbridge/lb_neutron_plugin.py", line 147, in update_device_up
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp     port = self.get_port_from_device.get_port(device)
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp AttributeError: 'function' object has no attribute 'get_port'
  2013-10-18 15:35:14.862 15675 TRACE neutron.openstack.common.rpc.amqp
  2013-10-18 15:35:14.862 15675 ERROR neutron.openstack.common.rpc.common [-] Returning exception 'function' object has no attribute 'get_port' to caller
  2013-10-18 15:35:14.863 15675 ERROR neutron.openstack.common.rpc.common [-] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data\n    **args)\n', '  File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 44, in dispatch\n    neutron_ctxt, version, method, namespace, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n    result = getattr(proxyobj, method)(ctxt, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/neutron/plugins/linuxbridge/lb_neutron_plugin.py", line 147, in update_device_up\n    port = self.get_port_from_device.get_port(device)\n', "AttributeError: 'function' object has no attribute 'get_port'\n"]

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