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

Missing dependencies from default maven repositories in staging production build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • Camel-K-GA
    • 2021-M3
    • Camel Quarkus, Camel-K
    • None
    • False
    • False
    • % %
    • Undefined

    Description

      1. I installed Camel-K operator Build Camel-K : 2021-M3 : build#1 from Operatorhub (with previously added new CatalogSource)
      2. I tried (each on separate cluster) both global installation mode and installation into specific namespace
      3. I tried to run kamelet integration (in case of global installation mode from new namespace "x1", in case of specific namespace from the same as installed operator)
      from('kamelet:slack-source?channel=testchannel&token=xo...')
        .to("log:info")
      

      Build of integration fails:

      (combined from similar events): Integration jira-source-fuqt subresource kit-c2sifkekvrvndaqvp0tg (Build) changed phase to "Initialization" (recovery 5 of 5)
      Integration jira-source-fuqt subresource kit-c2sifkekvrvndaqvp0tg (Integration Kit) changed phase to "Error"
      Progress: integration "jira-source-fuqt" in phase Error
      Error: integration "jira-source-fuqt" deployment failed
      

      and log of camel-k-operator pod contains error with missing dependencies:

      [INFO] Downloaded from redhat.ga: https://maven.repository.redhat.com/ga/org/jboss/jboss-parent/34.0.0.redhat-00002/jboss-parent-34.0.0.redhat-00002.pom (65 kB at 138 kB/s)
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Non-resolvable import POM: Could not find artifact org.apache.camel.quarkus:camel-quarkus-bom:pom:1.8.1.fuse-800004-redhat-00002 in redhat.ga (https://maven.repository.redhat.com/ga) @ line 15, column 19
      [ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-jackson:jar is missing. @ line 32, column 17
      [ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-jira:jar is missing. @ line 36, column 17
      [ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-kamelet:jar is missing. @ line 40, column 17
      [ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-log:jar is missing. @ line 44, column 17
       @ 
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.camel.k.integration:camel-k-integration:1.4.0 (/tmp/kit-c2sifkekvrvndaqvp0tg-512653897/maven/pom.xml) has 5 errors
      [ERROR]     Non-resolvable import POM: Could not find artifact org.apache.camel.quarkus:camel-quarkus-bom:pom:1.8.1.fuse-800004-redhat-00002 in redhat.ga (https://maven.repository.redhat.com/ga) @ line 15, column 19 -> [Help 2]
      [ERROR]     'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-jackson:jar is missing. @ line 32, column 17
      [ERROR]     'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-jira:jar is missing. @ line 36, column 17
      [ERROR]     'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-kamelet:jar is missing. @ line 40, column 17
      [ERROR]     'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-log:jar is missing. @ line 44, column 17
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      {"level":"info","ts":1622747095.305516,"logger":"camel-k.builder","msg":"step failed with error: failure while building project: exit status 1","step":"github.com/apache/camel-k/pkg/builder/BuildQuarkusRunner","phase":20,"task":"builder"}
      
      

      Info from astefanu@redhat.com about default maven repositories: https://github.com/jboss-fuse/fuse-camel-k/blob/fuse-8.0-openshift-rhel-8/Dockerfile#L50

      Attachments

        Issue Links

          Activity

            People

              nicolaferraro Nicola Ferraro (Inactive)
              lfabriko@redhat.com Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: