When I get istio resources object (Gateway, VirtualService), found ValueInstantiationException
See original GitHub issueDescribe the bug
version info:
- fabric kubernates client version: 5.11.2
- fabric istio client version: 5.11.2
- kubernates version: 1.18.10
- istiod version: 1.11.8
Fabric8 Kubernetes Client version
5.11.2
Steps to reproduce
- call fabric istio client
istioClient.v1alpha3().virtualServices().inNamespace(namespace).withName(name).get()
- found AnalysisMessageBaseLevel null exception, value is 3
public static AnalysisMessageBaseLevel fromValue(String value) {
AnalysisMessageBaseLevel constant = CONSTANTS.get(value);
if (constant == null) {
throw new IllegalArgumentException(value);
} else {
return constant;
}
}
Expected behavior
- get istio resource successful
- how do I view the relationship between istio client version and istio component version
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Fabric8 Kubernetes Client Logs
com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of `io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseLevel`, problem: 3
at [Source: (BufferedInputStream); line: 1, column: 1580] (through reference chain: io.fabric8.istio.api.networking.v1alpha3.VirtualService["status"]->io.fabric8.istio.api.meta.v1alpha1.IstioStatus["validationMessages"]->java.util.ArrayList[0]->io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBase["level"])
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Get gateway and virtualservice not found - Discuss Istio
Hi, I'm not able to retrieve gateways and virtualservices via the commands. kubectl get gateway kubectl get virtualservice,
Read more >Istio / Virtual Service
A VirtualService defines a set of traffic routing rules to apply when a host is ... Service inside the mesh, i.e., those found...
Read more >Istio / Gateway
A VirtualService can then be bound to a gateway to control the forwarding of traffic arriving at a particular host or gateway port....
Read more >Istio / Understand your Mesh with Istioctl Describe
Shows you how to use istioctl describe to verify the configurations of a pod in your mesh.
Read more >`kubectl get all` doesn't show istio resources - Discuss Istio
Running kubectl get all the istio resources are not listed, ... kubectl get virtualservice NAME GATEWAYS HOSTS AGE bookinfo ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For some reason, the transformer didn’t find the enum values for AnalysisMessageBase.Level. I will take a deeper look during this week.
fyi https://github.com/fabric8io/kubernetes-client/pull/4328