Bug 1987205

Summary: Running ansible jobs does not give live output
Product: Red Hat Satellite Reporter: Adam Ruzicka <aruzicka>
Component: Tasks PluginAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: aruzicka, ktordeur, osousa, pcreech, saydas
Target Milestone: 6.10.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman-tasks-core-0.3.6, tfm-rubygem-foreman_ansible_core-4.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:12:53 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:

Description Adam Ruzicka 2021-07-29 08:30:21 UTC
Description of problem:
SSIA

Version-Release number of selected component (if applicable):
Satellite 6.10 snap 10
tfm-rubygem-foreman-tasks >= 4.1.0
tfm-rubygem-foreman-tasks-core <= 0.3.5

How reproducible:
Always

Steps to Reproduce:
1. Run an ansible job
2. Look at output for a single host

Actual results:
There will be nothing shown until the job finishes.

Expected results:
The output appears as the job runs


Additional info:
This is already fixed in upstream, it was just missed when doing a release.

Comment 1 Peter Ondrejka 2021-08-16 13:17:13 UTC
Checked on Satellite 6.10 snap 13, still seeing the described behavior -- no output until job finishes.

tfm-rubygem-foreman-tasks-4.1.3-1.el7sat.noarch
tfm-rubygem-foreman-tasks-core-0.3.6-1.el7sat.noarch

Comment 2 Adam Ruzicka 2021-08-16 13:56:02 UTC
Created redmine issue https://projects.theforeman.org/issues/33263 from this bug

Comment 3 Adam Ruzicka 2021-08-20 07:24:05 UTC
*** Bug 1995707 has been marked as a duplicate of this bug. ***

Comment 4 Peter Ondrejka 2021-09-29 12:19:23 UTC
Verified on Satellite 6.10 sn 20

Comment 7 errata-xmlrpc 2021-11-16 14:12:53 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 (Moderate: Satellite 6.10 Release), 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/RHSA-2021:4702