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)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/865896 /opendev. org/openstack/ neutron/ commit/ 5efb87d38ae64e4 f4e24ca1e131dfe 949ac3d718
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 5efb87d38ae64e4 f4e24ca1e131dfe 949ac3d718
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