<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 24 November 2015 at 17:02, Achi Hamza <span dir="ltr"><<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I am trying to deploy openstack using openstack-ansible project. I am using Liberty release (tag <b>12.0.0</b>).<br>The problem i have is that Ansible is not able to SSH into the containers:<br><br><b>TASK: [Wait for ssh to be available] ****************************************** </b><br>failed: [infra01_neutron_server_container-4d09aa86 -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.236.216:22" target="_blank">172.29.236.216:22</a><br>failed: [infra01_utility_container-4da899df -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.237.186:22" target="_blank">172.29.237.186:22</a><br>failed: [infra01_neutron_agents_container-bd7aded5 -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.237.90:22" target="_blank">172.29.237.90:22</a><br>failed: [infra01_memcached_container-12186fcf -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.238.177:22" target="_blank">172.29.238.177:22</a><br>failed: [infra01_rabbit_mq_container-7103e2f2 -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.238.178:22" target="_blank">172.29.238.178:22</a><br>failed: [infra01_galera_container-b691e13b -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.236.60:22" target="_blank">172.29.236.60:22</a><br>failed: [infra01_nova_conductor_container-98abf1df -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.238.8:22" target="_blank">172.29.238.8:22</a><br>failed: [infra01_horizon_container-5756dc20 -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>msg: Timeout when waiting for search string OpenSSH in <a href="http://172.29.236.47:22" target="_blank">172.29.236.47:22</a><br>failed: [infra01_nova_cert_container-17a8689a -> 127.0.0.1] => {"elapsed": 301, "failed": true}<br>.........<br>.........<br>.........<br><br></div><b><br></b></div>I can ping the containers:<br><br><b>root@infra01:~# ping infra01_galera_container-b691e13b<br>PING infra01_galera_container-b691e13b (172.29.236.60) 56(84) bytes of data.</b><br>64 bytes from infra01_galera_container-b691e13b (172.29.236.60): icmp_seq=1 ttl=64 time=0.103 ms<br>64 bytes from infra01_galera_container-b691e13b (172.29.236.60): icmp_seq=2 ttl=64 time=0.086 ms<br>64 bytes from infra01_galera_container-b691e13b (172.29.236.60): icmp_seq=3 ttl=64 time=0.110 ms<br></div></div></div></div></blockquote></div><br>
</div><div class="gmail_extra">Hi Amza,</div><div class="gmail_extra"><br></div><div class="gmail_extra">My apologies for only getting back to you right now.</div><div class="gmail_extra"><br></div><div class="gmail_extra">We've been seeing similar SSH connectivity issues in gate checks and have what we believe is a solution in a review in flight [1]. The patch is easily implemented in your environment.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Failing that I have a few suggestions:</div><div class="gmail_extra"><br></div><div class="gmail_extra">1 - Implement using at least the tag 12.0.1 as we fixed some pretty crucial release bugs between 12.0.0 and 12.0.1. You can also implement from the head of the Liberty branch.</div><div class="gmail_extra">2 - If your host(s) are a little slow you may wish to implement an increased delay in /etc/openstack_deploy/user_variables.yml using the variable 'ssh_delay'.</div><div class="gmail_extra">3 - If possible, try and catch us in the Freenode IRC channel #openstack-ansible - there're often people there who can help you troubleshoot.</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://review.openstack.org/249942">https://review.openstack.org/249942</a></div></div>