Bug 497925 - Bare metal provisioning through proxy doesn't work
Summary: Bare metal provisioning through proxy doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 530
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Mike McCune
QA Contact: Miroslav Suchý
URL:
Whiteboard:
Depends On:
Blocks: 457075
TreeView+ depends on / blocked
 
Reported: 2009-04-27 21:23 UTC by Justin Sherrill
Modified: 2009-09-10 19:25 UTC (History)
3 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 19:25:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.