Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kamelets: add condition to report when an integration is stuck waiting for them #2331

Closed
lburgazzoli opened this issue May 27, 2021 · 0 comments · Fixed by #2337
Closed

kamelets: add condition to report when an integration is stuck waiting for them #2331

lburgazzoli opened this issue May 27, 2021 · 0 comments · Fixed by #2337
Assignees
Milestone

Comments

@lburgazzoli
Copy link
Contributor

I have an integration like:

apiVersion: camel.apache.org/v1
kind: Integration
metadata:
   name: test
spec:
  flows:
  - from:
      steps:
      - to: kamelet:log-sink/sink
      uri: kamelet:timer-source/source
  profile: Knative
status:
  conditions:
  - firstTruthyTime: "2021-05-26T15:17:07Z"
    lastTransitionTime: "2021-05-26T15:17:07Z"
    lastUpdateTime: "2021-05-26T15:17:07Z"
    message: openshift-operators/camel-k
    reason: IntegrationPlatformAvailable
    status: "True"
    type: IntegrationPlatformAvailable
  dependencies:
  - mvn:org.apache.camel.k:camel-k-runtime
  digest: vyzjts6ASueTqZGTCWALa2NPh4bJkZJuqw2peqtLaTzU
  phase: Initialization
  platform: camel-k
  profile: Knative
  runtimeProvider: quarkus
  runtimeVersion: 1.7.0

The integration stuck in Initialization phase because the required kamelets are not found but it would be nice if such information would be reported among the conditions

status:
  conditions:
  - message: "kamelet log-sink not found"
    reason: KameletNotFound
    status: "False"
    type: RequiredResourceAvailable
  - message: "kamelet timer-source not found"
    reason: KameletNotFound
    status: "False"
    type: RequiredResourceAvailable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant