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

Bug 134818

Summary: long URLs break kickstart functionality
Product: Red Hat Satellite 5 Reporter: Max Spevack <mspevack>
Component: ProvisioningAssignee: Robin Norwood <robin.norwood>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-22 17:33:44 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: 127673    

Description Max Spevack 2004-10-06 14:57:00 UTC
Description of problem:
In a very exciting moment, it has been theorized that sufficiently
long hostnames, when combined with the length of the session URIs
created/accessed by anaconda during a kickstart, can create a URL of
greater length than anaconda can gracefully handle.

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

How reproducible:
Always

Steps to Reproduce:
1.  Use a machine with a fairly long hostname, such as
test01.x86_64.rhndev.redhat.com
2.  Set up a few different kickstarts, including a rhel-3-as-i386-u3
and a rhel-3-desktop-x86_64-u3
3.  The desktop kickstart should break in anaconda with a "failure to
retrieve URL" message.
4.  However, if you then create an alias of x.rhndev.redhat.com, thus
shortening the hostname, the kickstart will work!

See mspevack for more details.

Actual results:


Expected results:


Additional info:
This bug was discovered during the testing of bug #131094

Comment 1 Bret McMillan 2004-10-08 23:11:56 UTC
bumping up priority

Comment 2 Robin Norwood 2004-10-13 17:59:20 UTC
Ok - fix is in CVS.  Test plan:

Test both RHN-hosted kickstarts (on satellite), and externally hosted
kickstarts (both on satellite and in qa).  The RHN-hosted kickstarts
should have the --url line changed transparently to be a 'tiny url'. 
Non-RHN hsoted kickstarts should not be affected.


Comment 3 Todd Warner 2004-10-21 16:20:53 UTC
QA push. {ON_DEV,QA_READY} --> ON_QA

Comment 4 Robin Norwood 2004-10-21 17:42:00 UTC
DOC notes:

We should document the fact that on satellite, we no longer use the
long URL with the hash info (a42bc4398d...) - we use a much shorter
URL with hostname/ty - this is because it was possible to hit the
internal anaconda limit for the length of this URL with
reasonable-but-long hostnames.

Comment 5 Fanny Augustin 2004-11-23 20:56:50 UTC
Functionality looks good on QA.  Waiting to test docs.

Comment 6 Todd Warner 2005-03-22 17:33:44 UTC
Mass move from PROD_READY to CLOSED:CURRENTRELEASE