OpenShift Builds fails due to Network timeouts and DNS name resolution delays
Issue
- OpenShift builds failing with network issues as below.
Error: err=Uploading directory "artifacts" as binary input for the build ... ... Uploading finished Error from server (InternalError): Internal error occurred: error dialing backend: dial tcp: lookup server1.redhat.com on 10.x.x.x:53: read udp 10.x.x.x:49706->10.x.x.x:53: i/o timeout, verb=start-build, cmd=oc --server=https://10.x.x.x:443 --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --namespace=rare --token=XXXXX start-build buildconfig/rare-driver-vision --from-dir=artifacts --wait -o=name , out=, status=1}
Errror: Unknown host artifactory.redhat.com: Name or service not known
Environment
- Red Hat OpenShift Container Platform 3.11.z
- Red Hat Enterprise Linux 7
- VMWare VSphere 6.5+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.