christophd opened a new issue #1766:
URL: https://github.com/apache/camel-k/issues/1766
Integrations get stuck in phase `Waiting For Platform`
Camel-K version: 1.2.0-SNAPSHOT
Steps to reproduce:
- Create namespace `kube-operators`
- Install Camel-K in global mode `kamel install --global -n kube-operators`
- Switch to another namespace e.g. camel-k-demo
- Run Camel-K sample integration `kamel run helloworld.groovy`
Integration is created and has following events:
```
Condition "IntegrationPlatformAvailable" is "False" for Integration
helloworld: IntegrationPlatform.camel.apache.org "camel-k" not found
Integration helloworld in phase "Waiting For Platform"
camel-k-integration-controller
Condition "IntegrationPlatformAvailable" is "False" for Integration
helloworld: IntegrationPlatform.camel.apache.org "camel-k" not found
camel-k-integration-controller
Integration helloworld in phase "Waiting For Platform"
camel-k-integration-controller
```
Operator logs:
```
{"level":"info","ts":1602761845.9070475,"logger":"cmd","msg":"Go Version:
go1.15.2"}
{"level":"info","ts":1602761845.9071462,"logger":"cmd","msg":"Go OS/Arch:
linux/amd64"}
{"level":"info","ts":1602761845.90717,"logger":"cmd","msg":"Buildah Version:
1.14.0"}
{"level":"info","ts":1602761845.907233,"logger":"cmd","msg":"Kaniko Version:
0.17.1"}
{"level":"info","ts":1602761845.9072526,"logger":"cmd","msg":"Camel K
Operator Version: 1.2.0-SNAPSHOT"}
{"level":"info","ts":1602761845.9073274,"logger":"cmd","msg":"Camel K
Default Runtime Version: 1.5.0"}
{"level":"info","ts":1602761845.9073784,"logger":"cmd","msg":"Camel K Git
Commit: b3ae43691dea0afa6eb05a9a46c9d486f13656e4"}
{"level":"info","ts":1602761845.907538,"logger":"leader","msg":"Trying to
become the leader."}
I1015 11:37:26.958026 1 request.go:621] Throttling request took
1.03595117s, request:
GET:https://10.96.0.1:443/apis/networking.internal.knative.dev/v1alpha1?timeout=32s
{"level":"info","ts":1602761847.3164706,"logger":"leader","msg":"No
pre-existing lock was found."}
{"level":"info","ts":1602761847.3210428,"logger":"leader","msg":"Became the
leader."}
{"level":"info","ts":1602761850.1321387,"logger":"controller-runtime.metrics","msg":"metrics
server is starting to listen","addr":":8080"}
{"level":"info","ts":1602761850.1324246,"logger":"cmd","msg":"Registering
Components."}
{"level":"info","ts":1602761850.1349628,"logger":"cmd","msg":"Cannot detect
user cluster role: skipping."}
{"level":"info","ts":1602761850.1404867,"logger":"cmd","msg":"Starting the
Cmd."}
{"level":"info","ts":1602761850.1411188,"logger":"controller","msg":"Starting
EventSource","controller":"integrationplatform-controller","source":"kind
source: /, Kind="}
{"level":"info","ts":1602761850.1410644,"logger":"controller","msg":"Starting
EventSource","controller":"build-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1602761850.1416163,"logger":"controller","msg":"Starting
EventSource","controller":"kamelet-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1602761850.141695,"logger":"controller","msg":"Starting
EventSource","controller":"kamelet-binding-controller","source":"kind source:
/, Kind="}
{"level":"info","ts":1602761850.1417336,"logger":"controller","msg":"Starting
EventSource","controller":"integration-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.1418538,"logger":"controller-runtime.manager","msg":"starting
metrics server","path":"/metrics"}
{"level":"info","ts":1602761850.141239,"logger":"controller","msg":"Starting
EventSource","controller":"integrationkit-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.242047,"logger":"controller","msg":"Starting
EventSource","controller":"build-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1602761850.242017,"logger":"controller","msg":"Starting
Controller","controller":"integrationplatform-controller"}
{"level":"info","ts":1602761850.2428153,"logger":"controller","msg":"Starting
EventSource","controller":"integration-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.3427386,"logger":"controller","msg":"Starting
Controller","controller":"kamelet-controller"}
{"level":"info","ts":1602761850.3436842,"logger":"controller","msg":"Starting
workers","controller":"kamelet-controller","worker count":1}
{"level":"info","ts":1602761850.343308,"logger":"controller","msg":"Starting
EventSource","controller":"integration-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.3442454,"logger":"controller","msg":"Starting
EventSource","controller":"integration-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.3434167,"logger":"controller","msg":"Starting
EventSource","controller":"integrationkit-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.3452816,"logger":"controller","msg":"Starting
EventSource","controller":"integrationkit-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.3435223,"logger":"controller","msg":"Starting
Controller","controller":"kamelet-binding-controller"}
{"level":"info","ts":1602761850.3433867,"logger":"controller","msg":"Starting
Controller","controller":"build-controller"}
{"level":"info","ts":1602761850.3429363,"logger":"controller","msg":"Starting
workers","controller":"integrationplatform-controller","worker count":1}
{"level":"info","ts":1602761850.3457706,"logger":"controller","msg":"Starting
Controller","controller":"integrationkit-controller"}
{"level":"info","ts":1602761850.44582,"logger":"controller","msg":"Starting
workers","controller":"build-controller","worker count":1}
{"level":"info","ts":1602761850.4461293,"logger":"controller","msg":"Starting
workers","controller":"kamelet-binding-controller","worker count":1}
{"level":"info","ts":1602761850.4462824,"logger":"controller","msg":"Starting
workers","controller":"integrationkit-controller","worker count":1}
{"level":"info","ts":1602761850.4465146,"logger":"controller","msg":"Starting
EventSource","controller":"integration-controller","source":"kind source: /,
Kind="}
{"level":"info","ts":1602761850.5477488,"logger":"controller","msg":"Starting
Controller","controller":"integration-controller"}
{"level":"info","ts":1602761850.547923,"logger":"controller","msg":"Starting
workers","controller":"integration-controller","worker count":1}
{"level":"info","ts":1602761926.19488,"logger":"camel-k.controller.integration","msg":"Reconciling
Integration","request-namespace":"yaks-demo","request-name":"helloworld"}
{"level":"info","ts":1602761926.1949658,"logger":"camel-k.controller.integration","msg":"Invoking
action
platform-setup","request-namespace":"yaks-demo","request-name":"helloworld","api-version":"camel.apache.org/v1","kind":"Integration","ns":"yaks-demo","name":"helloworld"}
{"level":"info","ts":1602761926.1965635,"logger":"camel-k.trait","msg":"Apply
trait: platform"}
{"level":"info","ts":1602761926.196697,"logger":"camel-k.trait","msg":"Apply
trait: deployer"}
{"level":"info","ts":1602761926.2029784,"logger":"camel-k.controller.integration","msg":"state
transition","request-namespace":"yaks-demo","request-name":"helloworld","api-version":"camel.apache.org/v1","kind":"Integration","ns":"yaks-demo","name":"helloworld","phase-from":"","phase-to":"Waiting
For Platform"}
{"level":"info","ts":1602761926.2031074,"logger":"camel-k.controller.integration","msg":"Reconciling
Integration","request-namespace":"yaks-demo","request-name":"helloworld"}
{"level":"info","ts":1602761926.2039945,"logger":"camel-k.controller.integration","msg":"Invoking
action
platform-setup","request-namespace":"yaks-demo","request-name":"helloworld","api-version":"camel.apache.org/v1","kind":"Integration","ns":"yaks-demo","name":"helloworld"}
{"level":"info","ts":1602761926.2058463,"logger":"camel-k.trait","msg":"Apply
trait: platform"}
{"level":"info","ts":1602761926.2059417,"logger":"camel-k.trait","msg":"Apply
trait: deployer"}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]