OpenShift Build error: Failed to push image

Solution Verified - Updated -

Issue

OpenShift builds fail with errors like this:

I1126 11:30:18.711378       1 sti.go:149] Using provided push secret for pushing 172.30.30.30:5000/demo/cakephp-example:latest image
I1126 11:30:18.711423       1 sti.go:151] Pushing 172.30.30.30/demo/cakephp-example:latest image ...
F1126 11:30:24.791742       1 builder.go:54] Build error: Failed to push image: Error parsing HTTP response: unexpected end of JSON input: ""

How can this be fixed?

Environment

  • OpenShift Enterprise 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content