[Fabric] can't create remote container
patg_patrice.godard May 24, 2012 3:59 AMHi,
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/
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/
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/
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/
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 ---
-