Unable to build a Fuse 7.9 Karaf on OpenShift application using the openshift-maven-plugin

Solution Verified - Updated -

Issue

When following 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] ------------------------------------------------------------------------

Environment

  • Red Hat Fuse 7.9
  • Karaf
  • OpenShift 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content