Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Ansible in pipeline mode fails with tlog enabled
Product: Red Hat Enterprise Linux 8 Reporter: Denis Volkov <dvolkov>
Component: tlogAssignee: jstephen
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: jstephen, nikolai.kondrashov, omoris, pkettman, sssd-qe, svaezi, tscherf
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:27:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Playbook with pipelining disabled
none
Playbook with pipelining enabled none

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