Bug 397201 - Anaconda of RHEL5> will crash if Cobbler is running on different httpd port then 80
Summary: Anaconda of RHEL5> will crash if Cobbler is running on different httpd port t...
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 7
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michael DeHaan
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-11-23 19:34 UTC by martin.minka
Modified: 2008-01-10 17:32 UTC (History)
0 users

Clone Of:
Last Closed: 2008-01-10 17:32:41 UTC

Attachments (Terms of Use)
screen shot of Anaconda error message (16.13 KB, image/png)
2007-11-23 19:34 UTC, martin.minka
no flags Details

Description martin.minka 2007-11-23 19:34:40 UTC
Description of problem:
I configured Cobbler to run on port 81 and tested it with CENTOS4. It worked fine.
Now I wanted to provision CENTOS5 and Anaconda exited abnormally. It is related
to the port setting.

Version-Release number of selected component (if applicable):
Tested with 0.602.

How reproducible:

Steps to Reproduce:
1. Configure httpd to listen on port 81.
2. Set in file settings: server: 'x.x.x.x:81'
3. Use CENTOS5 or RHEL5 distribution to boot.
Actual results:
Anaconda installer will stop with error message (see attachment):

Expected results:
It should work of course.

Additional info:
The problem is in the generate pxeconfig.cfg file. It contains kernel option

Comment 1 martin.minka 2007-11-23 19:34:40 UTC
Created attachment 267781 [details]
screen shot of Anaconda error message

Comment 2 martin.minka 2007-11-25 08:57:29 UTC
work around is to start "cobbler sync" as part of this script:

# change this line to your port number
cobbler sync

for file in `find /tftpboot/pxelinux.cfg -type f`
do sed "s/81:25150/25150/g" $file > $file.sed && mv $file.sed $file

Comment 3 Michael DeHaan 2007-11-26 16:21:48 UTC
Thanks for the heads up on this.

The server field is for a server hostname or address, it does not accept a port,
as the field is used for multiple ports.  So this is technically an RFE to
support http servers running on non-default ports.

I've opened an item in Trac here to track the request:


I'll leave the bugzilla open also, though comments will be made on the Trac item.

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