Skip to content
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

Fix async logic when parsing fails #17091

Merged
merged 1 commit into from
Aug 15, 2016
Merged

Fix async logic when parsing fails #17091

merged 1 commit into from
Aug 15, 2016

Conversation

Shrews
Copy link
Contributor

@Shrews Shrews commented Aug 15, 2016

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lib/ansible/executor/task_executor.py

ANSIBLE VERSION

This affects 2.2.0 and 2.1.1.0

SUMMARY

We want to NOT consider the async task as failed if the result is
not parsed, which was the intent of:

#16458

However, the logic doesn't actually do that because we default
the 'parsed' value to True. It should default to False so that
we continue waiting, as intended.

We want to NOT consider the async task as failed if the result is
not parsed, which was the intent of:

  #16458

However, the logic doesn't actually do that because we default
the 'parsed' value to True. It should default to False so that
we continue waiting, as intended.
@bcoca bcoca merged commit bf8c871 into ansible:devel Aug 15, 2016
bcoca pushed a commit that referenced this pull request Aug 15, 2016
We want to NOT consider the async task as failed if the result is
not parsed, which was the intent of:

  #16458

However, the logic doesn't actually do that because we default
the 'parsed' value to True. It should default to False so that
we continue waiting, as intended.
(cherry picked from commit bf8c871)
@Shrews Shrews deleted the fix_async branch August 15, 2016 17:47
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 5, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants