Installation issue rke cluster

Hi

I’m new to K8s and Rancher. I setup via rke cluster.

Within logs for the cattle-system rancher pod I get following logs:

sudo grep “Failed to connect” /var/log/pods/cattle-system_rancher-7f4df87477-4r7c4_dbee820d-9f7b-425e-916b-4553d74c717f/rancher/0.log

{“log”:“fatal: unable to access ‘https://git.rancher.io/helm3-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:19:37.409413736Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/helm3-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:19:44.826648472Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T17:20:38.771765996Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T17:25:52.116960777Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/helm3-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:36:20.547561693Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T17:39:29.273496712Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:42:48.245176514Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:42:55.688663331Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/helm3-charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T17:55:11.350682656Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/helm3-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:55:11.688887969Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/helm3-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T17:55:14.848895313Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T17:58:19.763596419Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T18:01:38.425263892Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: No route to host\n”,“stream”:“stdout”,“time”:“2021-04-14T18:02:44.038192211Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T18:04:55.049465065Z”}
{“log”:“fatal: unable to access ‘https://git.rancher.io/system-charts/’: Failed to connect to git.rancher.io port 443: Connection timed out\n”,“stream”:“stdout”,“time”:“2021-04-14T18:07:06.104163943Z”}

So, those log entries are from rancher server pod. The ESXi node where rke (rancher) is running on has no issue to connect to the internet.

curl -Ik https://git.rancher.io

HTTP/2 200
server: openresty/1.15.8.1
date: Wed, 14 Apr 2021 18:10:22 GMT
content-type: text/html
content-length: 2
last-modified: Mon, 05 Apr 2021 04:30:30 GMT
etag: “606a9266-2”
accept-ranges: bytes
strict-transport-security: max-age=15724800; includeSubDomains

Why is the rancher pod not able to find a route to the host?

Does someone have a clue from where this issue comes from?

Any help kindly appreciated…

I made a network configuration issue. I configured on each node on a specific nic a dns domain name. which was suffixed to all dns requests leaving the cluster.