Bug 134818 - long URLs break kickstart functionality
Summary: long URLs break kickstart functionality
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fanny Augustin
Depends On:
Blocks: rhn360sat
TreeView+ depends on / blocked
Reported: 2004-10-06 14:57 UTC by Max Spevack
Modified: 2007-10-30 01:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-03-22 17:33:44 UTC

Attachments (Terms of Use)

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):

How reproducible:

Steps to Reproduce:
1.  Use a machine with a fairly long hostname, such as
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

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