Error occurred while starting the build in Openshift 3

2.3k views Asked by At

enter image description hereI have been trying to deploy a war file as an OpenShift project. The server used is jboss-webserver30-tomcat8. I have followed the below steps -

  1. Put ROOT.war file under 'deployments' directory in local system.
  2. Upload the changes in github.
  3. Create a new JAVA project in OpenShift 3 and provide the github repository details.

No automatic build or deployment starts. On manually clicking on Start Build button, the below error is displayed:

An error occurred while starting the build. Reason: Error resolving ImageStreamTag jboss-webserver30-tomcat8-openshift:1.2 in namespace openshift: unable to find latest tagged image

Please suggest how can I resolve the error.

2

There are 2 answers

4
Ben On BEST ANSWER

This is an issue with how the jboss-webserver30-tomcat8-openshift imagestream is defined in the cluster. We are working to correct this, it is not currently importing the correct set of tags and as a result the 1.2 tag was stopped being a valid tag, when it should be.

However the short term solution is change your buildconfig to reference one of the tags that has a valid image reference associated (e.g. 1.3) instead of the 1.2 tag it is currently referencing. Your build should then be able to run.

0
Jiri Fiala On

A (temporarily) unavailable builder image may be related to this platform upgrade that correlates with the time of posting your question.


Generally, the best place to check for any incident reports or scheduled maintenance is the Status Page (Starter | Pro clusters; it's linked in the web console too, in the upper right corner of the interface). If this does not seem to be related (e.g. you're not on the starter-us-west-2 cluster where the platform upgrade is taking place) or persists after the maintenance is over, I would encourage you to check the open issues, and log a new bug report, if it's not in the list.

Thank you.