Bug 487234

Summary: nvra, wrong arch type packages showing up in package upgrade list.. ie. amd64 in an x86 box
Product: Red Hat Satellite 5 Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Steve Salevan <ssalevan>
Severity: medium Docs Contact:
Priority: high    
Version: 530CC: bperkins, cperry, jason.dobies, jbrownin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://grandprix.rhndev.redhat.com/rhn/systems/details/packages/InstallPackages.do?sid=1000010327
Whiteboard:
Fixed In Version: sat530 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 18:44:37 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:    
Bug Blocks: 471789    

Description Justin Sherrill 2009-02-24 22:02:04 UTC
Register a 32bit box, but have x86 & x86_64 synced.

Go to system-> software -> upgrade

Shows 32bit & 64bit packages, should only show 32bit.

Comment 1 Brad Buckingham 2009-03-02 18:56:26 UTC
git commit: d45b3ea4038e209394dd972e8e8036d2cdcbc2c2

The query to display the packages that are available for upgrade for a system
was recently updated to support inclusion of package arch; however, the query
had an error in it that caused the result set to be far larger than expected.

For example, on an i386 system that had 116 possible packages to be upgraded
it was returning 1594 packages.  Of those, it would repeat the same package
several times (e.g. libjpeg.i386, libjpeg.i386...) as well as list packages
that did not apply for the arch of the system (e.g. libjpeg.x86_64).

Comment 2 Steve Salevan 2009-04-08 19:59:45 UTC
It appears that 64bit packages no longer appear in the package upgrade selection box for x86 machines but do for 64bit machines.  Thus, I think that we're in good shape on this bug, and I'm moving it to VERIFIED, tested on 530-re20090403.2.

Comment 3 Justin Sherrill 2009-04-14 19:50:39 UTC
I'm modifying the query that this page uses and so it needs to be sent back through QA.  Moving to modified.

Comment 4 Brad Buckingham 2009-04-15 18:32:00 UTC
Fix included in: Satellite-5.3.0-*-re20090414.0-*.iso

Comment 5 Steve Salevan 2009-04-17 17:35:26 UTC
With the new query, 64bit packages do not appear for x86 machines, but do for x86_64 machines.  Moving to VERIFIED.

Comment 6 Brandon Perkins 2009-08-07 20:21:35 UTC
Release Pending.  i386 & x86_64 show up on x86_64 boxes upgrade list, whereas only i386 show up on i386 boxes upgrade list.

Comment 7 Brandon Perkins 2009-09-10 18:44:37 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/RHEA-2009-1434.html