neutron/neutron/services/trunk
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
..
drivers Do not delete trunk bridges if service port attached 2018-12-17 12:19:05 +00:00
rpc Revert "Use writer for trunk database operations" 2018-01-09 14:24:39 -08: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 use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00: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 callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
rules.py Speed up trunk MTU enforcement check 2018-01-10 14:20:57 -08:00
utils.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00