-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Tons of useless warning log messages for instrumented_http.Transport #2348
Comments
The provider doesn't seem to matter, same messages on pdns and on-prem k3s v1.21.4. |
Looks like klog to me. I would assume it might have been the same in previous versions but klog had been silenced before with:
This replace has been removed since v0.10.0 |
Seeing exactly the same issue on EKS 1.21 with 0.10.0 version of external-dns. |
I didn't see the error when removing the replace, sorry. We can put it back and have a 0.10.1 released soon. |
#2361 is the fix, we will work to get this tested/merged/released next week. |
I tried the new build and it still happens even with the klog fix. I'm gonna have to take a deeper look at this, reopening for now. |
A replace of glog has also been removed: https://github.com/kubernetes-sigs/external-dns/pull/2218/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6L77 |
@rouke-broersma yeah, I will do the diff as soon as I find some time and try to figure out what's wrong. |
Same issue here |
1 similar comment
Same issue here |
We can try getting this in so that we get the image built and then I can re-run the e2e tests. |
Nope, not even that fixed the problem 😓 I have to take some time which I don't really have right now 😅 |
Aah too bad, sorry it didn't fix it. I do have a good idea on what is caused the issue now. https://github.com/kubernetes-sigs/external-dns/pull/2218/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R73 updated the client-go version to 0.22.0, which doesn't have the klog dependency anymore. It now uses the newer k8s.io/klog/v2 dependency. It should be possible to set a loglevel instead of replacing the klog module, so we don't get every warning of client-go logged in external-dns. I don't actually know how to do this, it would require someone with some more Go experience to have a go at this. |
I can figure that out, it just requires a bit more time than what I had this week 😅 Hopefully I can tackle this next week, given that we ran out of all possible easy wins. |
I can confirm #2379 fixes this for good, end to end tested. We'll make a patch release this week. |
Super, thanks @Raffo! |
I am facing the same issue. Getting these errors every single minute **Unable to cancel request for *instrumented_http.Transport.**I have v 0.10.1 and still facing the same issue. I installed it using bitnami charts. |
What happened:
external-dns v0.10.0 process logs out tons of useless warning message each cycle
The message was not helpful for debugging, and it also seemed to have a different log format than the others, even though it didn't seem to have real impact on functionality. I didn't see this in v0.9.0 with the same config
What you expected to happen:
Improve the log message to help identify the issue, and shall not log out useless info if there's no real issue.
How to reproduce it (as minimally and precisely as possible):
some thing like below on aws eks
Anything else we need to know?:
Environment: k8s 1.20 on EKS
external-dns --version
): 0.10.0 (offical image)The text was updated successfully, but these errors were encountered: