OpenText product name changes coming to the community soon! Learn more.

Wikis - Page

Unable to connect to the server: dial tcp: lookup <first control plane node ip> on <dns server ip:53>: no such host

0 Likes

When i was trying to install the SMAX suite.

At the Prepare stage when it tries to deploy worker nodes it fails and gives a similar error like the one in the title at the install.xxxxxxx.log of worker nodes.

I checked with nslookup, dns resolution works just fine. But i also had a warning while running pre-check.sh script. What can be the problem here? Should i just start a clean installation?


2022-12-12T09:20:38.953567710+03:00 DEBUG ##FLAG_CDF_LOG_OWER:INSTALL##
2022-12-12T09:20:38.984981785+03:00 DEBUG exec_cmd # echo 'Clear invalid cache file: '
2022-12-12T09:20:38.984981785+03:00 DEBUG exec_msg : Clear invalid cache file: 
2022-12-12T09:20:38.984981785+03:00 DEBUG exit_code: 0
2022-12-12T09:20:38.999280933+03:00 DEBUG exec_cmd # /usr/bin/rm -f 
2022-12-12T09:20:38.999280933+03:00 DEBUG exit_code: 0
2022-12-12T09:20:39.383942259+03:00 INFO  Start to install the ITOM core platform on this server
2022-12-12T09:20:39.419308251+03:00 DEBUG Export CDF_HOME to /etc/profile.d/itom-cdf.sh ...
2022-12-12T09:20:39.432840352+03:00 DEBUG exec_cmd # chmod 644 /etc/profile.d/itom-cdf.sh
2022-12-12T09:20:39.432840352+03:00 DEBUG exit_code: 0
2022-12-12T09:20:39.467815314+03:00 DEBUG exec_cmd # cat /etc/profile.d/itom-cdf.sh
2022-12-12T09:20:39.467815314+03:00 DEBUG exec_msg :

# itom cdf env
export CDF_HOME=/opt/cdf
export PATH=$PATH:${CDF_HOME}/bin
export CDF_NAMESPACE=core
export TMP_FOLDER=/tmp
    
