Comment 12 for bug 1835731

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/pike)

Reviewed: https://review.opendev.org/671967
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6f595d3e01fc026aebc43dca08fb9f7f4a2d29a7
Submitter: Zuul
Branch: stable/pike

commit 6f595d3e01fc026aebc43dca08fb9f7f4a2d29a7
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
    in master: https://review.opendev.org/#/c/641866

    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.

    Change-Id: I3ad59864eeb42916d2cf15a5292d5aa9484f6e91
    Closes-Bug: #1835731
    (cherry picked from commit c3a3031f78b3ea2d16d4eb08b181916dbc6f4c45)