neutron/neutron
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
..
agent Fix the bug about DHCP port whose network has multiple subnets. 2018-12-14 06:13:58 +00:00
api dhcp: serializing port delete and network rpc calls 2018-09-27 01:23:03 +00:00
cmd Configure privsep helper in neutron-netns-cleanup 2018-06-27 08:24:29 +00:00
common Fix neutron-openvswitch-agent Windows support 2018-11-23 17:13:42 +02:00
conf [OVS] Add mac-table-size to be set on each ovs bridge 2018-06-19 07:12:45 +00:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Merge "DVR: Centralized FloatingIPs are not cleared after migration." into stable/queens 2018-11-20 03:29:35 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Only allow SG port ranges for whitelisted protocols 2018-05-08 17:23:05 +02:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
locale Imported Translations from Zanata 2018-03-14 06:20:49 +00:00
notifiers use callback payloads for REQUEST/RESPONSE events 2017-12-24 07:27:11 +00:00
objects Make port binding attempt after agent is revived 2018-10-23 11:00:50 +02:00
pecan_wsgi Fixes minor typo in neutron 2018-01-18 14:27:59 +08:00
plugins Force all fdb entries update after ovs-vswitchd restart 2018-12-07 15:44:32 +01:00
privileged Add capabilities for privsep 2018-10-29 11:28:45 +00:00
quota Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services Do not delete trunk bridges if service port attached 2018-12-17 12:19:05 +00:00
tests Do not delete trunk bridges if service port attached 2018-12-17 12:19:05 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Merge "Log policy filters in one line" 2017-08-23 11:09:37 +00:00
service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00