7 Replies Latest reply: May 24, 2012 7:06 AM by Ioannis Canellos RSS

    [Fabric] can't create remote container

    patrice godard Newbie

      Hi,

      I have 2 linux VMs (Debian based) behind an authenticating http proxy.

      I declared my proxy in both /etc/profile and ~/.bashrc and curl is using it OK.

      I also modified $FUSE_HOME/etc/org.ops4j.pax.url.mvn.cfg to activate the proxy support and pointed to my maven settings.xml

       

      When I try to create a remote container on machine B, from machine A with the following command:

       

      fabric:container-create-ssh  --host 192.168.102.190 --path /home/adminuser/fuse --user adminuser --password adminuser --profile mq remoteBroker1

       

      The remote folders are created but it fails when trying to download the artifacts with the following log.

      I have this behavior if Machine A is a Linux or Windows box.

      From the log I see it first try to download the artifacts from what looks like a fuse-local repo: http://salineos:8181/maven/download/ but I can't find anything at this URL.

       

      I tried to run curl with the urls listed in the log and it works as expected.

       

      --- output -


      Running: mkdir -p /home/adminuser/containers/

      Running: cd /home/adminuser/containers/

      Running: mkdir -p remoteBroker1

      Running: cd remoteBroker1

      Java version is greater than 1.6.

      Downloading Maven Artifact with groupId: org.fusesource.fabric artifactId: fuse-fabric and version: 7.0.0.fuse-061 from repository: http://salineos:8181/maven/download/

      Using URL: http://salineos:8181/maven/download/org/fusesource/fabric/fuse-fabric/7.0.0.fuse-061/fuse-fabric-7.0.0.fuse-061.tar.gz

      Download failed with code: 404

      rm: impossible de supprimer « fuse-fabric-7.0.0.fuse-061.tar.gz »: Aucun fichier ou dossier de ce type

      Downloading Maven Artifact with groupId: org.fusesource.fabric artifactId: fuse-fabric and version: 7.0.0.fuse-061 from repository: http://repo.fusesource.com/nexus/content/groups/public/

      Using URL: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/fabric/fuse-fabric/7.0.0.fuse-061/fuse-fabric-7.0.0.fuse-061.tar.gz

      Download failed with code: 000

      rm: impossible de supprimer « fuse-fabric-7.0.0.fuse-061.tar.gz »: Aucun fichier ou dossier de ce type

      Downloading Maven Artifact with groupId: org.fusesource.fabric artifactId: fuse-fabric and version: 7.0.0.fuse-061 from repository: http://repo.fusesource.com/nexus/content/groups/ea/

      Using URL: http://repo.fusesource.com/nexus/content/groups/ea/org/fusesource/fabric/fuse-fabric/7.0.0.fuse-061/fuse-fabric-7.0.0.fuse-061.tar.gz

      Download failed with code: 000

      rm: impossible de supprimer « fuse-fabric-7.0.0.fuse-061.tar.gz »: Aucun fichier ou dossier de ce type

      Downloading Maven Artifact with groupId: org.fusesource.fabric artifactId: fuse-fabric and version: 7.0.0.fuse-061 from repository: http://repo.fusesource.com/nexus/content/repositories/snapshots/

      Using URL: http://repo.fusesource.com/nexus/content/repositories/snapshots/org/fusesource/fabric/fuse-fabric/7.0.0.fuse-061/fuse-fabric-7.0.0.fuse-061.tar.gz

      Download failed with code: 000

      rm: impossible de supprimer « fuse-fabric-7.0.0.fuse-061.tar.gz »: Aucun fichier ou dossier de ce type

      Command Failed:Could not find file fuse-fabric-7.0.0.fuse-061.tar.gz

       

      --- error ---

       

      -