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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.