← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623422] [NEW] delete_subnet update_port needs to catch SubnetNotFound

 

Public bug reported:

The code that updates the ports on a subnet to remove the fixed IPs of
the subnets being deleted needs to capture SubnetNotFound. A concurrent
deletion of another subnet on the same network will result in the
update_port call trying to set fixed IPs containing a subnet which no
longer exists, which results in SubnetNotFound.

This error was spotted in a Rally test:
http://logs.openstack.org/11/369511/3/check/gate-rally-dsvm-neutron-
rally/b188655/logs/screen-q-svc.txt.gz#_2016-09-14_07_20_06_111


The relevant request ID is req-befec696-04be-4b2c-94b4-8abb6eb195e0, the
paste for which is here: http://paste.openstack.org/show/576077/


It tried to update the port, got a concurrent operation error (due to another proc updating the same port to remove another subnet), and on retry it got a resourcenotfound. PortNotFound is already captured in delete_subnet, and the network has to exist for the port to still exist, so the only remaining thing to be missing is the Subnet of an ID being requested.

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

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

Title:
  delete_subnet update_port needs to catch SubnetNotFound

Status in neutron:
  In Progress

Bug description:
  The code that updates the ports on a subnet to remove the fixed IPs of
  the subnets being deleted needs to capture SubnetNotFound. A
  concurrent deletion of another subnet on the same network will result
  in the update_port call trying to set fixed IPs containing a subnet
  which no longer exists, which results in SubnetNotFound.

  This error was spotted in a Rally test:
  http://logs.openstack.org/11/369511/3/check/gate-rally-dsvm-neutron-
  rally/b188655/logs/screen-q-svc.txt.gz#_2016-09-14_07_20_06_111


  The relevant request ID is req-befec696-04be-4b2c-94b4-8abb6eb195e0,
  the paste for which is here: http://paste.openstack.org/show/576077/

  
  It tried to update the port, got a concurrent operation error (due to another proc updating the same port to remove another subnet), and on retry it got a resourcenotfound. PortNotFound is already captured in delete_subnet, and the network has to exist for the port to still exist, so the only remaining thing to be missing is the Subnet of an ID being requested.

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


Follow ups