-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.16, 4.16.0, 4.17.z, 4.16.z, 4.18.0
-
Critical
-
No
-
SDN Sprint 259, SDN Sprint 260, SDN Sprint 261, SDN Sprint 262, SDN Sprint 263, SDN Sprint 264, SDN Sprint 265
-
7
-
Rejected
-
False
-
Description of problem:
when testing: 4.16 feature and masquerade_subnet feature, i modified the internal masq,transit_sw,join_sw subnet, I can still see old route in NBDB.
Version-Release number of selected component (if applicable): 4.16
How reproducible:
Steps to Reproduce:
- Change the the internal OVN subnets.
- Then check the routes in NBDB:
- Network operator CR looks like:
[quickcluster@node-0 ~]$ oc get network.operator.openshift.io -o jsonpath="{.items[0].spec.defaultNetwork}"| jq { "ovnKubernetesConfig": { "egressIPConfig": {}, "gatewayConfig": { "ipv4": { "internalMasqueradeSubnet": "171.254.169.0/29" }, "ipv6": {}, "routingViaHost": false }, "genevePort": 6081, "ipsecConfig": { "mode": "Disabled" }, "ipv4": { "internalJoinSubnet": "100.66.1.0/16", "internalTransitSwitchSubnet": "100.90.1.0/16" }, "mtu": 8901, "policyAuditConfig": { "destination": "null", "maxFileSize": 50, "maxLogFiles": 5, "rateLimit": 20, "syslogFacility": "local0" } }, "type": "OVNKubernetes" }
Actual results:
sh-5.1# ovn-nbctl lr-route-list GR_ip-10-0-70-142.us-east-2.compute.internal IPv4 Routes Route Table <main>: 169.254.169.0/29 169.254.169.4 dst-ip rtoe-GR_ip-10-0-70-142.us-east-2.compute.internal 171.254.169.0/29 171.254.169.4 dst-ip rtoe-GR_ip-10-0-70-142.us-east-2.compute.internal 10.128.0.0/14 100.66.0.1 dst-ip 0.0.0.0/0 10.0.64.1 dst-ip rtoe-GR_ip-10-0-70-142.us-east-2.compute.internal sh-5.1# ovn-nbctl lr-route-list ovn_cluster_router IPv4 Routes Route Table <main>: 100.64.0.2 100.88.0.2 dst-ip ecmp 100.64.0.2 100.90.0.2 dst-ip ecmp 100.64.0.3 100.88.0.3 dst-ip ecmp 100.64.0.3 100.90.0.3 dst-ip ecmp 100.64.0.4 100.88.0.4 dst-ip ecmp 100.64.0.4 100.90.0.4 dst-ip ecmp 100.64.0.5 100.64.0.5 dst-ip 100.64.0.6 100.88.0.6 dst-ip ecmp 100.64.0.6 100.90.0.6 dst-ip ecmp 100.64.0.7 100.88.0.7 dst-ip ecmp 100.64.0.7 100.90.0.7 dst-ip ecmp 100.66.0.2 100.90.0.2 dst-ip 100.66.0.3 100.90.0.3 dst-ip 100.66.0.4 100.90.0.4 dst-ip 100.66.0.5 100.66.0.5 dst-ip 100.66.0.6 100.90.0.6 dst-ip 100.66.0.7 100.90.0.7 dst-ip 10.128.0.0/23 100.88.0.4 dst-ip ecmp 10.128.0.0/23 100.90.0.4 dst-ip ecmp 10.128.2.0/23 100.88.0.6 dst-ip ecmp 10.128.2.0/23 100.90.0.6 dst-ip ecmp 10.129.0.0/23 100.88.0.2 dst-ip ecmp 10.129.0.0/23 100.90.0.2 dst-ip ecmp 10.129.2.0/23 100.88.0.7 dst-ip ecmp 10.129.2.0/23 100.90.0.7 dst-ip ecmp 10.130.0.0/23 100.88.0.3 dst-ip ecmp 10.130.0.0/23 100.90.0.3 dst-ip ecmp 10.128.0.0/14 100.64.0.5 src-ip ecmp 10.128.0.0/14 100.66.0.5 src-ip ecmp
Expected results: Older routes should not be present.
- account is impacted by
-
OCPBUGS-37787 Day 2 transit switch config is not configuring logical routes properly
- Closed
- is depended on by
-
OCPBUGS-43906 Old static route in ovn router were not removed when changing internalJoinSubnet and internalTransitSwitchSubnet in day2
- Closed
- links to