Comment 27 for bug 1365476

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

Reviewed: https://review.openstack.org/211166
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7c2727c4cdb791cc259b86c3dec128cfdb8cbd18
Submitter: Jenkins
Branch: stable/kilo

commit 7c2727c4cdb791cc259b86c3dec128cfdb8cbd18
Author: Mike Kolesnik <email address hidden>
Date: Tue Apr 7 19:54:09 2015 -0400

    Update port bindings for master router

    An HA port needs to point to the correct host (where the master router
    is running) in order for L2Population to work.

    Hence, this patch introduces two fixes:
    * When a port owned by an HA router is up we make sure it points to the
      right node where the master is running, or a random node if there is
      no master yet (This corner case is fixed by the 2nd bullet point).

    * When a L3 agent reports it's hosting a master, we need to update the
      port binding to the host the master is now running on. This fixes
      both routers with no elected master (Yet) and failovers.

    (cherry picked from commit 91d3a0219a43a2c06ea4043cc9eeb518815df391)

    Conflicts:
     neutron/api/rpc/handlers/l3_rpc.py

    Closes-Bug: #1365476
    Co-Authored-By: Assaf Muller <email address hidden>
    Change-Id: I8475548947526d8ea736ed7aa754fd0ca475cae2