Please see race details in the bug report.
The fix is to check for dvr routers that needs to be removed
after actual port deletion.
As a bonus we can get rid of dvr logic in ml2 plugin delete_port().
It's hard to come up with a test here as race can only be
reproduced with multiple API workers.
Reviewed: https:/ /review. openstack. org/272634 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c74265efb93 39bee6011851d8a 160067854a2818
Committed: https:/
Submitter: Jenkins
Branch: master
commit c74265efb9339be e6011851d8a1600 67854a2818
Author: Oleg Bondarev <email address hidden>
Date: Tue Jan 26 18:01:50 2016 +0300
DVR: avoid race on dvr serviceable port deletion
Please see race details in the bug report.
The fix is to check for dvr routers that needs to be removed
after actual port deletion.
As a bonus we can get rid of dvr logic in ml2 plugin delete_port().
It's hard to come up with a test here as race can only be
reproduced with multiple API workers.
Closes-Bug: #1538163 6f35a37370b9be7 9e689e2ba50
Change-Id: I7ab1b0c18e5daa