[GitHub] [camel-k] utherp0 commented on issue #3297: Integration Platform issues when using the Operator

2022-05-24 Thread GitBox


utherp0 commented on issue #3297:
URL: https://github.com/apache/camel-k/issues/3297#issuecomment-1135585772

   So, I think the problem I am seeing is that if I create a default ip before 
I run the integration it fails; the default is just 'as is', taking all the 
defaults on the Ux for the ip. 
   
   Creating one with no ip present does create the ip:
   
   uther@ilawson-mac camelk % oc project camelktest
   Now using project "camelktest" on server 
"https://api.cluster-nq5hk.nq5hk.sandbox542.opentlc.com:6443";.
   uther@ilawson-mac camelk % oc get ip
   No resources found in camelktest namespace.
   uther@ilawson-mac camelk % kamel run EventReader.java 
   integration "event-reader" created
   uther@ilawson-mac camelk % oc get ip 
   NAME  PHASE
   camel-k   Ready
   uther@ilawson-mac camelk % oc get integration
   NAME   PHASE  KITREPLICAS
   event-reader   Building Kit   kit-ca69lbu4gbef2b5j58f0


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] utherp0 commented on issue #3297: Integration Platform issues when using the Operator

2022-05-24 Thread GitBox


utherp0 commented on issue #3297:
URL: https://github.com/apache/camel-k/issues/3297#issuecomment-1135611986

   Yup - I'm installing operator namespace bound, i.e. the operator is running 
locally. Once the test has completed (the build is taking a while) I'll spin up 
another namespace and create the ip first which should cause the problem, and 
will get the logs


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] utherp0 commented on issue #3297: Integration Platform issues when using the Operator

2022-05-25 Thread GitBox


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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] utherp0 commented on issue #3297: Integration Platform issues when using the Operator

2022-05-25 Thread GitBox


utherp0 commented on issue #3297:
URL: https://github.com/apache/camel-k/issues/3297#issuecomment-1136931350

   The Operator is deployed into the namespace rather than across the Cluster, 
by local I mean namespace bound
   https://user-images.githubusercontent.com/2233236/170214330-3ebdcb7c-e7a9-4e56-8ebc-99e9826a9762.png";>
   


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org