gansheer commented on issue #4781:
URL: https://github.com/apache/camel-k/issues/4781#issuecomment-1743345887

   Out of the default traits, the ones that are applied in this case are: 
`camel`, `environment`, `logging`, `deployer`, `gc`, `container`, `mount`, 
`owner`. But these are the default ones.
   
   I don't think there is any sense for any of these traits to be applied in 
during any `IntegrationInRunning` phase (meaning Deploying, Running and Error 
phase) to be configured if the IntegrationKit is not not in `Ready` phase.
   
   Also, I tried to activate the health trait to see how it goes since it also 
need the container, and it is not good.
   It goes on failing with a nasty error:
   ```
   camel-k-operator-fd48b6479-62rp7 camel-k-operator 
{"level":"debug","ts":"2023-10-02T16:02:07Z","logger":"camel-k","msg":"Operator 
is local to namespace"}
   camel-k-operator-fd48b6479-62rp7 camel-k-operator 
{"level":"info","ts":"2023-10-02T16:02:07Z","msg":"Observed a panic in 
reconciler: runtime error: invalid memory address or nil pointer 
dereference","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"test","namespace":"default"},"namespace":"default","name":"test","reconcileID":"34a6ca1e-8dc9-4c0c-b1be-4fef791cf412"}
   camel-k-operator-fd48b6479-62rp7 camel-k-operator 
{"level":"debug","ts":"2023-10-02T16:02:07Z","logger":"camel-k.controller.kamelet","msg":"Reconciling
 Kamelet","request-namespace":"default","request-name":"http-secured-source"}
   camel-k-operator-fd48b6479-62rp7 camel-k-operator 
{"level":"debug","ts":"2023-10-02T16:02:07Z","logger":"camel-k","msg":"Operator 
is local to namespace"}
   camel-k-operator-fd48b6479-62rp7 camel-k-operator panic: runtime error: 
invalid memory address or nil pointer dereference [recovered]
   camel-k-operator-fd48b6479-62rp7 camel-k-operator    panic: runtime error: 
invalid memory address or nil pointer dereference
   camel-k-operator-fd48b6479-62rp7 camel-k-operator [signal SIGSEGV: 
segmentation violation code=0x1 addr=0x0 pc=0x1f083fa]
   camel-k-operator-fd48b6479-62rp7 camel-k-operator 
   camel-k-operator-fd48b6479-62rp7 camel-k-operator goroutine 844 [running]:
   camel-k-operator-fd48b6479-62rp7 camel-k-operator 
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
   camel-k-operator-fd48b6479-62rp7 camel-k-operator    
sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:115
 +0x1fa
   camel-k-operator-fd48b6479-62rp7 camel-k-operator panic({0x2362fe0, 
0x3f0a610})
   camel-k-operator-fd48b6479-62rp7 camel-k-operator    runtime/panic.go:884 
+0x213
   ...
   ```
   and the operator pod ends up in Error/CrashLoopBackOff status.
   


-- 
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]

Reply via email to