Bug 1824931

Summary: After upgrading to Satellite 6.7 the Tasks page in WebUI goes "Blank"
Product: Red Hat Satellite Reporter: Ashish Humbe <ahumbe>
Component: Tasks PluginAssignee: Maria <magaphon>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: high    
Version: 6.7.0CC: ahumbe, aruzicka, avroy, bkearney, dgross, dhjoshi, egolov, gsigrisi, kupadhya, mvanderw, pdwyer, rankumar, rbertolj, roarora, smajumda, wclark, wpinheir
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman-tasks-1.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1832589 (view as bug list) Environment:
Last Closed: 2020-10-27 13:01:20 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
tfm-rubygem-foreman-tasks hotfix RPM for Satellite 6.7.0
none
Post HOTFIX
none
UPDATED hotfix RPM
none
FURTHER UPDATED Hotfix RPM none

Description Ashish Humbe 2020-04-16 17:02:40 UTC
Created attachment 1679448 [details]
satellite_tasks_loading.png

Description of problem:
After upgrading our environment to Satellite 6.7 the tasks page in WebUI is blank.
Screen looks like in screenshot "satellite_tasks_loading.png" for 5 seconds, then changes to an empty page (screenshot satellite_tasks_empty.png).

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

How reproducible:
Always at customers end

Steps to Reproduce:
1. Upgrade satellite from 6.6 -> 6.7
2.
3.

Actual results:
Unable to see tasks on Satellite WebUI after upgrade to Sat6.7.

Comment 5 Adam Ruzicka 2020-04-24 11:03:42 UTC
*** Bug 1827610 has been marked as a duplicate of this bug. ***

Comment 7 wclark 2020-04-28 21:10:52 UTC
Created attachment 1682632 [details]
tfm-rubygem-foreman-tasks hotfix RPM for Satellite 6.7.0

This hotfix also includes https://bugzilla.redhat.com/show_bug.cgi?id=1817728

Comment 8 wclark 2020-04-28 21:13:27 UTC
HOTFIX is available for Satellite 6.7.0

INSTALLATION INSTRUCTIONS:

1. Make a complete backup or snapshot of Satellite server

2. Download the attached file tfm-rubygem-foreman-tasks-0.17.5.2-3.HOTFIXRHBZ1817728RHBZ1824931.el7sat.noarch.rpm and copy it to Satellite server

3. # yum install ./tfm-rubygem-foreman-tasks-0.17.5.2-3.HOTFIXRHBZ1817728RHBZ1824931.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # systemctl restart dynflowd httpd

This hotfix also includes https://bugzilla.redhat.com/show_bug.cgi?id=1817728

Comment 9 Gianfranco Sigrisi 2020-04-29 08:33:11 UTC
Created attachment 1682760 [details]
Post HOTFIX

Comment 10 Gianfranco Sigrisi 2020-04-29 08:33:44 UTC
Issue still persists after applying the HOTFIX.

Comment 13 wclark 2020-06-01 16:24:44 UTC
Created attachment 1694146 [details]
UPDATED hotfix RPM

An issue was discovered with the previous hotfix. The updated version is available:

INSTALLATION INSTRUCTIONS:

1. Make a complete backup or snapshot of Satellite server

2. Download the attached file tfm-rubygem-foreman-tasks-0.17.5.2-4.HOTFIXRHBZ1817728.el7sat.noarch.rpm and copy it to Satellite server

3. # yum install ./tfm-rubygem-foreman-tasks-0.17.5.2-4.HOTFIXRHBZ1817728.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # systemctl restart dynflowd httpd

Comment 14 Gianfranco Sigrisi 2020-06-02 16:15:07 UTC
Applied the latest HOTFIX on the same Satellite where I installed the previous HOTFIX.  

The UI - Tasks is now working. Great work!

Comment 15 wclark 2020-06-03 16:55:37 UTC
Created attachment 1694861 [details]
FURTHER UPDATED Hotfix RPM

IMPORTANT UPDATE:

The previously provided Hotfix RPM included a Work In Progress Fix for BZ1817728 "Default task polling is too frequent at scale", which has some significant differences from the final merged version of the fix. Ordinarily, Satellite Engineering does not ship code that has not yet been in merged upstream, but after testing, an exception was made in this case to deliver an immediate fix to our customers. The fix has since undergone further revisions, so this Hotfix has been rebuilt to match the final merged version.

Please find attached the latest update to the Hotfix, as well as installation instructions for cases where the Hotfix is installed for the first time, or updating the previous Hotfix version.

INSTALLATION INSTRUCTIONS [FRESH INSTALL OF HOTFIX]:

1. Make a complete backup or snapshot of Satellite server

2. Download the attached file tfm-rubygem-foreman-tasks-0.17.5.2-5.HOTFIXRHBZ1817728.el7sat.noarch.rpm and copy it to Satellite server

3. # yum install ./tfm-rubygem-foreman-tasks-0.17.5.2-5.HOTFIXRHBZ1817728.el7sat.noarch.rpm --disableplugin=foreman-protector

4. # systemctl restart dynflowd httpd

INSTALLATION INSTRUCTIONS [UPDATING ANY EARLIER HOTFIX VERSION]

Steps 1-4, the same as above, and additionally

5. # echo "Setting.where(name: 'foreman_tasks_polling_intervals').delete_all" | foreman-rake console

Comment 16 Peter Ondrejka 2020-07-17 11:48:13 UTC
Verified on Satellite 6.8 snap 9, using automation machine upgraded from 6.7. The tasks page works as expected

Comment 19 errata-xmlrpc 2020-10-27 13:01:20 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 (Important: Satellite 6.8 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-2020:4366