在jube(fabric8)上部署示例项目失败

时间:2015-03-17 15:37:30

标签: hawtio fabric8

我们正在运行Linux RHEL v6.4,我们安装了Jube 2.0.33。 Jube正在使用以下env vars set

运行
export https_proxy=
export http_proxy=
export DOCKER_REGISTRY=
export KUBERNETES_MASTER=
export FABRIC8_CONSOLE=

现在,我们在设置上面的env vars之后使用下面的命令来构建简单的项目(包含在quickstarts-master \ quickstarts \ java \ simple-mainclass - 来自Github示例) mvn clean install jube:build fabric8:json fabric8:deploy

构建成功,但是当我们去jube fabric8 hawtio控制台并尝试运行应用程序时...我们没有看到pod正在运行...而是我们在jube服务器控制台上看到下面的stacktrace。

堆栈跟踪显示已构建的图像正在尝试上传到我们不想要的外部maven repos ....我们尝试设置"上传" maven中的xml元素为" false"也....但是仍然没有运气,我们最终看到相同的堆栈跟踪。

ERROR: Failed to create pod: quickstart-camel-servlet-8.         java.io.IOException: Failed to resolve mvn:io.fabric8.jube.images.fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/zip/image. org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for io.fabric8.jube.images.fabric8:quickstart-war-camel-servlet:zip:image:2.2-SNAPSHOT (runtime)

java.io.IOException: Failed to resolve mvn:io.fabric8.jube.images.fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/zip/image. org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for io.fabric8.jube.images.fabric8:quickstart-war-camel-servlet:zip:image:2.2-SNAPSHOT (runtime)

Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for io.fabric8.jube.images.fabric8:quickstart-war-camel-servlet:zip:image:2.2-SNAPSHOT (runtime)

Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for io.fabric8.jube.images.fabric8:quickstart-war-camel-servlet:zip:image:2.2-SNAPSHOT

Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact io.fabric8.jube.images.fabric8:quickstart-war-camel-servlet:pom:2.2-SNAPSHOT from/to central (http://repo1.maven.org/maven2): Error transferring file: null to http://repo1.maven.org/maven2/io/fabric8/jube/images/fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/quickstart-war-camel-servlet-2.2-SNAPSHOT.pom

Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact io.fabric8.jube.images.fabric8:quickstart-war-camel-servlet:pom:2.2-SNAPSHOT from/to central (http://repo1.maven.org/maven2): Error transferring file: null to http://repo1.maven.org/maven2/io/fabric8/jube/images/fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/quickstart-war-camel-servlet-2.2-SNAPSHOT.pom

Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring file: null to http://repo1.maven.org/maven2/io/fabric8/jube/images/fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/quickstart-war-camel-servlet-2.2-SNAPSHOT.pom
    at org.sonatype.maven.wagon.AhcWagon.fillInputData(AhcWagon.java:301)

Caused by: java.io.IOException: null to http://repo1.maven.org/maven2/io/fabric8/jube/images/fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/quickstart-war-camel-servlet-2.2-SNAPSHOT.pom

Caused by: java.net.ConnectException: null to http://repo1.maven.org/maven2/io/fabric8/jube/images/fabric8/quickstart-war-camel-servlet/2.2-SNAPSHOT/quickstart-war-camel-servlet-2.2-SNAPSHOT.pom
    at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:95)

Caused by: java.nio.channels.UnresolvedAddressException
    at sun.nio.ch.Net.checkAddress(Net.java:127)

非常感谢您解决此问题的任何帮助。

提前致谢

0 个答案:

没有答案