Closed BassemAbdelFatah closed 1 year ago
To install Karavan on Kubernetes/Minikube please use Karavan CLI
https://github.com/apache/camel-karavan/blob/main/docs/WEB_INSTALL.md
To install Karavan on Kubernetes/Minikube please use Karavan CLI
https://github.com/apache/camel-karavan/blob/main/docs/WEB_INSTALL.md
I already did install it, and it is working, but the issue is with java and JSON file creation which stuck in infinite loading.
Does it work without nginx reverse proxy?
no actually same issue
Any assistance would be highly appreciated.
Does Integration creation work? Only Java file creation causes issue? Any errors in the Karavan-web container log?
Mr.@mgubaidullin I really appreciate your assistance.
Integration create works fine, not only Java file creation but also OpenApi Json and Yaml makes the same behavior, and there are no errors in the container log as below:
2023-08-28 16:26:29,948 INFO [io.qua.sma.ope.run.OpenApiRecorder] (main) CORS filtering is disabled and cross-origin resource sharing is allowed without restriction, which is not recommended in production. Please configure the CORS filter through 'quarkus.http.cors.' properties. For more information, see Quarkus HTTP CORS documentation
2023-08-28 16:26:30,145 INFO [org.apa.cam.kar.ser.KaravanService] (main) Start Karavan
2023-08-28 16:26:30,211 INFO [org.apa.cam.kar.ser.KaravanService] (main) InfinispanService is starting in local mode
2023-08-28 16:26:30,727 INFO [org.inf.CONTAINER] (main) ISPN000389: Loaded global state, version=14.0.6.Final timestamp=2023-08-28T16:26:24.942646Z
2023-08-28 16:26:30,893 INFO [org.inf.CONTAINER] (main) ISPN000556: Starting user marshaller 'org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller'
2023-08-28 16:26:31,043 INFO [org.inf.CLUSTER] (main) ISPN000088: Unable to use any JGroups configuration mechanisms provided in properties {}. Using default JGroups configuration!
2023-08-28 16:26:31,253 INFO [org.inf.CLUSTER] (main) ISPN000078: Starting JGroups channel ISPN
2023-08-28 16:26:31,268 INFO [org.jgr.JChannel] (main) local_addr: 97e37916-e44c-4c72-92ac-2925bafd30a7, name: karavan-6bfb65b5b-7zj86-42276
2023-08-28 16:26:31,278 WARN [org.jgr.pro.UDP] (main) JGRP000015: the receive buffer of socket MulticastSocket was set to 20MB, but the OS only allocated 212.99KB
2023-08-28 16:26:31,278 WARN [org.jgr.pro.UDP] (main) JGRP000015: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 212.99KB
2023-08-28 16:26:31,292 INFO [org.jgr.pro.FD_SOCK2] (main) server listening on .28123
2023-08-28 16:26:33,298 INFO [org.jgr.pro.pbc.GMS] (main) karavan-6bfb65b5b-7zj86-42276: no members discovered after 2003 ms: creating cluster as coordinator
2023-08-28 16:26:33,309 INFO [org.inf.CLUSTER] (main) ISPN000094: Received new cluster view for channel ISPN: [karavan-6bfb65b5b-7zj86-42276|0] (1) [karavan-6bfb65b5b-7zj86-42276]
2023-08-28 16:26:33,333 INFO [org.inf.CLUSTER] (main) ISPN000079: Channel ISPN
local address is karavan-6bfb65b5b-7zj86-42276
, physical addresses are [10.244.2.24:43659]
2023-08-28 16:26:33,995 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,201 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,244 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,282 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,299 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,312 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,361 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,382 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,394 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:34,408 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-28 16:26:35,340 INFO [org.apa.cam.kar.ser.KubernetesService] (executor-thread-1) Stop Kubernetes Informers
2023-08-28 16:26:35,341 INFO [org.apa.cam.kar.ser.KubernetesService] (executor-thread-1) Starting Kubernetes Informers
2023-08-28 16:26:35,453 INFO [org.apa.cam.kar.ser.ProjectService] (executor-thread-0) Add templates project if not exists
2023-08-28 16:26:35,454 INFO [org.apa.cam.kar.ser.ProjectService] (executor-thread-0) Import commits...
2023-08-28 16:26:35,456 INFO [org.apa.cam.kar.ser.GitService] (executor-thread-0) Git checkout
2023-08-28 16:26:35,457 INFO [org.apa.cam.kar.ser.GitService] (executor-thread-0) inKubernetes karavan
2023-08-28 16:26:35,992 INFO [io.quarkus] (main) karavan 3.21.0 on JVM (powered by Quarkus 2.16.7.Final) started in 9.022s. Listening on: http://0.0.0.0:8080
2023-08-28 16:26:35,995 INFO [io.quarkus] (main) Profile public activated.
2023-08-28 16:26:35,995 INFO [io.quarkus] (main) Installed features: [cdi, infinispan-client, jgit, jsch, kubernetes, kubernetes-client, oidc, openshift-client, quinoa, qute, resteasy-reactive, resteasy-reactive-jackson, scheduler, security, security-properties-file, smallrye-context-propagation, smallrye-fault-tolerance, smallrye-health, smallrye-openapi, smallrye-reactive-messaging, swagger-ui, vertx]
2023-08-28 16:26:36,541 INFO [org.apa.cam.kar.ser.GitService] (executor-thread-0) Temp folder created /tmp/import9903535921224121253
2023-08-28 16:26:38,269 WARN [io.fab.kub.cli.dsl.int.VersionUsageUtils] (executor-thread-1) The client is using resource type 'pipelineruns' with unstable version 'v1beta1'
2023-08-28 16:26:38,949 INFO [org.apa.cam.kar.han.PipelineRunEventHandler] (executor-thread-1) onAdd karavan-bassem-project-hwncj
2023-08-28 16:26:39,341 INFO [org.apa.cam.kar.ser.KubernetesService] (executor-thread-1) Started Kubernetes Informers
Could you please try to create custom Java processor from integration like in this video (starts at 4:15): https://youtu.be/trsZyzEvbWw?feature=shared&t=255
Does it work?
What version have you installed?
Could you please try to create custom Java processor from integration like in this video (starts at 4:15): https://youtu.be/trsZyzEvbWw?feature=shared&t=255
Does it work?
infact no it faces the same issue
What version have you installed?
maven-dependency-plugin: 3.0.2 apache.camel.karavan:karavan-cli: 3.21.0 jar
Do you have templates folder in your git repository?
Do you have templates folder in your git repository?
I didn't have it, but I added it and tried and still the same issue.
Hello MR.@mgubaidullin I want to inform you that I did install Karavan web app again on a new CentOS 7 server following the documentation and using the Apache Maven 3.9.4, Java version: 17.0.2 and Minikube version: v1.31.2 and am still facing the same issue
Can you share Karavan container log?
The only thing I am missing is the oidc-server is it crucial for the Karavan functionality?
Can you share Karavan container log?
Here you go:
k logs -f karavan-6bfb65b5b-fcvw8
2023-08-31 11:02:54,670 INFO [io.qua.sma.ope.run.OpenApiRecorder] (main) CORS filtering is disabled and cross-origin resource sharing is allowed without restriction, which is not recommended in production. Please configure the CORS filter through 'quarkus.http.cors.' properties. For more information, see Quarkus HTTP CORS documentation
2023-08-31 11:02:54,842 INFO [org.apa.cam.kar.ser.KaravanService] (main) Start Karavan
2023-08-31 11:02:54,900 INFO [org.apa.cam.kar.ser.KaravanService] (main) InfinispanService is starting in local mode
2023-08-31 11:02:55,392 INFO [org.inf.CONTAINER] (main) ISPN000389: Loaded global state, version=14.0.6.Final timestamp=2023-08-31T11:02:49.837984Z
2023-08-31 11:02:55,554 INFO [org.inf.CONTAINER] (main) ISPN000556: Starting user marshaller 'org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller'
2023-08-31 11:02:55,738 INFO [org.inf.CLUSTER] (main) ISPN000088: Unable to use any JGroups configuration mechanisms provided in properties {}. Using default JGroups configuration!
2023-08-31 11:02:55,956 INFO [org.inf.CLUSTER] (main) ISPN000078: Starting JGroups channel ISPN
2023-08-31 11:02:55,971 INFO [org.jgr.JChannel] (main) local_addr: e1b02794-cf70-4520-b549-5296a171887a, name: karavan-6bfb65b5b-fcvw8-54876
2023-08-31 11:02:55,978 WARN [org.jgr.pro.UDP] (main) JGRP000015: the send buffer of socket MulticastSocket was set to 1MB, but the OS only allocated 212.99KB
2023-08-31 11:02:55,978 WARN [org.jgr.pro.UDP] (main) JGRP000015: the receive buffer of socket MulticastSocket was set to 20MB, but the OS only allocated 212.99KB
2023-08-31 11:02:55,979 WARN [org.jgr.pro.UDP] (main) JGRP000015: the send buffer of socket MulticastSocket was set to 1MB, but the OS only allocated 212.99KB
2023-08-31 11:02:55,980 WARN [org.jgr.pro.UDP] (main) JGRP000015: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 212.99KB
2023-08-31 11:02:56,008 INFO [org.jgr.pro.FD_SOCK2] (main) server listening on .41681
2023-08-31 11:02:58,045 INFO [org.jgr.pro.pbc.GMS] (main) karavan-6bfb65b5b-fcvw8-54876: no members discovered after 2006 ms: creating cluster as coordinator
2023-08-31 11:02:58,056 INFO [org.inf.CLUSTER] (main) ISPN000094: Received new cluster view for channel ISPN: [karavan-6bfb65b5b-fcvw8-54876|0] (1) [karavan-6bfb65b5b-fcvw8-54876]
2023-08-31 11:02:58,074 INFO [org.inf.CLUSTER] (main) ISPN000079: Channel ISPN
local address is karavan-6bfb65b5b-fcvw8-54876
, physical addresses are [10.244.0.19:57217]
2023-08-31 11:02:58,789 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,016 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,061 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,080 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,095 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,138 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,157 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,170 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,182 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,348 WARN [org.inf.CONFIG] (main) ISPN000595: ClusterLoader has been deprecated and will be removed in a future version with no direct replacement
2023-08-31 11:02:59,973 INFO [org.apa.cam.kar.ser.KubernetesService] (executor-thread-0) Stop Kubernetes Informers
2023-08-31 11:02:59,977 INFO [org.apa.cam.kar.ser.KubernetesService] (executor-thread-0) Starting Kubernetes Informers
2023-08-31 11:03:00,173 INFO [org.apa.cam.kar.ser.ProjectService] (executor-thread-1) Add templates project if not exists
2023-08-31 11:03:00,174 INFO [org.apa.cam.kar.ser.ProjectService] (executor-thread-1) Import commits...
2023-08-31 11:03:00,175 INFO [org.apa.cam.kar.ser.GitService] (executor-thread-1) Git checkout
2023-08-31 11:03:00,180 INFO [org.apa.cam.kar.ser.GitService] (executor-thread-1) inKubernetes karavan
2023-08-31 11:03:00,276 INFO [io.quarkus] (main) karavan 3.21.0 on JVM (powered by Quarkus 2.16.7.Final) started in 8.018s. Listening on: http://0.0.0.0:8080
2023-08-31 11:03:00,277 INFO [io.quarkus] (main) Profile public activated.
2023-08-31 11:03:00,277 INFO [io.quarkus] (main) Installed features: [cdi, infinispan-client, jgit, jsch, kubernetes, kubernetes-client, oidc, openshift-client, quinoa, qute, resteasy-reactive, resteasy-reactive-jackson, scheduler, security, security-properties-file, smallrye-context-propagation, smallrye-fault-tolerance, smallrye-health, smallrye-openapi, smallrye-reactive-messaging, swagger-ui, vertx]
2023-08-31 11:03:00,700 INFO [org.apa.cam.kar.ser.GitService] (executor-thread-1) Temp folder created /tmp/import9546624777898388738
2023-08-31 11:03:01,952 WARN [io.fab.kub.cli.dsl.int.VersionUsageUtils] (executor-thread-0) The client is using resource type 'pipelineruns' with unstable version 'v1beta1'
2023-08-31 11:03:02,632 INFO [org.apa.cam.kar.ser.KubernetesService] (executor-thread-0) Started Kubernetes Informers
2023-08-31 11:03:04,156 ERROR [org.apa.cam.kar.ser.GitService] (executor-thread-1) New repository
2023-08-31 11:03:04,197 ERROR [org.apa.cam.kar.ser.GitService] (executor-thread-1) No HEAD exists and no explicit starting revision was specified
this log is after I created and pushed the below files
all files are empty on the GitLab and infinitely loading on karavan
@mgubaidullin any updates kindly.
Try Karavan 4.0.0
Thanks, @mgubaidullin Java files working fine now, but I believe there is a bug in the knowledge section as mini window keeps popping up even when I close it multiple times as you can see below:
I deployed Apache camel karavan web application on minikube using maven and linked it with GitLab omnibus with nginx Infront to reverse proxy but whenever I create a java or Json file in the designer it loads infinitely.
and keep getting this result http code 204, logs not showing any error, what seems to be the problem.