neutron/neutron/services
Nate Johnston 25ab89f7d3 Do not delete trunk bridges if service port attached
When a deployment has instance ports that are neutron trunk ports with
DPDK vhu in vhostuserclient mode, when the instance reboots nova will
delete the ovs port and then recreate when the host comes back from
reboot.  This quick transition change can trigger a race condition that
causes the tbr trunk bridge to be deleted after the port has been
recreated.  See the bug for more details.

This change mitigates the race condition by adding a check for active
service ports within the trunk port deletion function.

Change-Id: I70b9c26990e6902f8888449bfd7483c25e5bff46
Closes-Bug: #1807239
(cherry picked from commit bd2a1bc6c3)
2018-12-17 12:18:44 +00:00
..
auto_allocate Implement filter validation 2018-07-19 04:13:43 +00:00
externaldns Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
flavors Implement filter validation 2018-07-19 04:13:43 +00:00
l3_router Merge "Implement filter validation" 2018-07-24 15:11:07 +00:00
logapi Merge "ovs fw: apply the NORMAL action on egress traffic in a single table" into stable/rocky 2018-09-07 18:40:00 +00:00
loki use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
metering Merge "Config privsep in the metering agent" into stable/rocky 2018-08-23 05:47:51 +00:00
network_ip_availability Implement filter validation 2018-07-19 04:13:43 +00:00
portforwarding Enable filter validation for portforwarding plugin 2018-08-09 23:20:10 +00:00
qos use get_port_binding_by_status_and_host from lib 2018-07-30 07:10:23 -06:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Merge "use sqla functions from neutron-lib" 2018-07-26 07:52:42 +00:00
segments Implement filter validation 2018-07-19 04:13:43 +00:00
tag Implement filter validation 2018-07-19 04:13:43 +00:00
timestamp Merge "use sqla functions from neutron-lib" 2018-07-26 07:52:42 +00:00
trunk Do not delete trunk bridges if service port attached 2018-12-17 12:18:44 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py use db utils from lib 2018-07-02 08:24:36 -06:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00