# Ansible-OpenStack:cannot ssh into the containers

**URL:** <https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850>\
**Category:** Ansible Project\
**Created:** [November 25, 2015, 9:21am UTC](https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850 "2015-11-25T09:21:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kakifilip](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kakifilip](https://forum.ansible.com/u/kakifilip)\
**Post date:** [November 25, 2015, 9:21am UTC](https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850/1 "2015-11-25T09:21:02Z")

</div>

Hi,

I am trying to deploy openstack using openstack-ansible project. I am using Liberty release (tag 12.0.0).  
The problem i have is that Ansible is not able to SSH into the containers:

**TASK: [Wait for ssh to be available] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\***  
failed: [infra01\_neutron\_server\_container-4d09aa86 → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.236.216:22  
failed: [infra01\_utility\_container-4da899df → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.237.186:22  
failed: [infra01\_neutron\_agents\_container-bd7aded5 → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.237.90:22  
failed: [infra01\_memcached\_container-12186fcf → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.238.177:22  
failed: [infra01\_rabbit\_mq\_container-7103e2f2 → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.238.178:22  
failed: [infra01\_galera\_container-b691e13b → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.236.60:22  
failed: [infra01\_nova\_conductor\_container-98abf1df → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.238.8:22  
failed: [infra01\_horizon\_container-5756dc20 → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
msg: Timeout when waiting for search string OpenSSH in 172.29.236.47:22  
failed: [infra01\_nova\_cert\_container-17a8689a → 127.0.0.1] =\> {“elapsed”: 301, “failed”: true}  
…  
…  
…

I can ping the containers:

**root@infra01:~# ping infra01\_galera\_container-b691e13b**  
PING infra01\_galera\_container-b691e13b (172.29.236.60) 56(84) bytes of data.  
64 bytes from infra01\_galera\_container-b691e13b (172.29.236.60): icmp\_seq=1 ttl=64 time=0.103 ms  
64 bytes from infra01\_galera\_container-b691e13b (172.29.236.60): icmp\_seq=2 ttl=64 time=0.086 ms  
64 bytes from infra01\_galera\_container-b691e13b (172.29.236.60): icmp\_seq=3 ttl=64 time=0.110 ms

Please help.

thank you,  
Hamza

---

<div class="post-metadata">

**Author:** ![Dimitris\_Theoharis](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Dimitris\_Theoharis](https://forum.ansible.com/u/Dimitris_Theoharis)\
**Post date:** [March 12, 2017, 12:43pm UTC](https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850/2 "2017-03-12T12:43:07Z")

</div>

hello  
have you solved this issue ? i have the same problem  
thanks

---

<div class="post-metadata">

**Author:** ![Saugata\_Mallick](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Saugata\_Mallick](https://forum.ansible.com/u/Saugata_Mallick)\
**Post date:** [April 10, 2017, 5:26pm UTC](https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850/3 "2017-04-10T17:26:04Z")

</div>

Even I am also facing the same issue. The worse part is I cant even ping to my containers. Please let me know how to solve this.

---

<div class="post-metadata">

**Author:** ![HarJin\_Park](https://avatars.discourse-cdn.com/v4/letter/h/7c8e57/32.png) [@HarJin\_Park](https://forum.ansible.com/u/HarJin_Park)\
**Post date:** [April 18, 2017, 12:30am UTC](https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850/4 "2017-04-18T00:30:23Z")

</div>

I have same issue, too.  
Anyone know how to solve it?

---

<div class="post-metadata">

**Author:** ![Saugata\_Mallick](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Saugata\_Mallick](https://forum.ansible.com/u/Saugata_Mallick)\
**Post date:** [May 24, 2017, 1:59pm UTC](https://forum.ansible.com/t/ansible-openstack-cannot-ssh-into-the-containers/19850/5 "2017-05-24T13:59:44Z")

</div>

Please let me know if you have any solution to this problem. Thank you.
