When using openstack-ansible-lxc_container_create role with an SSH jumpbox, sits waiting forever for container even though ssh is available.

Bug #1682481 reported by Rick Box
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Unassigned

Bug Description

When using https://github.com/openstack/openstack-ansible-lxc_container_create
role https://github.com/openstack/openstack-ansible-lxc_container_create/blob/master/tasks/container_create.yml file

The play "Wait for ssh to be available" runs from localhost with wait_for and checks port 22 connectivity.

In our case we use an SSH jump box and set the SSH connection through our bastion box using the .ssh/config file. As a result this check never succeeds even though connectivity is fine and working.

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Would adding delegate_to: "{{ physical_host }}" be enough for you?

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Medium
tags: added: low-hanging-fruit
Revision history for this message
Jonathan Rosser (jrosser) wrote :

Looks like there is a proposed fix - just needs another + to merge it i think?

https://review.openstack.org/#/c/456689/

Revision history for this message
Jimmy McCrory (jimmy-mccrory) wrote :

Should this be closed now that https://review.openstack.org/#/c/456689/ has merged?

Revision history for this message
Nicolas Bock (nicolasbock) wrote :

What's the status on this?

Revision history for this message
Jonathan Rosser (jrosser) wrote :

With appropriate ssh config OSA is capable of deploying via an SSH bastion. My lab is set up like this today. Marking as fixed.

Changed in openstack-ansible:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.