← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226169] Re: port binding registration with NeutronDbPluin causes Neutron Crash

 

** Changed in: neutron
       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/1226169

Title:
  port binding registration with NeutronDbPluin causes Neutron Crash

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

Bug description:
  When Arista Mechanism driver tries to read all ports from
  NetutronDbPlugin, it causes Neutron server to crash and prevents
  neutron from starting. Depending upon when the ports DB is read, the
  nature of crash can be severe. If read during initialization, the
  neutron service will not start.  If the same DB is read while neutron
  is up and running, then an exception is raised and the read is failed.

  This issue will hit any plugin or driver which reads the ports information from Neutron DB. 
  This is a very re-produceable bug. 

  Please see the trace log at the pasted link below.

  http://paste.openstack.org/show/47115/


  I have verified the issue and have a fix and verified it as well. This
  problem is with the way port binding registers the
  '_extend_port_dict_binding'. It is registered as a function as opposed
  to function pointer. Therefore when the NeutronDbPluginv2 invokes this
  function, it ends up with wrong context - and hence the problem.

  The fix is attached with this bug. 
  I Will be submitting a patch shortly for the review. 

  -Sukhdev

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