← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1293657] [NEW] delete_ports_by_device_id should ignore portnotfound exception

 

Public bug reported:

The fix for https://bugs.launchpad.net/neutron/+bug/1282925 removed the
sql update lock on the ports table to alleviate deadlock issues.
However, now it is possible that the DHCP agent will encounter a
PortNotFound exception if another request deletes a port that the
delete_ports_by_device_id method is getting ready to delete. This is
expected; however, it is currently not caught and will interrupt the
port deletions, leaving leftover ports.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  delete_ports_by_device_id should ignore portnotfound exception

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The fix for https://bugs.launchpad.net/neutron/+bug/1282925 removed
  the sql update lock on the ports table to alleviate deadlock issues.
  However, now it is possible that the DHCP agent will encounter a
  PortNotFound exception if another request deletes a port that the
  delete_ports_by_device_id method is getting ready to delete. This is
  expected; however, it is currently not caught and will interrupt the
  port deletions, leaving leftover ports.

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


Follow ups

References