neutron/neutron/services
Nate Johnston e459b20fb5 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:19:05 +00:00
..
auto_allocate use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
externaldns use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
flavors use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
l3_router use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
logapi Merge "Fix no packet log data when debug is set False in configuration" into stable/queens 2018-09-07 22:39:57 +00:00
loki Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
metering Merge "Update metering driver to load interface driver" into stable/queens 2018-08-29 22:07:14 +00:00
network_ip_availability Fix file permissions 2017-05-31 20:49:01 +00:00
qos use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
segments Add retry decorator update_segment_host_mapping() 2018-01-18 13:16:16 +01:00
tag use neutron-lib's OVO exceptions 2017-08-28 09:31:19 -06:00
timestamp Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
trunk Do not delete trunk bridges if service port attached 2018-12-17 12:19:05 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00