-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win_updates fails with Cannot find an overload for "WriteLog" #411
Comments
Thanks for the bug report, looks like I didn't implement it properly. The changes in #414 should solve this particular problem for you and allow the search errors to be loged in the file correctly. |
Thank you very much Jordan! Let's check it and see what it says now :) |
This was referenced Nov 2, 2022
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
In some servers, win_updates fails with the following message: "Cannot find an overload for "WriteLog" and the argument count: "5".". However, when update is launched manually, there seems to be no errors.
ISSUE TYPE
COMPONENT NAME
win_updates
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Target OS: Microsoft Windows Server 2016 Standard
Powershell version: 5
Connection Type: PSRP
STEPS TO REPRODUCE
EXPECTED RESULTS
Server is updated after some minutes (or hours, depending on the patches)
ACTUAL RESULTS
Update task fails and the following data is registered:
Following resolution for issue #366 I opened some months ago, we upgraded collection to version 1.11.1 last week and now this message appears when updating.
The good side is it only appears in thos servers that in version 1.9.0 failed with message ""Failed to search for updates (SuceededWithErrors 3)", so it seems something related to that specific fix.
I can try and get more information if needed.
Thanks!
The text was updated successfully, but these errors were encountered: