-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Invalid ProviderID error is malformed #3763
Comments
/help |
@vincepri: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'd like to work on this. |
/lifecycle active |
@benmoss I'm not able to reproduce this. Can you please shed more light? What provider did you use? I can't find where the NewProviderID function gets called that involves json marshaling. |
/milestone v0.4.x |
@enyinna1234 sorry for the delay, I think in my case this was being logged here. The issue is that klog had a bug that got fixed a while ago but this project hasn't bumped it's klog dependency in a while |
/lifecycle active |
What steps did you take and what happened:
Have a provider write a ProviderID that doesn't match the form we describe in https://github.com/kubernetes-sigs/cluster-api/blob/master/controllers/noderefutil/providerid.go
See a confusing error in the logs:
What did you expect to happen:
I think we just want it to print out the error string verbatim, I don't know where the formatting strings are coming from.
Anything else you would like to add:
I remember fixing this in klog ages ago. Maybe we just need to bump that? kubernetes/klog#139
/kind bug
The text was updated successfully, but these errors were encountered: