We're currently using Ansible 2.9.15 through Tower 3.8.0. We're seeing an issue 
when targeting new builds on Window Server 2016 through WinRM.

The issue happens at the start of the Playbook and soon after a Join Domain + 
Reboot Step. It often happens in this order - although there are some 
discrepancies at exactly which point we see the problem:

win_domain_membership
win_reboot
win_firewall:
    state: disabled
    profiles:
    - Domain
    - Private
    - Public
win_regedit:
    path: HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
    name: DisabledComponents
    data: 0xffffffff
    type: dword
    state: present
win_command: netsh int tcp set global chimney=disabled
win_command: netsh int tcp set global  rss=disabled
win_regedit:
    path: HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    name: EnableTCPA
    data: 0
    type: DWord
    state: present

Quite often Ansible will get stuck on the last task with:
[WARNING]: ERROR DURING WINRM SEND INPUT - attempting to recover:
ConnectionError ('Connection aborted.', OSError("(104, 'ECONNRESET')",))

There are quite a lot changes going on the server at this point but I can't see 
any obvious issues that tie up to the time of the error on Ansible.

It never seems to recover from this and I have to Cancel the job. If I re-run 
the job everything works fine. I can see that there's a lot going on with the 
Network stack at the time which may cause an issue but I'd like to see if I can 
narrow it down to see if we can handle the issue or ideally get Ansible to 
recover/retry on its own. Are there any suggestions on what the issue may be or 
on how to best proceed with debugging?

Many thanks.

Best regards,
Panos



________________________________

Winner of Business Partner of the Year - Insurance Times Awards 2016, 2018 and 
2020
Winner of Best Broker Software Management House - Insurance Times Tech & 
Innovation Awards 2020 and 2021
Voted Best Software House - Insurance Times eTrading Survey 2017, 2018, 2019, 
2020 and 2021

Please consider the environment before printing this e-mail

This e-mail and any files transmitted with it are confidential and/or 
privileged and protected by the laws of copyright. They are for the intended 
recipient only. If you are not the intended recipient, you must not use, 
review, distribute, disclose, alter, print, copy, transmit or rely on this 
e-mail and any file transmitted with it. If you have received this e-mail and 
any file transmitted with it in error please notify the sender.

Acturis Limited is registered in England and Wales. Registered Office: 
Courtyard Suite, 100 Hatton Garden, London, EC1N 8NX. Company Number: 3998084.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d9e233a05c1a4a1f86dd19ca13975ffd%40acturis.com.

Reply via email to