neutron/neutron/services/trunk
Nate Johnston d36cb19813 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:38 +00:00
..
drivers Do not delete trunk bridges if service port attached 2018-12-17 12:19:38 +00:00
rpc Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
seg_types Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
__init__.py Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
callbacks.py Add notifications for trunk CRUD and standardize payload 2016-07-26 10:24:57 -06:00
constants.py Inherit segmentation details for trunk subports if requested 2017-04-03 21:22:38 -07:00
exceptions.py Merge "Check MTU sanity of trunk port subports" 2016-09-05 16:36:27 +00:00
models.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
plugin.py use core resource attribute constants from neutron-lib 2017-06-30 06:25:36 -06:00
rules.py Speed up trunk MTU enforcement check 2018-01-17 03:23:28 +00:00
utils.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00