Closed fdervisi closed 3 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @m-yosefpor @rainerleber click here for bot help
Could you please elaborate what exactly times out? Ansible? The SSH connection? Some other random thing?
This here:
Actual Results
dfdf
is quite likely not the output you received.
needs_info
I just updated the error. So it seams in the first run I got a timeout from the provisioner. If I rerun the Playbook, everything works, this only happen when I have long running Terraform process.
I have network connectivity to the hosts, but somehow it does not work on the first rund with the ansible-playbook
@fdervisi this seams to be a problem on the provisioner/terraform or infrastructure side not a ansible terraform module problem. You can see it for example here: 'timeout - last error: dial tcp 18.230.71.9:22: i/o timeout'
Indeed, I verified it again and it looks like Terraform is the culprit. So we can close the issue
Summary
I have a multi region AWS deployment which takes 8-12min. When I use Ansible to start the Terraform Apply, it always fails with large multi region deployments:
When I issue "terraform apply" manually it always works. How can I get rid of this timing issue?
Issue Type
Bug Report
Component Name
terraform
Ansible Version
Configuration
OS / Environment
CentOS 7, AWS Linux
Steps to Reproduce
Expected Results
Terraform should work when called from Ansible
Actual Results
Code of Conduct