-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
IllegalStateException while reading VirtualServices #3709
Comments
@manusa i wait for it ASAP :) |
Would it be possible to add the YAML for the |
The same exception occured on my system. When I get or create any istio crd(virtualservice\destinationrule\gateway...), the exception throws Cause: com.fasterxml.jackson.annotation.JsonTypeInfo$Id.DEDUCTION. |
At this time we call the client API there is no VirtualService at all. So I cannot provide any YAML. |
@rbaeurle : It would be really helpful if you could share a reproducer project with us. |
Unfortunately, this is a customer project. I.e. I would have to create a test project first and then put it in my private GitHub account .... |
Update:
If this is a duplicate to #3696 please feel free to close this ticket. On the other hand .. could this problem also be related to a dependency version mismatch? |
@rbaeurle Thank you for the update. The other issue is a separate one that should be fixed now. |
Describe the bug
I'm the author of bug snowdrop/istio-java-api#137 and finally was directed to #3613. As you can see from this ticket I was able to successfully test the fix on my system. Now I'm using the 'official' kubernetes-client 5.11.1 and I get the following IllegalStateException while reading/creating a VirtualService:
io.fabric8.kubernetes.client.KubernetesClientException: Error executing: GET at: https://172.21.0.1/apis/networking.istio.io/v1beta1/namespaces/statusmanager-pr-291/virtualservices/core--2-1-3--fegip. Cause: Do not know how to construct standard type id resolver for idType: DEDUCTION
Fabric8 Kubernetes Client version
other (please specify in additional context)
Steps to reproduce
will cause the exception
Expected behavior
No exception - expected to get VirtualService objects
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
other (please specify in additional context)
Fabric8 Kubernetes Client Logs
Additional context
kubernetes-client 5.11.1
kubernetes server version: v1.19
k8s running on ibm cloud
The text was updated successfully, but these errors were encountered: