neutron/neutron
Oleg Bondarev 6f595d3e01 Check for agent restarted after checking for DVR port
This is a stable-only fix since code around the change was removed 
in master: https://review.opendev.org/#/c/641866

Commit a5244d6d44 changed the check
order so regular non-dvr ports are checked for agent restarted.
However regular ports may be unbound already, which leads to the
error in the bug description: agent_restarted check is done against
a 'None' agent.
This patch fixed logic back - only check agent_restarted for dvr ports.

This also adds some logging to have a clue why update port up/down fails.

Change-Id: I3ad59864eeb42916d2cf15a5292d5aa9484f6e91
Closes-Bug: #1835731
(cherry picked from commit c3a3031f78)
2019-08-08 13:03:53 +00:00
..
agent Yield control to other greenthreads while processing trusted ports 2019-07-12 11:48:57 +00:00
api Ensure dvr ha router gateway port binding host 2019-05-16 19:33:24 +00:00
callbacks Merge "service: add callback AFTER_SPAWN" 2017-05-20 09:09:12 +00:00
cmd Secure dnsmasq process against external abuse 2019-01-25 13:58:43 +00:00
common Packets getting lost during SNAT with too many connections 2019-06-06 15:34:01 +00:00
conf Make OVS controller inactivity_probe configurable 2019-06-06 10:20:03 +00:00
core_extensions Fix default qos policy when creating network 2017-08-24 14:35:38 +00:00
db DVR: on new port only send router update on port's host 2019-06-18 04:29:47 +00:00
debug Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
extensions Improve invalid port ranges error message 2019-03-19 12:57:38 -04:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Reduce IP address collision during port creating 2018-07-20 10:35:49 +00:00
locale Imported Translations from Zanata 2017-07-18 08:36:04 +00:00
notifiers Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
objects Fix performance regression adding rules to security groups 2019-02-01 21:10:21 -07:00
pecan_wsgi Dont log about skipping notification in normal case 2017-09-23 20:14:57 +00:00
plugins Check for agent restarted after checking for DVR port 2019-08-08 13:03:53 +00:00
privileged Add capabilities for privsep 2018-10-29 19:42:15 +00:00
quota CountableResource: try count/get functions for all plugins 2017-09-12 16:23:22 +00:00
scheduler Avoid redundant HA port creation during migration 2017-09-11 19:56:19 +00:00
server Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
services Fix QoS rule update 2019-04-05 10:53:28 +00:00
tests Check for agent restarted after checking for DVR port 2019-08-08 13:03:53 +00:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 10:53:33 -07: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-20 15:36:35 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-20 15:36:35 +00:00
opts.py fix missing l2pop config option docs 2017-10-23 17:40:00 +02:00
policy.py Log policy filters in one line 2017-08-23 21:23:01 +00:00
service.py Make code follow log translation guideline 2017-08-14 10:53:33 -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 10:53:33 -07:00