export ETCDCTL_API=3
export CONTAINERD_NAMESPACE=k8s.io
# Note: K8S_HOME is deprecated. Use CDF_HOME instead
export K8S_HOME=/opt/cdf
2022-12-12T09:20:39.467815314+03:00 DEBUG exit_code: 0
2022-12-12T09:20:39.533323828+03:00 INFO  Configure the ITOM core platform required firewall settings ...
2022-12-12T09:20:39.551702559+03:00 DEBUG exec_cmd # firewall-cmd --permanent --add-port=5444/tcp
2022-12-12T09:20:39.551702559+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: 5444:tcp
success
2022-12-12T09:20:39.551702559+03:00 DEBUG exit_code: 0
2022-12-12T09:20:40.826198468+03:00 DEBUG exec_cmd # firewall-cmd --permanent --add-port=8472/udp
2022-12-12T09:20:40.826198468+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: 8472:udp
success
2022-12-12T09:20:40.826198468+03:00 DEBUG exit_code: 0
2022-12-12T09:20:42.096858693+03:00 DEBUG exec_cmd # firewall-cmd --permanent --add-port=10248/tcp
2022-12-12T09:20:42.096858693+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: 10248:tcp
success
2022-12-12T09:20:42.096858693+03:00 DEBUG exit_code: 0
2022-12-12T09:20:43.364587091+03:00 DEBUG exec_cmd # firewall-cmd --permanent --add-port=10249/tcp
2022-12-12T09:20:43.364587091+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: 10249:tcp
success
2022-12-12T09:20:43.364587091+03:00 DEBUG exit_code: 0
2022-12-12T09:20:44.732290436+03:00 DEBUG exec_cmd # firewall-cmd --permanent --add-port=10250/tcp
2022-12-12T09:20:44.732290436+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: 10250:tcp
success
2022-12-12T09:20:44.732290436+03:00 DEBUG exit_code: 0
2022-12-12T09:20:45.93135274+03:00 DEBUG exec_cmd # firewall-cmd --permanent --add-port=10256/tcp
2022-12-12T09:20:45.93135274+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: 10256:tcp
success
2022-12-12T09:20:45.93135274+03:00 DEBUG exit_code: 0
2022-12-12T09:20:47.564346341+03:00 DEBUG exec_cmd # firewall-cmd --reload
2022-12-12T09:20:47.564346341+03:00 DEBUG exec_msg : success
2022-12-12T09:20:47.564346341+03:00 DEBUG exit_code: 0
2022-12-12T09:20:49.808040371+03:00 DEBUG exec_cmd # firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 1 -o cni0 -j ACCEPT -m comment --comment 'flannel subnet'
2022-12-12T09:20:49.808040371+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: rule '['-o', 'cni0', '-j', 'ACCEPT', '-m', 'comment', '--comment', 'flannel subnet']' already is in 'ipv4:filter:FORWARD'
success
2022-12-12T09:20:49.808040371+03:00 DEBUG exit_code: 0
2022-12-12T09:20:50.971548012+03:00 DEBUG exec_cmd # firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 1 -i cni0 -j ACCEPT -m comment --comment 'flannel subnet'
2022-12-12T09:20:50.971548012+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: rule '['-i', 'cni0', '-j', 'ACCEPT', '-m', 'comment', '--comment', 'flannel subnet']' already is in 'ipv4:filter:FORWARD'
success
2022-12-12T09:20:50.971548012+03:00 DEBUG exit_code: 0
2022-12-12T09:20:52.111043498+03:00 DEBUG exec_cmd # firewall-cmd --permanent --direct --add-rule ipv4 nat POSTROUTING 1 -s 172.16.0.0/16 ! -d 172.16.0.0/16 -j MASQUERADE
2022-12-12T09:20:52.111043498+03:00 DEBUG exec_msg :
Warning: ALREADY_ENABLED: rule '['-s', '172.16.0.0/16', '!', '-d', '172.16.0.0/16', '-j', 'MASQUERADE']' already is in 'ipv4:nat:POSTROUTING'
success
2022-12-12T09:20:52.111043498+03:00 DEBUG exit_code: 0
2022-12-12T09:20:53.318540099+03:00 DEBUG exec_cmd # firewall-cmd --reload
2022-12-12T09:20:53.318540099+03:00 DEBUG exec_msg : success
2022-12-12T09:20:53.318540099+03:00 DEBUG exit_code: 0
2022-12-12T09:20:55.4793495+03:00 DEBUG exec_cmd # firewall-cmd --query-masquerade
2022-12-12T09:20:55.4793495+03:00 DEBUG exec_msg : yes
2022-12-12T09:20:55.4793495+03:00 DEBUG exit_code: 0
2022-12-12T09:20:56.870361221+03:00 INFO  Copy the base installation files to /opt/cdf ...
2022-12-12T09:20:56.986995334+03:00 INFO  Copy the containerd installation files to /opt/cdf ...
2022-12-12T09:20:57.075308779+03:00 INFO  Configure registry certificate ...
2022-12-12T09:20:57.159986432+03:00 INFO  Configure and start the containerd daemon ...
2022-12-12T09:20:57.572472209+03:00 INFO  Copy the kubernetes installation files to /opt/cdf ...
2022-12-12T09:20:57.674369984+03:00 INFO  Generate the Root CA certificates and node SSL certificates ...
2022-12-12T09:20:57.770256300+03:00 INFO  Load node images from /opt/cdf/images
2022-12-12T09:20:57.802492496+03:00 INFO   [1/1] Loading infra-common-images.tgz ...
2022-12-12T09:20:57.953429041+03:00 INFO  Generate the kubeconfig file ...
2022-12-12T09:20:58.049578682+03:00 INFO  Configure and start the kube-proxy ...
2022-12-12T09:20:58.080280772+03:00 DEBUG Injecting the configuration values into /opt/cdf/objectdefs/kube-proxy-config.yaml ...
2022-12-12T09:20:58.0910591+03:00 DEBUG exec_cmd # sed -i -r -e '/# {0,}-{1,}BEGIN DUALSTACK-{1,}/,/# {0,}-{1,}END DUALSTACK-{1,}/d' '/opt/cdf/objectdefs/kube-proxy-config.yaml'
2022-12-12T09:20:58.0910591+03:00 DEBUG exit_code: 0
2022-12-12T09:20:58.597857109+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 describe -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:20:58.597857109+03:00 DEBUG exit_code: 1
2022-12-12T09:20:58.818802275+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 create --save-config -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:20:58.818802275+03:00 DEBUG exec_msg : Unable to connect to the server: dial tcp: lookup lrdprdkbn01.lendorabilisim.local on 192.168.1.150:53: no such host
2022-12-12T09:20:58.818802275+03:00 DEBUG exit_code: 1
2022-12-12T09:20:59.018440427+03:00 DEBUG Failed to deploy yaml file /opt/cdf/objectdefs/kube-proxy-config.yaml. Wait for 5 seconds and retry: 1
2022-12-12T09:21:04.034936783+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 describe -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:04.034936783+03:00 DEBUG exit_code: 1
2022-12-12T09:21:04.234158648+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 create --save-config -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:04.234158648+03:00 DEBUG exec_msg : Unable to connect to the server: dial tcp: lookup lrdprdkbn01.lendorabilisim.local on 192.168.1.150:53: no such host
2022-12-12T09:21:04.234158648+03:00 DEBUG exit_code: 1
2022-12-12T09:21:04.434967111+03:00 DEBUG Failed to deploy yaml file /opt/cdf/objectdefs/kube-proxy-config.yaml. Wait for 5 seconds and retry: 2
2022-12-12T09:21:09.451084816+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 describe -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:09.451084816+03:00 DEBUG exit_code: 1
2022-12-12T09:21:09.662842058+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 create --save-config -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:09.662842058+03:00 DEBUG exec_msg : Unable to connect to the server: dial tcp: lookup lrdprdkbn01.lendorabilisim.local on 192.168.1.150:53: no such host
2022-12-12T09:21:09.662842058+03:00 DEBUG exit_code: 1
2022-12-12T09:21:09.884517078+03:00 DEBUG Failed to deploy yaml file /opt/cdf/objectdefs/kube-proxy-config.yaml. Wait for 5 seconds and retry: 3
2022-12-12T09:21:14.901090144+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 describe -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:14.901090144+03:00 DEBUG exit_code: 1
2022-12-12T09:21:15.137653987+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 create --save-config -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:15.137653987+03:00 DEBUG exec_msg : Unable to connect to the server: dial tcp: lookup lrdprdkbn01.lendorabilisim.local on 192.168.1.150:53: no such host
2022-12-12T09:21:15.137653987+03:00 DEBUG exit_code: 1
2022-12-12T09:21:15.332792534+03:00 DEBUG Failed to deploy yaml file /opt/cdf/objectdefs/kube-proxy-config.yaml. Wait for 5 seconds and retry: 4
2022-12-12T09:21:20.349055323+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 describe -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:20.349055323+03:00 DEBUG exit_code: 1
2022-12-12T09:21:20.556682661+03:00 DEBUG exec_cmd # /opt/cdf/bin/kubectl --server=https://lrdprdkbn01.lendorabilisim.local:8443 create --save-config -f /opt/cdf/objectdefs/kube-proxy-config.yaml
2022-12-12T09:21:20.556682661+03:00 DEBUG exec_msg : Unable to connect to the server: dial tcp: lookup lrdprdkbn01.lendorabilisim.local on 192.168.1.150:53: no such host
2022-12-12T09:21:20.556682661+03:00 DEBUG exit_code: 1
2022-12-12T09:21:20.745117030+03:00 FATAL Failed to deploy yaml file /opt/cdf/objectdefs/kube-proxy-config.yaml. Refer to /tmp/install.20221212092034.log file for detail information. If need, please contact system administrator or Micro Focus support.
2022-12-12T09:21:20.825660740+03:00 FATAL k8s installation failed.

Labels:

SMA-X
Support Tips/Knowledge Docs
Comment List
Related
Recommended