Hi,
I use Ansible to provision Ubuntu 14.04 machines. Some machines are at a dedicated provider’s, some are EC2 instances. Provisionning works great for the first ones, but sometimes fails with EC2 VMs. The failure is typically an SSH disconnection. Error messages usually indicate “Connection closed by peer” or similar depending on the log level and the step where it fails. They happen randomly during the provisioning which takes about 15 minutes. If I re-provision, it may succeed.
I guess this is not Ansible’s fault, but I was wondering if someone had the same experience. I’m using a vanilla Ubuntu AMI and haven’t tweaked the SSH settings at all.
Thanks,
Warren.