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

Containers with custom profiles sometimes fail to provision with 'java.io.IOException: URL [mvn:foo/bar/42] could not be resolved.'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • jboss-fuse-6.2
    • jboss-fuse-6.1 on OSE
    • Fuse on Openshift
    • None
    • % %
    • Hide
      1. create fuse OSE gear
      2. change a groupId of a quickstart, mvn deploy it to the fabric server and create a profile containing this bundle
      3. in hawt.io create multiple openshift containers with the new profile
      4. delete the containers and repeat previous step until it fails.
      Show
      create fuse OSE gear change a groupId of a quickstart, mvn deploy it to the fabric server and create a profile containing this bundle in hawt.io create multiple openshift containers with the new profile delete the containers and repeat previous step until it fails.

      Creating new openshift containers with custom profiles containing custom bundles that have been uploaded to the fabric maven repository sometimes fails with the following exception.

      It seems that it such cases when this fails the usual log entry 'Received request for maven artifact' is not there in the fabric server log, so the container probably didn't try to get the artifact.

      Provision Exception:
      io.fabric8.agent.utils.MultiException: Error while downloading artifacts
        at io.fabric8.agent.utils.AgentUtils$ArtifactDownloader.await(AgentUtils.java:314)
        at io.fabric8.agent.DeploymentBuilder.download(DeploymentBuilder.java:165)
        at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:515)
        at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:263)
        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 mvn:io.bobland.examples/bobland-camel-cxfrsamq/1.0.0
        at io.fabric8.agent.download.AbstractDownloadTask.initIOException(AbstractDownloadTask.java:108)
        at io.fabric8.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:88)
        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)
      Caused by: java.io.IOException: URL [mvn:io.bobland.examples/bobland-camel-cxfrsamq/1.0.0] could not be resolved.
        at io.fabric8.agent.download.MavenDownloadTask.download(MavenDownloadTask.java:123)
        at io.fabric8.agent.download.AbstractDownloadTask.run(AbstractDownloadTask.java:77)
      ... 5 more
      

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

              Created:
              Updated:
              Resolved: