← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1405197] Re: Race between delete_subnet and delete_network

 

** Also affects: neutron/juno
   Importance: Undecided
       Status: New

** Changed in: neutron/juno
   Importance: Undecided => Medium

** Changed in: neutron/juno
       Status: New => Fix Committed

** Changed in: neutron/juno
    Milestone: None => 2014.2.3

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

Title:
  Race between delete_subnet and delete_network

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

Bug description:
  If the code executes the following sequence:

  delete_subnet(subnet_id)
  delete_network(net_id)

  where subnet subnet_id belongs to a network with net_id, there's a
  possible race condition between dhcp_port_release initiated by subnet
  deletion and deletion of service ports (DHCP) during network deletion.

  Latter operation throws PortNotFound and network deletion stops.

  The solution could be to just catch such error during port deletion.

  The chance of catching this bug increases in the environment with
  multiple neutron servers where DB access could not be synchronized
  within one process.

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


References