Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

aws openshift provisioning failing with ssh unable to connect to hosts #370

Open
vamsi454 opened this issue May 16, 2019 · 0 comments
Open

Comments

@vamsi454
Copy link

I am using casl ansible role to provision openshift cluster on aws. The code runs fine creating the infrastructure. It fails when connecting to hosts with below error:

TASK [wait_for_connection] *******************************************************************************************************************************************************************************************************************
Thursday 16 May 2019 14:02:57 +0000 (0:00:00.338) 0:00:17.696 **********
fatal: [3.86.197.xxx]: FAILED! => {"changed": false, "elapsed": 300, "msg": "timed out waiting for ping module test success: SSH Error: data could not be sent to remote host "3.86.197.154". Make sure this host can be reached over ssh"}
fatal: [107.20.88.xxx]: FAILED! => {"changed": false, "elapsed": 300, "msg": "timed out waiting for ping module test success: SSH Error: data could not be sent to remote host "107.20.88.182". Make sure this host can be reached over ssh"}
fatal: [54.89.103.xxx]: FAILED! => {"changed": false, "elapsed": 300, "msg": "timed out waiting for ping module test success: SSH Error: data could not be sent to remote host "54.89.103.128". Make sure this host can be reached over ssh"}

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
107.20.88.xxx : ok=0 changed=0 unreachable=0 failed=1
3.86.197.xxx : ok=0 changed=0 unreachable=0 failed=1
54.89.103.xxxx : ok=0 changed=0 unreachable=0 failed=1
localhost : ok=8 changed=2 unreachable=0 failed=0

Thursday 16 May 2019 14:07:58 +0000 (0:05:00.908) 0:05:18.604 **********

wait_for_connection ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 300.91s
Gathering Facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 4.32s
manage-aws-infra : Ensure the underlaying infrastructure is present ------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.69s
manage-aws-infra : Process CloudFormation Template ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.79s
../../../galaxy/openshift-ansible/roles/openshift_openstack : Create the Cinder volume for OpenShift Registry ------------------------------------------------------------------------------------------------------------------------- 0.71s
../../../galaxy/openshift-ansible/roles/openshift_openstack : fail -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.62s
manage-aws-infra : create temporary directory to store the processed template --------------------------------------------------------------------------------------------------------------------------------------------------------- 0.35s
Debug hostvar ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.34s
../../../galaxy/infra-ansible/roles/config-hostname : Prevent cloud-init updates of hostname/fqdn (if applicable) --------------------------------------------------------------------------------------------------------------------- 0.24s
set cinder registry storage facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.23s
../../../galaxy/infra-ansible/roles/update-host : Waiting for server to come back ----------------------------------------------------------------------------------------------------------------------------------------------------- 0.23s
Set default Environment ID ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.22s
Updating DNS configurations ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.22s
Setting Common Facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.22s
Set the default app domain for routing purposes --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.21s
Set Dynamic Inventory Filters --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.20s
../../../galaxy/infra-ansible/roles/config-hostname : Install required packages ------------------------------------------------------------------------------------------------------------------------------------------------------- 0.20s
Append any custom packages to install on the target systems --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.20s
Gathering Facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.20s
Gathering Facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.20s

Failure summary:

  1. Hosts:
    Play: Wait for systems to become reachable
    Task: wait_for_connection
    Message: timed out waiting for ping module test success: SSH Error: data could not be sent to remote host "3.86.197.xxx". Make sure this host can be reached over ssh

  2. Hosts:
    Play: Wait for systems to become reachable
    Task: wait_for_connection
    Message: timed out waiting for ping module test success: SSH Error: data could not be sent to remote host "107.20.88.xxx". Make sure this host can be reached over ssh

  3. Hosts:
    Play: Wait for systems to become reachable
    Task: wait_for_connection
    Message: timed out waiting for ping module test success: SSH Error: data could not be sent to remote host "54.89.103.xxx". Make sure this host can be reached over ssh

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant