Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 531645

Summary: Systems group falsely shows systems up-to-date when there're errata
Product: Red Hat Satellite 5 Reporter: Xixi <xdmoon>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: urgent    
Version: 530CC: clasohm, cperry, mkoci, mmraka, psklenar, riaanvn, tao, tscherf, xdmoon
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 525575 Environment:
Last Closed: 2009-11-20 15:37:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 525575    
Bug Blocks: 518256    
Attachments:
Description Flags
proposed patch none

Comment 1 Xixi 2009-10-29 00:30:13 UTC
Description of problem:  When viewing a system group's overview, it will show the group as being up-to-date.  However, reviewing the systems held within that group show it as not being the case.

How reproducible: 100%

Steps to Reproduce:
1.  Create a system group
2.  Add a system that requires updates
3.  View the SystemGroupList.do list page:
https://<fqdn>/rhn/systems/SystemGroupList.do

Actual results:  The little check icon for 'ok' is listed under the "Updates" column

Expected results:  It should have a Warning or Critical icon.

Additional info:  Customer believes this started occurring after applying errata RHBA-2009:1496-1

Comment 3 Xixi 2009-10-29 00:37:42 UTC
If I read this correctly, this seems to have been caused by a typo in the fix that accidentally ended up hard-coding the system_group_id ("sgm.server_group_id = 5")... Patch attached - I've tried it on the reproducer and so far it seems okay.

Comment 4 Xixi 2009-10-29 00:38:37 UTC
Created attachment 366523 [details]
proposed patch

Comment 5 Justin Sherrill 2009-11-03 18:13:08 UTC
patch applied in spacewalk master: b0b4c2d7e0a0bf55c50d996a35f05d4f6703d0c3

Comment 9 Garik Khachikyan 2009-11-19 08:52:56 UTC
#VERIFIED
Checked the fix with packages:
spacewalk-java-0.5.44-50.el[4,5]sat
spacewalk-java-lib-0.5.44-50.el[4,5]sat
spacewalk-java-config-0.5.44-50.el[4,5]sat
spacewalk-taskomatic-0.5.44-50.el[4,5]sat
spacewalk-moon-0.5.23-29.el[4,5]sat
spacewalk-grail-0.5.23-29.el[4,5]sat
spacewalk-base-minimal-0.5.23-29.el[4,5]sat
spacewalk-cypress-0.5.23-29.el[4,5]sat
spacewalk-html-0.5.23-29.el[4,5]sat
spacewalk-base-0.5.23-29.el[4,5]sat
spacewalk-sniglets-0.5.23-29.el[4,5]sat
spacewalk-pxt-0.5.23-29.el[4,5]sat

Checked against satellite installed with rhel5 and rhel4 (platform: i386).

Now when systems applied to system group which has errata there, the icon of system group gets changed.

Comment 11 errata-xmlrpc 2009-11-20 15:37:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1597.html