Bug 198293

Summary: Kickstart thru proxy with satellite still uses satellite host in url
Product: Red Hat Satellite 5 Reporter: Matthew Davis <mdavis>
Component: ProvisioningAssignee: Mike McCune <mmccune>
Status: CLOSED CURRENTRELEASE QA Contact: Beth Nackashi <bnackash>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn410 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-19 20:14:00 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: 174413    

Description Matthew Davis 2006-07-10 21:01:08 UTC
Description of problem:
When a client is kickstarted thru a proxy, the url value in the kickstart should
be populated with http://<proxy>/ty/blah.  This makes the client fetch all
packages directly from the satellite instead of thru the proxy.


Version-Release number of selected component (if applicable):
rhn-satellite-4.1.0-126 with -769 upgraded java & taskomatic

How reproducible:
Everytime

Steps to Reproduce:
1. Setup a proxy on a satellite
2. Create a kickstart profile
3. Access the kickstart profile through the proxy
(http://proxyhost/kickstart/ks/label/profile)
  
Actual results:
url has http://<satelllite_host>/ty/blah

Expected results:
url should have http://<proxy_host>/ty/blah

Comment 1 Mike McCune 2006-07-10 21:41:13 UTC
working on this now, will hopefully have a fix in the next couple hours.

Comment 2 Mike McCune 2006-07-11 03:24:34 UTC
TEST PLAN:

See above :-)

Comment 3 Mike McCune 2006-07-11 04:57:13 UTC
available in:

rhn-satellite-4.1.0-132-redhat-linux-as-i386-4.iso  

and on webqa, but you need to test this one on a satellite since we dont host
kickstart trees in hosted.

Comment 6 Beth Nackashi 2006-07-12 04:55:38 UTC
fails_qa -- the URL says:

http://rlx-3-04.rhndev.redhat.com/rhn/kickstart/ks-rhel-i386-as-4-u3


rlx-3-04.rhndev.redhat.com is the satellite
test07.rhndev.redhat.com is the proxy

Comment 7 Beth Nackashi 2006-07-12 04:57:25 UTC
rhn-satellite-4.1.0-133-redhat-linux-as-i386-4-embedded-oracle.iso

Comment 9 Mike McCune 2006-07-12 08:00:36 UTC
Tested this on rlx-3-04 (that has patched jar file).  The file it used had the
following url:

url --url http://test07.rhndev.redhat.com/ty/ytolIAXl

you will want to update your rpms to the latest on this sat to re-test for real.



Comment 11 Beth Nackashi 2006-07-12 13:53:56 UTC
Java packages are at:

4.1.0-776 

Comment 12 Matthew Davis 2006-07-12 14:15:00 UTC
Verified with 4.1.0-776.

Comment 13 Beth Nackashi 2006-07-19 20:14:00 UTC
moving to closed - currentrelease