Commit a5244d6d44d2b66de27dc77efa7830fa657260be 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.
Reviewed: https:/ /review. opendev. org/671964 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c3a3031f78b 3ea2d16d4eb08b1 81916dbc6f4c45
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit c3a3031f78b3ea2 d16d4eb08b18191 6dbc6f4c45
Author: Oleg Bondarev <email address hidden>
Date: Mon Jul 8 15:21:18 2019 +0400
Check for agent restarted after checking for DVR port
This is a stable-only fix since code around the change was removed /review. opendev. org/#/c/ 641866
in master: https:/
Commit a5244d6d44d2b66 de27dc77efa7830 fa657260be 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: I3ad59864eeb429 16d2cf15a5292d5 aa9484f6e91
Closes-Bug: #1835731