Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-20379

KameletBinding with native fails with Image generation failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • camel-k-future
    • None
    • Camel-K
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Very Likely

      On OCP 4.11, with Camel K build 2022.4 CK7, I observe following problem:

      • kameletBinding inmemoryChannel to aws-ddb-sink and native annotation is stuck in Creating, integrationKit results in Error
      • in log of Camel K operator (viz log), I observe build failure:
      {"level":"info","ts":1667992257.3927002,"logger":"camel-k.maven.build","msg":"[ERROR] \t[error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: io.quarkus.deployment.pkg.steps.NativeImageBuildStep$ImageGenerationFailureException: Image generation failed. Exit code: 1"}
      

      Kameletbinding:

      apiVersion: camel.apache.org/v1alpha1
      kind: KameletBinding
      metadata:
        annotations:
          trait.camel.apache.org/quarkus.package-type: native
        name: inmem-aws-ddb
        namespace: lfabriko
      spec:
        sink:
          properties:
            accessKey: xxx
            accountId: xxx
            region: us-west-1
            secretKey: xxx
            table: DynamoDBSinkKameletITCase1667898278037
          ref:
            apiVersion: camel.apache.org/v1alpha1
            kind: Kamelet
            name: aws-ddb-sink
            namespace: lfabriko
        source:
          ref:
            kind: InMemoryChannel
            apiVersion: messaging.knative.dev/v1
            name: ch1
      

              Unassigned Unassigned
              lfabriko@redhat.com Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: