-
Bug
-
Resolution: Done
-
Blocker
-
None
-
fuse-7.5-CR1
-
None
Running booster with SB2 on OCP4 fails with error
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ name-service --- [INFO] Building jar: /Users/llowinge/Redhat/xpaas/boosters/fuse-springboot-circuit-breaker-booster/name-service/target/name-service-7.0.0.jar [INFO] [INFO] --- fabric8-maven-plugin:7.5.0.fuse-sb2-750029-redhat-00001:build (default) @ name-service --- [INFO] F8: Building Docker image in Kubernetes mode [INFO] F8: Running generator spring-boot [INFO] F8: spring-boot: Using ImageStreamTag 'fuse7-java-openshift:1.5' from namespace 'foo-7-pipeline-streams' as builder image [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Fuse :: Boosters :: Springboot :: Circuit Breaker 7.0.0: [INFO] [INFO] Fuse :: Boosters :: Springboot :: Circuit Breaker .. SUCCESS [ 1.851 s] [INFO] Fuse :: Boosters :: Springboot :: Circuit Braker :: Name service FAILURE [ 9.077 s] [INFO] Fuse :: Boosters :: Springboot :: Circuit Braker :: Greetings service SKIPPED [INFO] Fuse :: Boosters :: Springboot :: Circuit Braker :: Integration Tests SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.337 s [INFO] Finished at: 2019-10-29T18:21:16+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.5.0.fuse-sb2-750029-redhat-00001:build (default) on project name-service: Execution default of goal org.jboss.redhat-fuse:fabric8-maven-plugin:7.5.0.fuse-sb2-750029-redhat-00001:build failed: No <dockerHost> given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engine' and no external provider like Docker machine configured -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :name-service
The weird thing is that it thinks Kubernetes Mode, instead of Openshift.