<div dir="ltr"><div>There are two network cards available in the host machine and only one used so far.</div><div>Should I use the remaining interface mapped to the controller (VM) interface?</div><div><br></div><div>As DNS not resolved I tried to add entries in to /etc/hosts file, but it still has same issue.<br></div><div>I highly appreciate if someone help me to fix this.</div><div><br></div>controller-0:~$ cat /etc/hosts
<br>127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
<br>192.168.204.1 controller registry.local
<br>192.168.206.2 controller-0-infra
<br>169.254.202.1 pxecontroller
<br>10.10.10.2 oamcontroller
<br>192.168.204.4 controller-platform-nfs
<br>192.168.204.3 controller-1
<br>192.168.204.2 controller-0
<br>192.168.206.3 controller-1-infra
<br>192.168.204.5 controller-nfs
<br>108.177.15.82 <a href="http://k8s.gcr.io">k8s.gcr.io</a>
<br>108.177.15.82 <a href="http://gcr.io">gcr.io</a>
<br>3.233.133.41 <a href="http://quay.io">quay.io</a>
<br>52.55.43.248 <a href="http://docker.io">docker.io</a>
<br>34.68.230.202 <a href="http://docker.elastic.co">docker.elastic.co</a>
<br>controller-0:~$ ping <a href="http://docker.elastic.co">docker.elastic.co</a>
<br>PING <a href="http://docker.elastic.co">docker.elastic.co</a> (34.68.230.202) 56(84) bytes of data.
<br>64 bytes from <a href="http://docker.elastic.co">docker.elastic.co</a> (34.68.230.202): icmp_seq=1 ttl=100
time=116 ms
<br>64 bytes from <a href="http://docker.elastic.co">docker.elastic.co</a> (34.68.230.202): icmp_seq=2 ttl=100
time=113 ms
<br>64 bytes from <a href="http://docker.elastic.co">docker.elastic.co</a> (34.68.230.202): icmp_seq=3 ttl=100
time=114 ms
<br>
<br>--- <a href="http://docker.elastic.co">docker.elastic.co</a> ping statistics ---
<br>3 packets transmitted, 3 received, 0% packet loss, time 1999ms
<br><div>rtt min/avg/max/mdev = 113.932/114.719/116.135/1.076 ms <br></div><div><br></div>controller-0:~$ traceroute <a href="http://docker.elastic.co">docker.elastic.co</a>
<br>traceroute to <a href="http://docker.elastic.co">docker.elastic.co</a> (34.68.230.202), 30 hops max, 60 byte
packets
<br> 1 10.10.10.1 (10.10.10.1) 1.049 ms 0.934 ms 0.887 ms
<br> 2 10.10.10.1 (10.10.10.1) 10012.319 ms !X 10012.286 ms !X 10012.234
ms !X
<br><div>controller-0:~$ <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 28, 2021 at 11:13 AM open infra <<a href="mailto:openinfradn@gmail.com">openinfradn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>iptables rules <a href="http://paste.openstack.org/show/802058/" target="_blank">http://paste.openstack.org/show/802058/</a></div><div><br></div><div>I even added few entries in /etc/hosts files and to get the ansible-playbook running, but no luck.</div><div><a href="http://paste.openstack.org/show/802059/" target="_blank">http://paste.openstack.org/show/802059/</a></div><div><br></div><div>outpit of netstat <a href="http://paste.openstack.org/show/802060/" target="_blank">http://paste.openstack.org/show/802060/</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 27, 2021 at 10:07 PM open infra <<a href="mailto:openinfradn@gmail.com" target="_blank">openinfradn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have installed controller-0 and bootstrap was failed at 'Download images and push to local registry'.</div><div><br></div><div>I noticed that, dns resolution is failing in the controller but not in the host.</div><div>controller-0:~$ dig <a href="http://docker.io" target="_blank">docker.io</a><br><br>; <<>> DiG 9.9.4-RedHat-9.9.4-72.el7 <<>> <a href="http://docker.io" target="_blank">docker.io</a><br>;; global options: +cmd<br>;; connection timed out; no servers could be reached<br>controller-0:~$ ping <a href="http://quay.io" target="_blank">quay.io</a><br>PING <a href="http://quay.io" target="_blank">quay.io</a> (3.233.133.41) 56(84) bytes of data.<br><br>--- <a href="http://quay.io" target="_blank">quay.io</a> ping statistics ---<br>3 packets transmitted, 0 received, 100% packet loss, time 2054ms</div><div><br></div><div>I can ping from the controller. <br></div><div>I have added following entries to iptables but no luck.</div><div><br></div><div>sudo iptables -A OUTPUT -p udp -d 8.8.4.4,8.8.8.8 --dport 53 -m state --state NEW,ESTABLISHED -j ACCEPT<br>sudo iptables -A INPUT -p udp -s 8.8.4.4,8.8.8.8 --sport 53 -m state --state ESTABLISHED -j ACCEPT<br>sudo iptables -A OUTPUT -p tcp -d 8.8.4.4,8.8.8.8 --dport 53 -m state --state NEW,ESTABLISHED -j ACCEPT<br>sudo iptables -A INPUT -p tcp -s 8.8.4.4,8.8.8.8 --sport 53 -m state --state ESTABLISHED -j ACCEPT</div><div><br></div><div>I am not sure if my network configuration is correct.</div><div><br></div><div>controller-0:~$ ip route list<br>default via 10.10.10.1 dev ens3 <br><a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> dev ens3 proto kernel scope link src 10.10.10.3 <br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev eth1000 scope link metric 1002 <br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev eth1001 scope link metric 1003 <br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev ens3 scope link metric 1004 <br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev ens4 scope link metric 1005 <br><a href="http://172.17.0.0/16" target="_blank">172.17.0.0/16</a> dev docker0 proto kernel scope link src 172.17.0.1 linkdown <br></div><div><br></div><div>Following is my local routing configuration and host IP is 192.168.10.100.</div><div>$ ip route list<br>default via 192.168.172.3 dev eno1 proto static metric 100 <br><a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a> dev stxbr1 proto kernel scope link src 10.10.10.1 <br><a href="http://192.168.122.0/24" target="_blank">192.168.122.0/24</a> dev virbr0 proto kernel scope link src 192.168.122.1 <br><a href="http://192.168.10.0/24" target="_blank">192.168.10.0/24</a> dev eno1 proto kernel scope link src 192.168.10.100 metric 100 <br></div><div><br></div><div>IP -a results available at <a href="http://paste.openstack.org/show/802048/" target="_blank">http://paste.openstack.org/show/802048/</a></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div>
</blockquote></div>