mvn fabric8:deploy fails with error: "Build for test-s2i failed: stream was reset: NO_ERROR"
Issue
-
Trying to deploy a Fuse application to OpenShift using the fabric8-maven-plugin raises the error
[ERROR] F8: Build for test-s2i failed: stream was reset: NO_ERROR [ERROR] F8: Also, check cluster events via `oc get events` to see what could have possibly gone wrong
but the Maven build finishes with
BUILD SUCCESS
. -
When additionally running
oc get events
it logs this error13s Normal Pulling pod/test-1-54pf4 Pulling image "image-registry.openshift-image-registry.svc:5000/fuse7/test:latest" 13s Warning Failed pod/test-1-54pf4 Failed to pull image "image-registry.openshift-image-registry.svc:5000/fuse7/test:latest": rpc error: code = Unknown desc = Error reading manifest latest in image-registry.openshift-image-registry.svc:5000/fuse7/test: manifest unknown: manifest unknown 13s Warning Failed pod/test-1-54pf4 Error: ErrImagePull 2s Normal BackOff pod/test-1-54pf4 Back-off pulling image "image-registry.openshift-image-registry.svc:5000/fuse7/test:latest" 2s Warning Failed pod/test-1-54pf4 Error: ImagePullBackOff
Environment
- Red Hat Fuse 7.x
- OpenShift 4.x
- fabric8-maven-plugin
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.