Failed to push image: received unexpected HTTP status: 500 Internal Server Error

Solution Verified - Updated -


These errors are being spotted while uploading an image to the internal registry:

$ podman login -u xxx -p $(oc whoami -t)
Login Succeeded!

$ podman push
Getting image source signatures
Copying blob d27d00a62b62 done
Copying blob faf7c252da57 done
Error: Error copying image to the remote destination: Error writing blob: Error initiating layer upload to /v2/clustervalidation/traefik/blobs/uploads/ in received unexpected HTTP status: 500 Internal Server Error

After reviewing the registry logs with oc logs <registry_pod_name> this message is found:

level=error msg="error putting into main store: filesystem: mkdir /registry/docker: permission denied" go.version=go1.10.8"image-registry.openshift-image-registry.svc:5000" http.request.method=GET http.request.remoteaddr="" http.request.uri="/v2/openshift/httpd/manifests/sha256:e67868a558cfe45441e1c326de6d67596fc61b65aa183066fbadfe53c20fb415" http.request.useragent=Go-http-client/1.1 openshift.auth.user="system:serviceaccount:clustervalidation:builder"


  • OCP 4
  • vSphere UPI Installation
  • A NFS share for the registry

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