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

OSE Maven artifacts uploaded to fabric proxy cannot be resolved by containers

    XMLWordPrintable

Details

    • % %
    • Hide
      1. create a fuse OSE gear and an additional openshift container
      2. edit one of the quickstarts to change the artifact GAV (e.g. change artifactId in jboss-fuse-6.2.0.redhat-053/quickstarts/beginner/camel-cbr/pom.xml
      3. add to the quickstart pom
            <distributionManagement>
               <repository>
                 <id>fabric-maven-proxy</id>
                 <name>FMC Maven Proxy</name>
                 <url>http://admin:FusePassword@fuse-test.apps.example.com:80/maven/upload/</url>
               </repository>
            </distributionManagement>
        
      4. mvn clean deploy
      5. edit the quickstart profile in the wiki to use the updated bundle
      6. deploy the profile to the container
      7. notice the error
      Show
      create a fuse OSE gear and an additional openshift container edit one of the quickstarts to change the artifact GAV (e.g. change artifactId in jboss-fuse-6.2.0.redhat-053/quickstarts/beginner/camel-cbr/pom.xml add to the quickstart pom <distributionManagement> <repository> <id>fabric-maven-proxy</id> <name>FMC Maven Proxy</name> <url>http: //admin:FusePassword@fuse-test.apps.example.com:80/maven/upload/</url> </repository> </distributionManagement> mvn clean deploy edit the quickstart profile in the wiki to use the updated bundle deploy the profile to the container notice the error

    Description

      Custom bundles deployed to the fabric maven proxy don't seem to be resolvable from other openshift containers in the same fabric.

      
              io.fabric8.common.util.MultiException: Error
      
                at io.fabric8.agent.download.impl.MavenDownloadManager$MavenDownloader.(MavenDownloadManager.java:93)
      
                at io.fabric8.agent.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:71)
      
                at io.fabric8.agent.region.Subsystem.downloadBundles(Subsystem.java:329)
      
                at io.fabric8.agent.region.SubsystemResolver.resolve(SubsystemResolver.java:179)
      
                at io.fabric8.agent.service.Deployer.deploy(Deployer.java:261)
      
                at io.fabric8.agent.service.Agent.provision(Agent.java:327)
      
                at io.fabric8.agent.service.Agent.provision(Agent.java:187)
      
                at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:569)
      
                at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:216)
      
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      
                at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      
                at java.lang.Thread.run(Thread.java:745)
      
              java.io.IOException: Error downloading fab:mvn:io.fabric8.quickstarts/karaf-beginner-camel-cbr-foobar/1.2.0.redhat-053
      
                at io.fabric8.agent.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:49)
      
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      
                at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      
                at java.lang.Thread.run(Thread.java:745)
      
              Caused by: java.io.IOException: URL [fab:mvn:io.fabric8.quickstarts/karaf-beginner-camel-cbr-foobar/1.2.0.redhat-053] could not be resolved.
      
                at io.fabric8.agent.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:111)
      
                at io.fabric8.agent.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:40)
      
              ... 7 more
      
      
      

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: