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

Simple KameletBinding created with Errors #3299

Closed
tmihalac opened this issue May 24, 2022 · 7 comments
Closed

Simple KameletBinding created with Errors #3299

tmihalac opened this issue May 24, 2022 · 7 comments
Labels

Comments

@tmihalac
Copy link

tmihalac commented May 24, 2022

In Camel-k 1.8.2/1.9.2 on Openshift when I try to create a simple KameletBinding it is created unsuccessfully and keeps respawning pods with errors, this looks some kind of a race condition (it is inconsistently happening - sometimes it happens all the time and sometimes it doesnt happen at all)
The Kamelet I am using as the source is a clone of the Webhook Source Kamelet

The KameletBinding:

apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
  name: auto-remediation-platform
  annotations:
    trait.camel.apache.org/logging.level: DEBUG
    trait.camel.apache.org/logging.color: "false"
spec:
  source:
    ref:
      apiVersion: camel.apache.org/v1alpha1
      kind: Kamelet
      name: auto-remediation-entrypoint
  sink:
    ref:
      kind: Broker
      apiVersion: eventing.knative.dev/v1
      name: default

The Kamelet:

apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
  name: auto-remediation-entrypoint
  annotations:
    camel.apache.org/kamelet.group: "Webhook"
  labels:
    camel.apache.org/kamelet.type: "source"
spec:
  definition:
    title: "Webhook Source"
    description: |-
      Test
    type: object
    properties:
      subpath:
        title: Subpath
        description: |
          The subpath where the webhook is registered
        type: string
        default: "webhook"
  dependencies:
    - "camel:platform-http"
    - "camel:kamelet"
  template:
    from:
      uri: "platform-http:///{{subpath}}"
      steps:
        - to: "kamelet:sink"

Steps to reproduce:

  1. Create a new project**(Important)**
  2. Install serverless-operator.v1.22.0
  3. Install Camel K operator 1.8.2
  4. Create knative default broker
  5. Create the Kamelet
  6. Create the KameletBinding

Attached Screenshots & error log

auto-remediation-platform-00001-deployment-65c7f5646d-vqqhx-integration.log

image

image

image

@tmihalac tmihalac changed the title KameletBinding is not created successfully Simple KameletBinding created with Errors May 24, 2022
@squakez
Copy link
Contributor

squakez commented May 24, 2022

Install serverless-operator.v1.22.0

In 1.8.2 community version we're aligned with Knative 1.1.0 version. Please, make sure to use that version of the community Knative operator and confirm if it's still an error.

@squakez squakez added the status/waiting-for-feedback Needs some feedback label May 24, 2022
@tmihalac
Copy link
Author

tmihalac commented May 24, 2022

Install serverless-operator.v1.22.0

In 1.8.2 community version we're aligned with Knative 1.1.0 version. Please, make sure to use that version of the community Knative operator and confirm if it's still an error.

Do you mean this: https://knative.dev/v1.1-docs/install/operator/knative-with-operators/
Is it ok to install 1.1.2 ?
What version the knative-serving and knative-eventing need to be ?

@squakez
Copy link
Contributor

squakez commented May 24, 2022

If you can recover the operator for 1.1.0 would be better, though the patch release should not be a problem in terms of compatibility.

@tmihalac
Copy link
Author

The issue can be closed, it doesn't happen with Knative 1.1.0

@oscerd
Copy link
Contributor

oscerd commented May 25, 2022

I guess we need to update Knative anyway.

@oscerd oscerd closed this as completed May 25, 2022
@squakez squakez removed the status/waiting-for-feedback Needs some feedback label May 25, 2022
@tmihalac
Copy link
Author

tmihalac commented May 31, 2022

Please reopen, it still happening with Camel-k 1.8.2/1.9.2 community version and with community Knative version 1.1.0 and 1.2.0.

@tadayosi tadayosi reopened this May 31, 2022
@tmihalac tmihalac changed the title Simple KameletBinding created with Errors Simple KameletBinding With created with Errors Jun 2, 2022
@tmihalac tmihalac changed the title Simple KameletBinding With created with Errors Simple KameletBinding With Webhook source created with Errors Jun 2, 2022
@tmihalac tmihalac changed the title Simple KameletBinding With Webhook source created with Errors Simple KameletBinding created with Errors Jun 2, 2022
@squakez squakez added the area/knative Related to Knative label Jun 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants