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
Avoid winrm hang on stdin write failure #82766
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibot
added
bug
This issue/PR relates to a bug.
needs_triage
Needs a first human triage before being processed.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Mar 3, 2024
The test
|
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output.
ansibot
removed
the
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
label
Mar 4, 2024
mkrizek
removed
the
needs_triage
Needs a first human triage before being processed.
label
Mar 5, 2024
nitzmahone
approved these changes
Mar 6, 2024
jborean93
added a commit
to jborean93/ansible
that referenced
this pull request
Mar 6, 2024
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output. (cherry picked from commit 942424e)
jborean93
added a commit
to jborean93/ansible
that referenced
this pull request
Mar 6, 2024
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output. (cherry picked from commit 942424e)
Backport PRs |
jborean93
added a commit
to jborean93/ansible
that referenced
this pull request
Mar 6, 2024
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output. (cherry picked from commit 942424e)
sivel
pushed a commit
that referenced
this pull request
Mar 13, 2024
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output. (cherry picked from commit 942424e)
sivel
pushed a commit
that referenced
this pull request
Mar 13, 2024
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output. (cherry picked from commit 942424e)
bcoca
pushed a commit
to bcoca/ansible
that referenced
this pull request
Mar 19, 2024
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
If the connection plugin fails to write the data to run to stdin we will only attempt to get the output with one operation attempt. If this times out we will consider the command to have failed and raise an exception instead of forever attempting to get the output.
ISSUE TYPE