<div dir="ltr"><div>iptables rules <a href="http://paste.openstack.org/show/802058/">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/">http://paste.openstack.org/show/802059/</a></div><div><br></div><div>outpit of netstat <a href="http://paste.openstack.org/show/802060/">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">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>