Bug 1995729 - Tasks tab in content host profile of a system is always blank
Summary: Tasks tab in content host profile of a system is always blank
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.10.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.10.0
Assignee: Jonathon Turel
QA Contact: Jaroslav Henner
URL:
Whiteboard:
: 1996656 1996789 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-19 17:40 UTC by rakesh kumar
Modified: 2021-11-16 14:13 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-foreman-tasks-4.1.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33338 0 None None None 2021-08-24 19:48:58 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:30 UTC

Description rakesh kumar 2021-08-19 17:40:08 UTC
Description of problem:

The tasks tab in the content host profile of a system is always blank, tried installing a package on the content host, changed content view, release version, running a remote job.


Version-Release number of selected component (if applicable):
6.10


How reproducible:
Always

Steps to Reproduce:
1. Go to Hosts -> Content Hosts -> Click on the system profile
2. Installed a few errata's, installed few packages, change content view, release the version.
3. Check the 'Tasks' tab in the content host profile of the system.

Actual results: It's always blank, no tasks is being captured in the 'Tasks' tab on the profile


Expected results: It should list all the tasks being performed on the system.


Additional info:

Comment 1 Jonathon Turel 2021-08-24 15:21:39 UTC
Thanks for filing this. It definitely appears to be a bug and I checked a 6.8 box and see issue there as well, so this is not a regression in Satellite 6.10

Comment 2 Jonathon Turel 2021-08-24 19:46:59 UTC
I was curious what the root cause was and found that the fix is actually a breakage in the foreman-tasks API. Opening a PR

Comment 3 Jonathon Turel 2021-08-24 19:48:57 UTC
Created redmine issue https://projects.theforeman.org/issues/33338 from this bug

Comment 4 Bryan Kearney 2021-08-24 20:05:46 UTC
Upstream bug assigned to jturel

Comment 5 Bryan Kearney 2021-08-24 20:05:49 UTC
Upstream bug assigned to jturel

Comment 6 Maria 2021-08-26 10:05:50 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33338 has been resolved.

Comment 7 Ashish Humbe 2021-08-30 11:36:53 UTC
*** Bug 1996789 has been marked as a duplicate of this bug. ***

Comment 8 Ashish Humbe 2021-08-30 11:38:41 UTC
*** Bug 1996656 has been marked as a duplicate of this bug. ***

Comment 9 Ashish Humbe 2021-08-30 12:07:12 UTC
Other reference bugs where a similar issue was reported on Tasks page

Product -> Tasks page: https://bugzilla.redhat.com/show_bug.cgi?id=1996656
Content -> Content Views -> Tasks page: https://bugzilla.redhat.com/show_bug.cgi?id=1996789 

Sharing here for reference so we can verify them during testing.

Comment 10 Brad Buckingham 2021-08-30 12:27:12 UTC
Hi Jonathon,

Can you confirm if the fix provided will also solve the issue for the pages referenced in comment 9? 

Thanks!

Comment 11 Jonathon Turel 2021-08-30 13:40:44 UTC
Both of those are addressed by the fix provided in this BZ!

Comment 12 Jaroslav Henner 2021-10-11 10:36:38 UTC
Checked on 6.10.0 snap 18 - there I could reporoduce and on snap 21 I couldn't. The tasks got displayed. VERIFIED

Comment 15 errata-xmlrpc 2021-11-16 14:13:24 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


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