Bug 125600

Summary: i386 kickstart profile attempts to get ia64 up2date
Product: Red Hat Satellite 5 Reporter: Patrick C. F. Ernzer <pcfe>
Component: ServerAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED WORKSFORME QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: marcus.brand, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 5.1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-25 17:58:59 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: 145467, 454471    

Description Patrick C. F. Ernzer 2004-06-09 08:42:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
The RHN Satellite 3.2.0 (build 12) I have just installed seems to not
correctly determine which up2date it needs to get in %post.

look here:
[...]
wget -P /tmp/rhn_rpms/optional http://<URL
shortened>/0/0/redhat/NULL/pyOpenSSL/0.5.1-8/i386/pyOpenSSL-0.5.1-8.i386.rpm
http://<URL
shortened>/0/0/redhat/NULL/rhnlib/1.3-12/noarch/rhnlib-1.3-12.noarch.rpm
wget -P /tmp/rhn_rpms http://<URL
shortened>/0/0/redhat/NULL/up2date/4.2.16-1/ia64/up2date-4.2.16-1.ia64.rpm
http://<URL
shortened>/0/0/redhat/NULL/up2date-gnome/4.2.16-1/ia64/up2date-gnome-4.2.16-1.ia64.rpm
[...]

The i386 rpm is there though, look:
[root@q4dehicnss0d000 up2date]# cd /var/satellite/redhat/NULL/up2date
[root@q4dehicnss0d000 up2date]# ls -1
4.0.1-1
4.2.14-1
4.2.16-1
4.2.5-1
[root@q4dehicnss0d000 up2date]# cd 4.2.16-1
[root@q4dehicnss0d000 4.2.16-1]# ls -1
i386
ia64
[root@q4dehicnss0d000 4.2.16-1]# ls -R1 *
i386:
up2date-4.2.16-1.i386.rpm
 
ia64:
up2date-4.2.16-1.ia64.rpm


Version-Release number of selected component (if applicable):
rhn-satellite-3.2.0-12-redhat-linux-as-i386-2.1-embedded-oracle.iso

Comment 1 Mihai Ibanescu 2004-06-09 15:31:28 UTC
I am confused. Where is up2date run? On the satellite machine or on
another machine? And which %post section are you talking about?

Comment 2 Patrick C. F. Ernzer 2004-06-09 17:16:02 UTC
Oh, sorry Mihai, that report was indeed way too short.

the section with the wget is from the kickstart file that the
Satellite generated through the Kickstart interface we provide. That
kickstart had rhel-3-as-i386-u1 set as distribution. But, as visible
above, the kickstart tool put in lines that would download ia64 rpms.

up2date is run nowhere, it is the ia64 up2date rpm that is downloaded
on an i386 machine. All this happens in the %post section of teh
kickstart file that opur Satellite generated.

Comment 3 Mihai Ibanescu 2004-06-10 15:13:38 UTC
Gotcha. Reassigning.

Comment 4 Robin Norwood 2005-10-01 02:43:37 UTC
I don't know if this is still a problem or not.

Comment 5 Robin Norwood 2006-10-17 16:10:16 UTC
mass reassign to mmccune

Comment 7 Devan Goodwin 2008-07-25 17:58:59 UTC
Did several tests with ia64 and i386 channels synced on the satellites, appears
this is no longer happening. Even switching back and forth between arches, the
packages always seem to be fetched from the correct location.