utherp0 commented on issue #3297:
URL: https://github.com/apache/camel-k/issues/3297#issuecomment-1136907840
So, replicated it; there are no errors in the Operator log other than a
repeat of:
{"level":"error","ts":1653463966.870432,"logger":"cmd","msg":"couldn't get
resource list for metrics.k8s.io/v1beta1: the server is currently unable to
handle the
request\n","stacktrace":"github.com/apache/camel-k/vendor/k8s.io/klog/v2.(*loggingT).output\n\tgithub.com/apache/camel-k/vendor/k8s.io/klog/v2/klog.go:914\ngithub.com/apache/camel-k/vendor/k8s.io/klog/v2.(*loggingT).printDepth\n\tgithub.com/apache/camel-k/vendor/k8s.io/klog/v2/klog.go:733\ngithub.com/apache/camel-k/vendor/k8s.io/klog/v2.ErrorDepth\n\tgithub.com/apache/camel-k/vendor/k8s.io/klog/v2/klog.go:1451\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/runtime.logError\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:114\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleError\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:108\ngithub.com/apache/camel-k/vendor/k8s.io/client-go/discovery/cached/memory.(*mem
CacheClient).ServerResourcesForGroupVersion\n\tgithub.com/apache/camel-k/vendor/k8s.io/client-go/discovery/cached/memory/memcache.go:101\ngithub.com/apache/camel-k/vendor/k8s.io/client-go/discovery.fetchGroupVersionResources.func1\n\tgithub.com/apache/camel-k/vendor/k8s.io/client-go/discovery/discovery_client.go:361"}
The Camel-k Pod is in crash loop backoff (the behaviour I see when I have
the ip issues):
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint: knative://event/techtalkevent due to: Cannot load Knative
configuration from file or env variable
at
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:962)
at
org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:844)
at
org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:58)
at
org.apache.camel.reifier.AbstractReifier.resolveEndpoint(AbstractReifier.java:177)
at
org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:94)
at
org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74)
... 30 more
Caused by: java.lang.IllegalStateException: Cannot load Knative
configuration from file or env variable
at
org.apache.camel.component.knative.KnativeComponent.getKnativeConfiguration(KnativeComponent.java:278)
at
org.apache.camel.component.knative.KnativeComponent.createEndpoint(KnativeComponent.java:226)
at
org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
at
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:928)
... 35 more
This error goes away if I remove the ip I created and use 'kamel run' to
create the Integration. It only occurs when I create an ip from the Operator
page and take all the defaults (i.e. just hit create). When I do that the ip
does create - it is in a state of running when I create the integration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]