-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
5
-
-
rhel-9
-
None
-
rhel-net-ovn
-
-
-
OVN FDP Sprint 13
-
1
This is tracking the upstream effort needed to deliver the feature request described below.
What's the bug?
When a logical router is configured to learn dynamic routes (LR.options:dynamic-routing=true) it currently learns all the non-OVN routes that are present in the VRF table it monitors.
It's actually problematic if routes in the VRF are a combination of:
- ovn installed routes
- FRR (BGP/OSPF/etc) installed dynamic routes (these have rtm_protocol > RTPROT_STATIC)
- user configured static routes
OVN(-controller) will also learn the latter as static routes. Arguably this is a bug because the OVN feature is about "dynamic-routing". Moreover, if a user shares the VRF with OVN and wishes OVN to use the static routes it could just explicitly configure them in the NB database as Logical_Router_Static_Route records.
ovn-controller should filter routes it learns and only learn those that were externally learned (likely through a dynamic routing protocol) and are marked as such in the VRF table (rtm_protocol > RTPROT_STATIC)
Why is it needed?
To enable the CMS (ovn-kubernetes) to share the VRF OVN monitors and updates when dynamic routing is configured.
Who will benefit?
ovn-kubernetes transitioning to use OVN's native BGP support. Potentially neutron-ovn too.
- is cloned by
-
FDP-2815 CLONE [ovn26.03 fast-datapath-rhel-9] - Upstream: [BGP] dynamic-routing - only learn routes that thave rtm_protocol > RTPROT_STATIC
-
- New
-
-
FDP-2821 CLONE [ovn26.03 fast-datapath-rhel-10] - Upstream: [BGP] dynamic-routing - only learn routes that thave rtm_protocol > RTPROT_STATIC
-
- New
-
-
FDP-2829 CLONE [ovn25.09 fast-datapath-rhel-10] - Upstream: [BGP] dynamic-routing - only learn routes that thave rtm_protocol > RTPROT_STATIC
-
- New
-
-
FDP-2834 CLONE [ovn25.03 fast-datapath-rhel-9] - Upstream: [BGP] dynamic-routing - only learn routes that thave rtm_protocol > RTPROT_STATIC
-
- New
-
-
FDP-2837 CLONE [ovn25.03 fast-datapath-rhel-10] - Upstream: [BGP] dynamic-routing - only learn routes that thave rtm_protocol > RTPROT_STATIC
-
- New
-
-
FDP-2824 CLONE [ovn25.09 fast-datapath-rhel-9] - Upstream: [BGP] dynamic-routing - only learn routes that thave rtm_protocol > RTPROT_STATIC
-
- Closed
-