Comment 23 for bug 1956846

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/865896
Committed: https://opendev.org/openstack/neutron/commit/5efb87d38ae64e4f4e24ca1e131dfe949ac3d718
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 5efb87d38ae64e4f4e24ca1e131dfe949ac3d718
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)