← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1405197] [NEW] Race between delete_subnet and delete_network

 

Public bug reported:

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.

** Affects: neutron
     Importance: Medium
     Assignee: Eugene Nikanorov (enikanorov)
         Status: New


** Tags: ml2

** Tags added: ml2

-- 
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):
  New

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.

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


Follow ups

References