Bug 530446

Summary: x86_64 channel using .i386 and .noarch packages from i386 channel
Product: [Community] Spacewalk Reporter: David Crim <david.crim>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.6   
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: 2010-03-18 15:35:03 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: 559281    

Description David Crim 2009-10-22 20:30:02 UTC
Description of problem:
When loading a i386 channel and an x86_64 channel of the same distribution, the .noarch and .i386 packages in the x86_64 channel end up pointing to the packages from the i386 channel.

Version-Release number of selected component (if applicable):
spacewalk-0.6.4-1.el5

How reproducible:
always

Steps to Reproduce:
1. Load a channel for CentOS 5.3 for i386
2. Load a channel for CentOS 5.3 for x86_64

  
Actual results:

The md5sum of the .i386 and .noarch packages served and shown in the web GUI for the x86_64 channel are that of the i386 distribution. The correct packages are in the /var/satellite tree but aren't used.

Expected results:

The md5sum of the .i386 and .noarch packages served and shown in the web GUI for the x86_64 channel are that of the x86_64 distribution.

Additional info:

Comment 1 Michael Mráka 2010-03-18 15:34:13 UTC
AFAIK i386 and noarch packages from x86_64 repo of Centos distributions *are* exactly the same as from i386 repo.

x86_64:
# wget http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/agg-2.4-2.1.x86_64.rpm
...
2010-03-18 16:29:08 (250 KB/s) - `agg-2.4-2.1.x86_64.rpm' saved [140480/140480]
# wget http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/agg-2.4-2.1.i386.rpm
...
2010-03-18 16:29:50 (255 KB/s) - `agg-2.4-2.1.i386.rpm' saved [142748/142748]
# wget http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/alacarte-0.10.0-1.fc6.noarch.rpm
...
2010-03-18 16:30:26 (177 KB/s) - `alacarte-0.10.0-1.fc6.noarch.rpm' saved [146319/146319]

i386:
# wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/agg-2.4-2.1.i386.rpm
...
2010-03-18 16:32:17 (174 KB/s) - `agg-2.4-2.1.i386.rpm.1' saved [142748/142748]
# wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/alacarte-0.10.0-1.fc6.noarch.rpm
...
2010-03-18 16:31:41 (163 KB/s) - `alacarte-0.10.0-1.fc6.noarch.rpm.1' saved [146319/146319]

compare:
# md5sum agg* ala*
a6f2fcdf73011b6e1f5e3db8e1705b89  agg-2.4-2.1.i386.rpm
a6f2fcdf73011b6e1f5e3db8e1705b89  agg-2.4-2.1.i386.rpm.1
cd0b926fa5cc2aed3d92111ef14e4a84  agg-2.4-2.1.x86_64.rpm
29450ddb14c5de1ff6e280e0d2a4f797  alacarte-0.10.0-1.fc6.noarch.rpm
29450ddb14c5de1ff6e280e0d2a4f797  alacarte-0.10.0-1.fc6.noarch.rpm.1


So this an expected behavior.

Comment 2 Michael Mráka 2010-03-18 15:35:03 UTC
Fell free to reopen the bug if there is any outstanding issue.