Bug 1475067 - Icons under Updates section in System Set Manager not displayed
Icons under Updates section in System Set Manager not displayed
Status: CLOSED ERRATA
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI (Show other bugs)
580
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Grant Gainey
Lukáš Hellebrandt
: Regression
: 1483877 (view as bug list)
Depends On:
Blocks: sat58-errata
  Show dependency treegraph
 
Reported: 2017-07-25 20:58 EDT by Ricardo Santamaria
Modified: 2017-09-06 08:27 EDT (History)
3 users (show)

See Also:
Fixed In Version: spacewalk-java-2.5.14-93-sat
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-09-06 08:27:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ricardo Santamaria 2017-07-25 20:58:10 EDT
Description of problem:

Icons under Updates section in System Set Manager not displayed

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

Satellite 5.8.0.31-1.el6sat
RHEL 6.9

Steps to Reproduce:
 > "Manage" button
   > "Systems" tab

Actual results:
When using SSM to manage group of systems in Satellite 5.8 the updates column is empty. 

Expected results:
Like Satellite 5.6 and 5.7 expect the systems to show the icon under updates  column. 

Additional info:
When looking at a group with SSM icons appears:
  > "Systems" tab
    > "Systems Groups" 
      > Select system group
        > Select "Systems" tab of list systems
Comment 2 Grant Gainey 2017-07-28 16:33:23 EDT
spacewalk.github:
b1098d9f6878875b57ff8ce3ede4224c206a2ffc
Comment 5 Lukáš Hellebrandt 2017-08-17 08:16:53 EDT
Verified with spacewalk-java-2.5.14-91.

The Updates column now indeed shows an icon indicating the update status. Also, group view of systems has not been broken by the fix.
Comment 7 Grant Gainey 2017-08-22 07:54:40 EDT
Looks like this is a problem in more than one place:

===
Ales Dujicek 2017-08-22 03:54:52 EDT
Description of problem:

similar to bz1475067

Updates icons are not displayed on page
/rhn/systems/ssm/ErrataSystemsAffected.do?eid=16


How reproducible:
always

Steps to Reproduce:
1. SSM -> Errata tab -> click on number in column 'Affected'
2. empty column 'Updates'
===

Reopening this BZ to fix other SSM page(s), closing the new BZ as a dup
Comment 8 Grant Gainey 2017-08-22 07:55:11 EDT
*** Bug 1483877 has been marked as a duplicate of this bug. ***
Comment 9 Grant Gainey 2017-08-23 13:42:18 EDT
Root cause here is not the individual pages, but a change to SystemIconDecorator that happened as part of spacewalk 74ebda70d15ece4a721ce22184cf592eb104eea0

Fixing by reverting the previous commit, and fixing the actual base problem.

spacewalk.github:
4843972a168a0b5ff7c7be6c7c36263146f013a5
Comment 12 Lukáš Hellebrandt 2017-08-24 08:39:46 EDT
Verified with spacewalk-java-2.5.14-94.el6sat.

Fixed both on /rhn/systems/ssm/ListSystems.do and on /rhn/systems/ssm/ErrataSystemsAffected.do?eid=<ERRATA_ID>, the status icons are now displayed correctly.

Also checked this doesn't break functionality from commit 74ebda70d15ece4a721ce22184cf592eb104eea0 which introduced this bug; page /rhn/systems/VirtualList.do seems fine, there are no tracebacks, even in case of "placeholder" system like "Host: (Unknown Host)" - this is thanks to commit 3c374f149e079370537e5f514ef9b93746640de7 which fixed the page for this case.
Comment 14 errata-xmlrpc 2017-09-06 08:27:53 EDT
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, 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-2017:2645

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