Comment 20 for bug 1956846

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/865893
Committed: https://opendev.org/openstack/neutron/commit/9e02a10bed4a3b5a41468fa8ff14b613c798a06a
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 9e02a10bed4a3b5a41468fa8ff14b613c798a06a
Author: Maximilian Stinsky <email address hidden>
Date: Thu Nov 24 11:40:04 2022 +0100

    Fix duplicated routes exceptions

    Since the train release neutron adds routes with protocol static.
    Keepalived also adds the same routes with different protocols depending
    on the keepalived version. This can result in duplicated routes inside
    network namespaces. On l3 agent restarts those duplicate routes
    then prevent the l3 agent from updating its router state
    because it runs into 'RTNETLINK answers: File exists expections'
    when it tries to execute 'ip route' commands.

    This patch adds the same protocol static to each virtual route of
    keepalived's configuration so network namespaces do not run into
    duplicated routes anymore.

    Closes-Bug: #1956846
    Change-Id: Ic35b5d4b9110b832c10345c45ec62c0923237cfd
    (cherry picked from commit c813b658d0e5e0c00093f90f849fcf67ddca16cf)