The https://github.com/theforeman/foremanctl/blob/master/src/roles/foreman/tasks/main.yaml#L309 step here requires the ping endpoint to respond within the default timeout of 30 seconds. In some cases, especially when some services are failing the response time maybe longer than 30 secs..In a local setup where rh_cloud service was failing, that RH cloud check alone lasted around 20 secs and it took ping around 60 secs to respond..We should probably use a timeout of 120 secs or so to give enough time for the ping endpoint to respond.
The https://github.com/theforeman/foremanctl/blob/master/src/roles/foreman/tasks/main.yaml#L309 step here requires the ping endpoint to respond within the default timeout of 30 seconds. In some cases, especially when some services are failing the response time maybe longer than 30 secs..In a local setup where rh_cloud service was failing, that RH cloud check alone lasted around 20 secs and it took ping around 60 secs to respond..We should probably use a timeout of 120 secs or so to give enough time for the ping endpoint to respond.