Bug 165818

Summary: kickstart: advanced options contain wrong URL
Product: Red Hat Satellite 5 Reporter: Patrick C. F. Ernzer <pcfe>
Component: ServerAssignee: Kevin A. Smith <ksmith>
Status: CLOSED DUPLICATE QA Contact: Beth Nackashi <bnackash>
Severity: medium Docs Contact:
Priority: medium    
Version: 400CC: rhn-bugs, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: rhn405 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-23 18:15:24 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    
Attachments:
Description Flags
Default Download Location for ia64 none

Description Patrick C. F. Ernzer 2005-08-12 15:29:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040816

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. create a kickstart file with distribution set to rhel4 i386 as U1
2. go to options, advanced options.
3. look at the url line
  

Actual Results:  --url http://ohsumi.ntc.nokia.com/kickstart/dist/ks-rhel-i386-as-3/

Expected Results:  --url http://MYSAT/kickstart/dist/ks-rhel-i386-as-4/
or
--url http://MYSAT/kickstart/dist/ks-rhel-i386-as-u-u1/
or
--url http://MYSAT/ty/nLQJpr_k

Additional info:

when viewing the kickstart file, one sees:
url --url http://MYSAT/ty/nLQJpr_k
and it installs just as expected (redhat-release-4AS-2.4)

so this is a cosmetic bug.

Comment 1 Robin Norwood 2005-10-10 13:48:25 UTC
Fixed in SVN.

Test plan:

* Note that this change only affects newly created kickstart profiles - existing
kickstart profiles will continue to show the issue.

1) Follow the instructions in the original comment. (satellite only)
 - Expect the part of the URL after 'dist' to match the dist label.
2) Also test a few different externally hosted distributions.
3) Remember that the code in this area is slightly different for ia64 systems -
test those specifically.


Comment 2 Robin Norwood 2005-11-09 20:57:08 UTC
*** Bug 172743 has been marked as a duplicate of this bug. ***

Comment 3 Todd Warner 2005-11-18 20:07:26 UTC
Move bugs from Vlad's plate to Fanny's plate (QA contact)

Comment 4 Fanny Augustin 2005-12-07 21:31:34 UTC
Looks good on QA

Comment 5 Todd Warner 2006-01-25 05:46:41 UTC
Released.

Comment 7 David Lehman 2006-03-28 17:01:26 UTC
Adding a new Issue Tracker ticket against 370. Also adding to 410-triage since
the fix doesn't appear to have ever been released in 405.

Comment 8 David Lehman 2006-03-28 19:05:10 UTC
Created bug 187136 for tracking against rhn370.

Comment 9 Robin Norwood 2006-03-29 03:22:20 UTC
Not sure how this could have passed QA, but still be broken.  blocking
rhn410-triage so we take another look at it.

Comment 10 Mike McCune 2006-05-02 14:23:52 UTC
Kevin,
Can you take a look to see if the new java code version has the above issue?

Comment 11 Kevin A. Smith 2006-05-03 18:29:20 UTC
As I understand this bug, the core problem is that the url does not reflect the
actual selection made by the user.

So, assuming that is the case, I have confirmed that the Java port does not
contain this bug. Moving this QA for confirmation.

Testing Suggestions:

1) Create a kickstart profile. Note which tree you select.

2) View the advanced options page for that profile

3) Confirm that the --url option ends in the name of selected tree.

Comment 12 Beth Nackashi 2006-05-23 13:33:47 UTC
Retested on satellite -76 for i386 and ia64.  The actual bug is fixed on both
architectures.

However, when creating the ia64 kickstart profile, something weird happens.  The
Default Download Location should just say
"http://fjs-0-06.rhndev.redhat.com/rhn/kickstart/ks-rhel-ia65-as-4", but instead
it says
"http://fjs-0-06.rhndev.redhat.com/http://ohsumi.ntc.nokia.com/kickstart/dist/RHEL-4/U1/AS/ia64/tree/".

The same problem does not occur when creating an i386 profile.  See attached
screenshot.

Comment 13 Beth Nackashi 2006-05-23 13:34:43 UTC
Created attachment 129859 [details]
Default Download Location for ia64

Comment 14 Kevin A. Smith 2006-05-23 18:15:24 UTC

*** This bug has been marked as a duplicate of 191241 ***

Comment 15 Kevin A. Smith 2006-05-23 18:19:21 UTC
I am not able to reproduce this with the code used in today's QA push. Marking
this as a dupe of 191241 which should hit QA after the push is complete.