Comment 6 for bug 1696537

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

Reviewed: https://review.openstack.org/472454
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3c1a25d9683263505b00cb0d6b04add1831f0ca0
Submitter: Jenkins
Branch: master

commit 3c1a25d9683263505b00cb0d6b04add1831f0ca0
Author: Kevin Benton <email address hidden>
Date: Thu Jun 8 14:56:19 2017 -0700

    Make HA deletion attempt on RouterNotFound race

    The L3 HA RPC code that creates HA interfaces can race
    with an HA router deletion on the server side. The L3 HA
    code ends up creating a port on the HA network while the
    server side is deleting the router and the HA network.

    This stops the L3 HA network from being deleted because
    it has a new port without a bound segment, which leaves the
    HA network in a segmentless condition and no ports after
    the L3 RPC code cleans up its port.

    This adjusts the L3 RPC logic to attempt an HA network cleanup
    whenever it encounters the concurrent router deletion case
    to ensure that the HA network gets cleaned up.

    To make this more robust in the future, we may need the L3
    HA code to recognize when an HA network has no segments and
    automatically create a new one.

    Change-Id: Idd301f6df92e9bc37187e8ed8ec00004e67da928
    Closes-Bug: #1696537