Dear All,
OS Version: Docker based Rancher v2.6.13 container on centOS 7 as Base.
Problem-Statement: 4 Rancher cluster drivers are continuously in downloading state, Which are required for creating clusters in respective hosted kubernetes providers, as follows:
1. Alibaba ACK.
2. Baidu CCE.
3. Huawei CCE.
4. Tencent TKE.
So, I checked logs of rancher container, which has following errors:
2023/10/30 09
3739 [ERROR] error syncing 'tencentkubernetesengine': handler mgmt-kontainer-driver-lifecycle: Get "
https://drivers.rancher.cn/kontainer-engine-driver-tencent/0.3.0/kontainer-engine-driver-tencent-linux": dial tcp: lookup
drivers.rancher.cn on
196.1.105.47:53: no such host, requeuing
2023/10/30 09
3739 [ERROR] error syncing 'huaweicontainercloudengine': handler mgmt-kontainer-driver-lifecycle: Get "
https://drivers.rancher.cn/kontainer-engine-driver-huawei/0.1.2/kontainer-engine-driver-huawei-linux": dial tcp: lookup
drivers.rancher.cn on
196.1.105.47:53: no such host, requeuing
2023/10/30 09
3739 [ERROR] error syncing 'baiducloudcontainerengine': handler mgmt-kontainer-driver-lifecycle: Get "
https://drivers.rancher.cn/kontainer-engine-driver-baidu/0.2.0/kontainer-engine-driver-baidu-linux": dial tcp: lookup
drivers.rancher.cn on
196.1.105.47:53: no such host, requeuing
2023/10/30 09
3739 [ERROR] error syncing 'aliyunkubernetescontainerservice': handler mgmt-kontainer-driver-lifecycle: Get "
https://drivers.rancher.cn/kontainer-engine-driver-aliyun/0.2.6/kontainer-engine-driver-aliyun-linux": dial tcp: lookup
drivers.rancher.cn on
196.1.105.47:53: no such host, requeuing
Steps taken to find the root cause:
[In Client Machine]
1. Checked for the domain name resolution:
[root@ranchert home]# nslookup
drivers.rancher.cn
Server: 196.1.105.47
Address: 196.1.105.47#53
** server can't find
drivers.rancher.cn: NXDOMAIN
2. Ping the domain name:
[root@ranchert home]# ping
drivers.rancher.cn
ping:
drivers.rancher.cn: Name or service not known
I checked the same commands for the same domain name in my local machine, whose output is as follows:
1. lenovo@aman:~$ ping
drivers.rancher.cn
ping:
drivers.rancher.cn: Name or service not known
2. lenovo@aman:~$ nslookup
drivers.rancher.cn
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
drivers.rancher.cn canonical name =
drivers.rancher.cn.w.kunlungr.com.
Note: Client has asked me to provide the root cause & solution of this.
Kindly guide me with the approach to resolve this problem.