Details
-
Bug
-
Resolution: Done
-
Critical
-
fuse-7.9-GA
-
None
-
False
-
False
-
%
-
+
-
Automated
-
-
https://github.com/fabric8-quickstarts/karaf-camel-amq/pull/210, https://github.com/fabric8-quickstarts/karaf-camel-log/pull/188, https://github.com/fabric8-quickstarts/karaf-camel-rest-sql/pull/189, https://github.com/fabric8-quickstarts/karaf-cxf-rest/pull/44, https://github.com/fabric8-quickstarts/karaf-camel-rhosak/pull/3, https://github.com/jboss-fuse/spring-boot-camel-xa/pull/23, https://github.com/fabric8-quickstarts/spring-boot-camel/pull/191, https://github.com/fabric8-quickstarts/spring-boot-camel-config/pull/51, https://github.com/fabric8-quickstarts/spring-boot-camel-drools/pull/171, https://github.com/fabric8-quickstarts/spring-boot-camel-infinispan/pull/127, https://github.com/fabric8-quickstarts/spring-boot-camel-rest-sql/pull/185, https://github.com/fabric8-quickstarts/spring-boot-camel-rest-3scale/pull/25, https://github.com/fabric8-quickstarts/spring-boot-camel-xml/pull/207, https://github.com/fabric8-quickstarts/spring-boot-camel-soap-rest-bridge/pull/21, https://github.com/fabric8-quickstarts/spring-boot-cxf-jaxrs/pull/129, https://github.com/fabric8-quickstarts/spring-boot-cxf-jaxrs-xml/pull/17, https://github.com/fabric8-quickstarts/spring-boot-camel-amq/pull/198, https://github.com/fabric8-quickstarts/spring-boot-cxf-jaxws-xml/pull/18, https://github.com/fabric8-quickstarts/spring-boot-cxf-jaxws/pull/121, https://github.com/fabric8-quickstarts/spring-boot-camel-rhosak/pull/5
-
Description
If a user follows the official Fuse 7.9 on Openshift guide to create a Fuse 7.9 Karaf on OCP example, the build will fail with this error:
[INFO] --- openshift-maven-plugin:7.9.0.fuse-sb2-790065-redhat-00001:build (build-image) @ fuse79-karaf-camel-log --- [INFO] oc: Using OpenShift build with strategy S2I [INFO] oc: Running in OpenShift mode [INFO] oc: Running generator karaf [INFO] oc: karaf: Using Docker image registry.redhat.io/fuse7/fuse-karaf-openshift:1.9 as base / builder [INFO] oc: [fuse79-karaf-camel-log:latest] "karaf": Created docker source tar /Users/tmielke/SupportCases/RedHat/03024861/fuse79-karaf-camel-log/target/docker/fuse79-karaf-camel-log/latest/tmp/docker-build.tar [INFO] oc: Updating BuildServiceConfig fuse79-karaf-camel-log-s2i for Source strategy [INFO] oc: Adding to ImageStream fuse79-karaf-camel-log [INFO] oc: Starting Build fuse79-karaf-camel-log-s2i [INFO] oc: Waiting for build fuse79-karaf-camel-log-s2i-2 to complete... [INFO] oc: Caching blobs under "/var/cache/blobs". [INFO] oc: Warning: Pull failed, retrying in 5s ... [INFO] oc: Warning: Pull failed, retrying in 5s ... [INFO] oc: Warning: Pull failed, retrying in 5s ... [INFO] oc: error: build error: After retrying 2 times, Pull image still failed due to error: while pulling "docker://registry.redhat.io/fuse7/fuse-karaf-openshift:1.9" as "registry.redhat.io/fuse7/fuse-karaf-openshift:1.9": Error initializing source docker://registry.redhat.io/fuse7/fuse-karaf-openshift:1.9: Error reading manifest 1.9 in registry.redhat.io/fuse7/fuse-karaf-openshift: StatusCode: 404, Not found [ERROR] oc: Failed to execute the build [Unable to build the image using the OpenShift build service] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------
The reason is that the openshift-maven-plugin by default is configured to use image fuse7/fuse-karaf-openshift:1.9 but we have renamed that image to fuse7/fuse-karaf-openshift-rhel8:1.9
Hence the image is not found and the build fails.
Attachments
Issue Links
- relates to
-
ENTESB-17405 Add Java 11 Maven profile to Fuse on OpenShift quickstarts
- Done