6

I have linked my GitHub repo to an OpenShift app, added the main property and start script to the package.json, but under Builds, it says "Status: Output image could not be resolved. Started: not started"

8
  • Can you include the actual logs from running oc logs build/thebuildname, replacing thebuildname with the actual value? Better that can see the whole output for context. Commented Jun 18, 2018 at 23:57
  • When I try to download the oc command, I get "Active Subscription Required". I would prefer not to pay to download the command. docs.openshift.com/enterprise/3.1/cli_reference/…
    – sdfsdf
    Commented Jun 19, 2018 at 5:20
  • Did you install OpenShift Origin, or OpenShift Container Platform? If using OpenShift Origin you should not be trying to access the images from Red Hat registry for OCP, use the Origin images from Docker Hub. Commented Jun 20, 2018 at 3:00
  • Unfortunate I thought Open Shift was one thing by itself. I did not install anything, but I have an application on an Open Shift dashboard, so I think I am using Red Hat OpenShift Container Platform
    – sdfsdf
    Commented Jun 20, 2018 at 3:24
  • 2
    Hi, have you first tried to do something like oc create imagestream ?
    – pixie
    Commented Aug 10, 2018 at 16:42

1 Answer 1

6

I was running into the exact same error message. It turns out I had all my OpenShift resources in place except the ImageStream to store the build output images into. Like @pixie recommended, try to run oc create imagestream <imagestream name from build config> and see if it helps with your build.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.