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

Bug 497925

Summary: Bare metal provisioning through proxy doesn't work
Product: Red Hat Satellite 5 Reporter: Justin Sherrill <jsherril>
Component: ProvisioningAssignee: Mike McCune <mmccune>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Suchý <msuchy>
Severity: medium Docs Contact:
Priority: high    
Version: 530CC: cperry, msuchy, skarmark
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat530 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 19:25:25 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: 457075    

Description Justin Sherrill 2009-04-27 21:23:55 UTC
In satellite 5.2 in prior you could bare metal kickstart a machine through a proxy by simply replacing the hostname in a kickstart URL with the hostname of the proxy.

In satellite 5.3 you cannot do this.  Even if you hack it to proxy the kickstart file,  none of the URLs within the kickstart file ( distro url, registration url) are modified to go through the proxy.

Comment 1 Mike McCune 2009-04-27 21:32:01 UTC
moving to sat530-ks, gotta make sure this works.

Comment 2 Mike McCune 2009-04-29 01:53:32 UTC
we search-replace the cobbler host in the KS file. 

Simple way to test is to hit the baremetal URL:

Satellite:

 http://somesat.rhndev.redhat.com/ks/cfg/org/1/label/mmccune-rhel5-i386

Proxy:

 http://someproxy.rhndev.redhat.com/ks/cfg/org/1/label/mmccune-rhel5-i386

you should not see any instances of somesat.rhndev.redhat.com if you download that kickstart file through the proxy.

Comment 3 Mike McCune 2009-05-20 17:29:10 UTC
ON_QA

Comment 4 Miroslav Suchý 2009-07-02 15:04:31 UTC
VERIFIED.
all url are replaced.
I tried to do KS and it indeed use proxy. In the middle I had to stop due to bug in vmware so I did not finish whole KS, but it seems unnecessary.

Comment 5 Sayli Karmarkar 2009-08-20 22:52:54 UTC
I kickstarted a xen guest using a bare metal kickstart profile through proxy. Guest was kickstarted without any issues. 
 
Moving to release_pending.

Comment 6 Brandon Perkins 2009-09-10 19:25:25 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