fabric8-maven-plugin: application redeployment is getting failed for OpenShift v3.7.0

Description

If f8-m-p redeploy the existing application on OpenShift v3.7 then Deployment is not happening correctly. Its unable to pull the images and status appears ImgPullErr for a long time. After some time with 4-5 retries, it’s able to pull the image and deployment happen.

Info

This might be an issue with F8-M-P or OpenShift.

  • f-m-p version : v3.5.34
  • Maven version (mvn -v) :

  • Kubernetes / OpenShift setup and version : OpenShift v3.7.0

  • If it’s a bug, how to reproduce :

  • deploy the application using mvn install or mvn fabric8:deploy
  • again invoke mvn insall or mvn fabric8:deploy

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 34 (18 by maintainers)

Commits related to this issue

Most upvoted comments

@lordofthejars This is a OpenShift 3.7 issue for me. It’s actually a major blocker and preventing us from moving to OpenShift 3.7.

In OpenShift 3.6, it works fine.

Hey @valdar

FMP 3.5.35 has been released yesterday. It contains the workaround for redeployment on Openshift 3.7.x

You should hit for Openshift 3.7.x mvn -Dfabric8.openshift.trimImageInContainerSpec=true fabric8:deploy

Thanks

Okay, So I have found a temporary workaround for this. I saw discussion of @mojsha and Openshift guys here and I think until the Openshift guys solve this we can add that workaround solution. I’ve sent a pull request; after it gets merged, you won’t be facing this problem.

@hrishin @kameshsampath