Bug 126523

Summary: satellite-sync does not fully sync x86_64 channels
Product: Red Hat Satellite 5 Reporter: Todd Warner <taw>
Component: ServerAssignee: Todd Warner <taw>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-23 20:51:33 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: 126580, 127198    
Bug Blocks: 113026    

Description Todd Warner 2004-06-22 20:00:19 UTC
For example, if you...
satellite-sync -c rhel-x86_64-as-3

All packages without an arch of x86_64 are synced just fine (roughly
404 RPMs and 298 packages).

1300+ packages with the x86_64 arch are not synced.

Comment 1 Todd Warner 2004-06-22 20:14:34 UTC
Fix pending.

We changed the "name" of the arch from AMD64 to x86_64. We relied on
this in the sync code. We should rely on the "label" which is unchanging.

Oi. So... the fix is in. I am testing it. Then we have to build
packages and shove it off to QA.

Yee haa.

Comment 2 Todd Warner 2004-06-23 15:12:11 UTC
NOTE: those number really have only a remedial relationship to the
actual number of things displayed. I.e., the number displayed on the
RHN Satellite indicate all *current* packages, not all possible
package (i.e., older ones).

In the end, the number of packages for that channel on the RHN
Satellite needs to match the number of packages on the hosted site.

Which now it does... but I need to get QA to bless my fix.

Comment 3 Todd Warner 2004-06-23 15:15:26 UTC
TEST PLAN (probably takes 4 hours plus):
----------------------------------------
o install 3.2 RHN Satellite without allowing the up2date -uf to finish 
  at the end.
o ensure the new RHN Satellite packages are in the RHN Satellite 
  channel.
o satellite-sync -c rhel-x86_64-as-3
o Note erronous number of packages in the channel.
o up2date -uf on the RHN Satellite
o satellite-sync
o Note corrected number of packages on the RHN Satellite for that 
  channel.


Comment 4 Matt Jamison 2004-06-23 20:51:33 UTC
I bless it.