ssh timeout after flush net cache tasks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Low
|
Jesse Pretorius | ||
Kilo |
Fix Released
|
Low
|
Jesse Pretorius | ||
Trunk |
Fix Released
|
Low
|
Jesse Pretorius |
Bug Description
Building openstack-ansible in vagrant and keep on encountering ssh timeouts after the flush net cache task.
Example:
PLAY [Install galera server] *******
GATHERING FACTS *******
ok: [stackserver_
TASK: [Galera extra lxc config] *******
changed: [stackserver_
TASK: [Flush net cache] *******
changed: [stackserver_
TASK: [Wait for container ssh] *******
ok: [stackserver_
TASK: [apt_package_
skipping: [stackserver_
TASK: [pip_install | Create pip config directory] *******
fatal: [stackserver_
FATAL: all hosts have already failed -- aborting
attached simple patch that resolves the issue. Checks to make sure that not only port is up but that SSH is ready.
code borrowed from wait_for module example docs.
@linuxsimba this looks like a sensible fix, could you send this up for review to the master branch of openstack-ansible? With that we can gate the change and get it in for master / backported to kilo.