I'm using Ansible 1.8.3, from OS X to Ubuntu 14.04.

I ended up using Ansible locally on the EC2 machine. Not only it works all
the time, but it's also about 10x faster.

On Mon, Apr 13, 2015 at 9:11 PM, Mark <[email protected]> wrote:

> I've run into similar issues, provisioning to RHEL servers from Ubuntu.
> Either SSH connection refused, terminated, reset, etc.  I've even tried
> uploading my ubuntu VM to ESXi, and get the same thing there.   I'm backing
> down to 1.8.4 of Ansible to see if it still occurs,  I don't think I ran
> into these issues until the package was upgraded.
>
>
> On Wednesday, April 8, 2015 at 10:34:22 AM UTC-4, Warren Seine wrote:
>>
>> 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.
>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/VWPzhjD3r2w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f7ccb96f-3f5e-4fb0-aaa0-3a163c4e547d%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f7ccb96f-3f5e-4fb0-aaa0-3a163c4e547d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Warren Seine*


Founder and CTO of Aerys | aerys.in
Phone: (+33)9 72 28 55 82  /  (+33)6 79 51 64 66

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEOJEA0WW8FrkSBz5H7v_WWp0mL-FfZT8Og50qdaDJVwzpc3Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to