Error "No such host" when provisioning storage or deploying applications

Solution Verified - Updated -

Issue

  • Error No such host when provisioning storage or applications:

    Failed to provision volume with StorageClass "glusterfs-storage": failed to create volume: failed to create volume: Post http://heketi-storage.app-storage.svc:8080/volumes: dial tcp: lookup heketi-storage.app-storage.svc on xx.xx.xx.xx:53: no such host
    
    pulling image error : Get https://docker-registry.default.svc:5000/v2/: dial tcp: lookup docker-registry.default.svc on xx.xx.xx.xx:53: no such host.
    

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