Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antrea agent log is full of "Skipping invalid IP:" #4233

Closed
tnqn opened this issue Sep 16, 2022 · 0 comments · Fixed by #4234
Closed

Antrea agent log is full of "Skipping invalid IP:" #4233

tnqn opened this issue Sep 16, 2022 · 0 comments · Fixed by #4234
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@tnqn
Copy link
Member

tnqn commented Sep 16, 2022

Describe the bug

It was found antrea-agent is full of the following logs:

E0902 10:26:12.929300       1 utils.go:164] Skipping invalid IP: 
E0902 10:26:12.929327       1 utils.go:164] Skipping invalid IP: 
E0902 10:26:12.929334       1 utils.go:164] Skipping invalid IP: 
E0902 10:26:12.929341       1 utils.go:164] Skipping invalid IP: 
E0902 10:27:12.929965       1 utils.go:164] Skipping invalid IP: 
E0902 10:27:12.929985       1 utils.go:164] Skipping invalid IP: 
E0902 10:27:12.929990       1 utils.go:164] Skipping invalid IP: 
E0902 10:27:12.929994       1 utils.go:164] Skipping invalid IP: 
E0902 10:28:12.933216       1 utils.go:164] Skipping invalid IP: 
E0902 10:28:12.933240       1 utils.go:164] Skipping invalid IP: 
E0902 10:28:12.933248       1 utils.go:164] Skipping invalid IP: 
E0902 10:28:12.933254       1 utils.go:164] Skipping invalid IP: 
E0902 10:29:12.934178       1 utils.go:164] Skipping invalid IP: 
E0902 10:29:12.934203       1 utils.go:164] Skipping invalid IP: 
E0902 10:29:12.934209       1 utils.go:164] Skipping invalid IP: 
E0902 10:29:12.934213       1 utils.go:164] Skipping invalid IP: 
E0902 10:30:12.935270       1 utils.go:164] Skipping invalid IP: 
E0902 10:30:12.935291       1 utils.go:164] Skipping invalid IP: 
E0902 10:30:12.935296       1 utils.go:164] Skipping invalid IP: 
E0902 10:30:12.935301       1 utils.go:164] Skipping invalid IP: 
E0902 10:31:12.935728       1 utils.go:164] Skipping invalid IP: 
E0902 10:31:12.935749       1 utils.go:164] Skipping invalid IP: 
E0902 10:31:12.935755       1 utils.go:164] Skipping invalid IP: 
E0902 10:31:12.935759       1 utils.go:164] Skipping invalid IP: 
E0902 10:32:12.936566       1 utils.go:164] Skipping invalid IP: 

It's hard to tell what's the IP used for from the log itself. But fortunately the function that prints the log is only called in two cases: when processing "service.Spec.ExternalIPs" and when processing "service.Status.LoadBalancer.Ingress.IP". K8s has a validation for the former so it's impossible to set empty ExternalIP. The latter could be empty if the LoadBalancer is DNS based. So it's likely the error logs were because there were DNS based LoadBalancer Services in the cluster.

To Reproduce

Create a DNS based LoadBalancer Service.

Versions:

  • Antrea version (Docker image tag). ~1.8.0
@tnqn tnqn added the kind/bug Categorizes issue or PR as related to a bug. label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant