OpenShift registry does not come up when using Azure Blob Storage as a Persistent Volume
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 inRunning
state. Event error for them showsBack-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.