OpenShift registry does not come up when using Azure Blob Storage as a Persistent Volume

Solution Verified - Updated -

Issue

  • Getting an error whenever trying to build any application from the catalog:

    Unable to get docker-registry.default.svc:5000/openshift/<image>"
    
  • The docker-registry pods on project default aren't in Running state. Event error for them shows Back-off restarting failed container. The logs from inside the pod shows errors like:

    panic: Put https://storagename.blob.core.windows.net/registry?restype=container: dial tcp: lookup storagename.blob.core.windows.net on 10.0.0.1:53: no such host
    

    or

    panic: Put https://storagename.blob.example.com/registry?restype=container:  x509: certificate signed by unknown authority
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.x

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