You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the userspace proxy to wait for the node record
The proxy setup races with the node registration. The iptables proxy setup tries to read the node record to retrieve the address for the node. If the registration has not happened yet the read fails, but the code proceeds despite the failure. This only shows up in the testing when the unidler is used because the ip address doesn't get used until the iptables rules are set to send the traffic to the userspace proxy, and because there is a nil ip address, the rules are rejected by iptables.
The fix is to add a retry loop (with a backoff) to keep reading until the node record is present.
The bug is masked when a network plugin is used because it typically needs the node record to be present and it runs first, so by the time the proxy is set up, there is a node record.
Fixes bug 1519991 (https://bugzilla.redhat.com/show_bug.cgi?id=1519991)
0 commit comments