EgressIP configuration at Openshift cluster hosted on AWS failing due to missing annotation
Issue
EgressIPis not being assigned to the primary interface of the node as per hostsubnet definition.-
cloud.network.openshift.io/egress-ipconfigannotation is missing from the Node resource and that is causing problems whilecloud-network-config-controlleris trying to assignEgress IPto the primary interface of the node.E0916 11:50:59.868220 2217 egressip.go:254] Ignoring invalid HostSubnet ip-x-x-x-x.ap-southwest-1.compute.internal (host: "ip-x-x-x-x.ap-southwest-1.compute.internal", ip: "x.x.x.x", subnet: "10.128.0.0/23"): related node object "ip-x-x-x-x.ap-southwest-1.compute.internal" has an incomplete annotation "cloud.network.openshift.io/egress-ipconfig", CloudEgressIPConfig: <nil> EgressIPis not being assigned to the primary interface of the node while using ManualCredentialsMode.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.10.z
- Amazon Web Services (AWS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.