Chapter 5. Common RHOAR Components
5.1. Fabric8 Maven Plugin
5.1.1. Known Fabric8 Maven Plugin Issues
5.1.1.1. Error pulling image when redeploying an application on OpenShift 3.7
Description
When deploying an application on OpenShift, the initial deployment succeeds, but re-deploying application using the Fabric8 Maven plugin results in the pod becoming stuck in the ImgPullErr state for extended periods of time. After several retries, the re-deployment completes successfully. The issue occurs on OpenShift 3.7.
Workaround
Before applying this workaround, ensure that you are using the latest version of the Fabric8 Maven Plugin. After deploying your application using mvn fabric8:deploy, re-deploy it manually using:
mvn -Dfabric8.openshift.trimImageInContainerSpec=true fabric8:deploy

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.