← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1200023] Re: BigSwitch plugin generates unnecessary errors on 404 from controller

 

** 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/1200023

Title:
  BigSwitch plugin generates unnecessary errors on 404 from controller

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

Bug description:
  There are certain times when a 404 error from the backend controller
  can be safely ignored.

  For example, on the _unplug_interface call, remote rest exceptions aren't raised any further because they are expected to generate 404 errors if the network has already been deleted. 
  https://github.com/openstack/neutron/blob/ee3fe4e836ca1c81e50a8324a9b5f982de4fa97f/neutron/plugins/bigswitch/plugin.py#L300

  Even though these are ignored by not raising the exception further, it
  causes errors in the logs and marks a controller as failed, causing
  the failover logic to send the same request to every backend
  controller until they are all marked as failed, ultimately generating
  even more errors.

  
  This condition is exacerbated by bug 1197627, which is a race condition that frequently causes double port delete and unplug requests.

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