Unable to push image to Internal Registry on Openshift Container Platform 3 integrated with Azure

Solution Verified - Updated -

Issue

Unable to make a Docker push image to Internal Registry.

$ sudo docker push docker-registry-default.apps
The push refers to a repository []
84f58d68d0f7: Retrying in 1 second 
02404b4d7e5d: Retrying in 1 second 
e1d829eddb62: Retrying in 1 second 
received unexpected HTTP status: 500 Internal Server Error

Logs at Docker Registry

level=error msg="response completed with error" err.code=unknown err.detail="azure: storage: service returned error: StatusCode=400, ErrorCode=InvalidHeaderValue, ErrorMessage=The value for one of the HTTP headers is not in the correct format.\nRequestId:\nTime:2018-03-06T14:25:42.1887584Z, RequestId=, QueryParameterName=, QueryParameterValue=" err.message="unknown error" go.version=go1.8.3 http.request.host=docker-registry-default.apps.10.10.10.nip.io http.request.id=123abc456defhttp.request.method=POST http.request.remoteaddr="10.10.101:46288" http.request.uri="/v2/dxc-test/demo/blobs/uploads/" http.request.useragent="docker/1.12.6 go/go1.8.3 kernel/3.10.0-514.28.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.6 \\(linux\\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=26.988396ms http.response.status=500 http.response.written=454 instance.id=fopenshift.auth.user= openshift.auth.userid=openshift.logger=registry vars.name="dxc-test/demo" 

Environment

Red Hat Openshift Container Platform 3.7

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