mrkhedri opened a new issue, #4304:
URL: https://github.com/apache/camel-k/issues/4304

   I created an operator with Kamel and ran a simple `HelloWorld` example. But 
I have the same error every time I ran different examples.
   
   You can see my commands below:
   
   **Install**
   ```sh
   $ kamel install --olm=false -n camel-basic --registry 127.0.0.1:5000 
--organization charisma --wait --force --registry-insecure true
   
   Integration Platform "camel-k" in phase "Creating"
   Camel K installed in namespace camel-basic
   ``
   
   **Check integration platform**
   ```sh
   $ kubectl get integrationplatform
   
   NAME      PHASE
   camel-k   Ready
   ```
   
   **Run example**
   ```sh
   $ kamel run .\HelloWorldRoute.java --dev
   
   Integration "hello-world-route" created
   Progress: integration "hello-world-route" in phase Initialization
   Condition "IntegrationPlatformAvailable" is "True" for Integration 
hello-world-route: camel-basic/camel-k
   Integration "hello-world-route" in phase "Initialization"
   Progress: integration "hello-world-route" in phase Building Kit
   Integration "hello-world-route" in phase "Building Kit"
   Condition "IntegrationKitAvailable" is "False" for Integration 
hello-world-route: creating a new integration kit
   Integration Kit "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Build Submitted"
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Scheduling"
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Pending"
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Running"
   Integration Kit "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Build Running"
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Failed"
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Initialization" (recovery 1 of 5)
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Scheduling" (recovery 1 of 5)
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Pending" (recovery 1 of 5)
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Running" (recovery 1 of 5)
   Build "kit-ch6c16q2in32tbdt31l0", created by Integration 
"hello-world-route", changed phase to "Failed" (recovery 1 of 5)
   ```
   
   **Operator error log**
   ```sh
   $ kubectl logs camel-k-operator-9977dd584-fngnz -f
   
   {"level":"error","ts":1682753313.6273654,"msg":"Reconciler 
error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"hello-world-route","namespace":"camel-basic"},"namespace":"camel-basic","name":"hello-world-route","reconcileID":"324c8046-031d-4d20-ab0d-1e98aaa5437c","error":"error
 during trait customization: unable to find integration container: 
hello-world-route","errorVerbose":"unable to find integration container: 
hello-world-route\nerror during trait 
customization\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:59\ngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle\n\tgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:114\ngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:361\ngithub.com/apache/camel-
 
k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile\n\tgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234\nruntime.goexit\n\truntime/asm_amd64.s:1571","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/inter
 
nal/controller/controller.go:326\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234"}
   ```


-- 
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.apache.org

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

Reply via email to