RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1788968 - Ansible in pipeline mode fails with tlog enabled
Summary: Ansible in pipeline mode fails with tlog enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: tlog
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.3
Assignee: jstephen
QA Contact: Ondrej Moriš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-08 13:33 UTC by Denis Volkov
Modified: 2023-12-15 17:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:27:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Playbook with pipelining disabled (125 bytes, text/plain)
2020-01-08 13:34 UTC, Denis Volkov
no flags Details
Playbook with pipelining enabled (124 bytes, text/plain)
2020-01-08 13:35 UTC, Denis Volkov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Scribery tlog issues 227 0 None closed tlog-rec-session breaks Ansible pipelining 2020-11-02 20:00:12 UTC
Red Hat Product Errata RHBA-2020:4739 0 None None None 2020-11-04 03:27:13 UTC

Description Denis Volkov 2020-01-08 13:33:56 UTC
Description of problem:
After enabling pipeline mode in ansible on the user with tlog session recording enabled, simple playbooks fail

Version-Release number of selected component (if applicable):
tlog: tlog-6-1.el8.x86_64
ansible: 2.9.1 (not RHEL)

Steps to Reproduce:
1. Enable session recording:
chsh root -s /usr/bin/tlog-rec-session

2. Start test playbook with pipeline enabled

    $ ansible-playbook plays/ping-pipe.yml -i inv/hosts
PLAY [all] ********************************************************************************************************************************************************************************************************

TASK [ping all hosts] *********************************************************************************************************************************************************************************************
fatal: [rhel8]: FAILED! => {
    "changed": false,
    "rc": 0
}

MSG:

MODULE FAILURE
See stdout/stderr for the exact error


PLAY RECAP ********************************************************************************************************************************************************************************************************
rhel8                      : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   


Expected results:
Playbook is run without error


Additional info:
Test playbooks are in the attachment.
ping.yml - playbook with pipelining disabled
ping-pipe.yml - playbook with pipelining enabled

There is a ticket in the upstream with similar problem: https://github.com/Scribery/tlog/issues/227

Comment 1 Denis Volkov 2020-01-08 13:34:38 UTC
Created attachment 1650712 [details]
Playbook with pipelining disabled

Comment 2 Denis Volkov 2020-01-08 13:35:18 UTC
Created attachment 1650713 [details]
Playbook with pipelining enabled

Comment 3 jstephen 2020-01-13 15:03:07 UTC
Thank you for reporting this issue, I am looking into it.

Comment 4 Sasan Vaezi 2020-02-11 12:42:13 UTC
Hi  

Customer is requesting information. 

What release is this plan to, do we have any update on target date (some idea when)?


Thanks

Regards
Sasan

Comment 5 jstephen 2020-02-11 14:18:23 UTC
Hello,

This is not fixed upstream yet but I am planning to work on it after finishing some other development tasks, I expect the fix will be available in the RHEL 8.3 release. I will update on the progress of this BZ when I have some new details to share. Thank you for your patience.

Comment 15 errata-xmlrpc 2020-11-04 03:27:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (tlog bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4739


Note You need to log in before you can comment on or make changes to this bug.