-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.13
-
None
-
Moderate
-
No
-
SDN Sprint 235, SDN Sprint 236, SDN Sprint 237, SDN Sprint 238, SDN Sprint 239, SDN Sprint 240
-
6
-
Rejected
-
False
-
Description of problem:
Baremetal IPI dual-stack DHCP with bonding.
Testing NodeIP change due to DHCP lease change and then upgrade.
Somehow I broke the node and get this error. I don't know where the <nil> came from.
Warning ErrorUpdatingResource 15m (x3 over 15m) controlplane addLogicalPort failed for openshift-dns/dns-default-qh8bx: unable to parse node L3 gw annotation: failed to unmarshal l3 gateway config annotation {"default":{"mode":"shared","interface-id":"br-ex_master-0-2","mac-address":"52:54:00:be:b0:de","ip-addresses":["192.168.123.143/24","fd2e:6f44:5dd8::4d/64"],"next-hops":["\u003cnil\u003e","fe80::5054:ff:fedf:631e"],"node-port-enable":"true","vlan-id":"0"}} for node "master-0-2": bad 'next-hops' value "<nil>
Version-Release number of selected component (if applicable):
4.13.0-0.nightly-2023-02-21-014524
How reproducible:
Once
Steps to Reproduce:
1. Force NodeIP to change by changing DHCP lease, modify dnsmasq DHCP leases with new IP
2. Attempt to fix bad lease by removing DHCP address and setting static IP
ip addr del 192.168.128.144/24 dev br-ex ip addr add 192.168.123.143/24 dev br-ex
Actual results:
DNS pod in CrashLoopBack due to invaild annotation.
Warning ErrorUpdatingResource 15m (x3 over 15m) controlplane addLogicalPort failed for openshift-dns/dns-default-qh8bx: unable to parse node L3 gw annotation: failed to unmarshal l3 gateway config annotation {"default":{"mode":"shared","interface-id":"br-ex_master-0-2","mac-address":"52:54:00:be:b0:de","ip-addresses":["192.168.123.143/24","fd2e:6f44:5dd8::4d/64"],"next-hops":["\u003cnil\u003e","fe80::5054:ff:fedf:631e"],"node-port-enable":"true","vlan-id":"0"}} for node "master-0-2": bad 'next-hops' value "<nil>
Expected results:
No invalid JSON in annotation. OVN should fix itself.
Additional info:
- links to
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update