commit 7559a2ea827b6f36ece8029cb3fceff0308fee03
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)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/865895 /opendev. org/openstack/ neutron/ commit/ 7559a2ea827b6f3 6ece8029cb3fcef f0308fee03
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 7559a2ea827b6f3 6ece8029cb3fcef f0308fee03
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 32c10345c45ec62 c0923237cfd 00093f90f849fcf 67ddca16cf)
Change-Id: Ic35b5d4b9110b8
(cherry picked from commit c813b658d0e5e0c