Red Hat Bugzilla – Bug 397201
Anaconda of RHEL5> will crash if Cobbler is running on different httpd port then 80
Last modified: 2008-01-10 12:32:41 EST
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.
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.
Anaconda installer will stop with error message (see attachment):
It should work of course.
The problem is in the generate pxeconfig.cfg file. It contains kernel option
Created attachment 267781 [details]
screen shot of Anaconda error message
work around is to start "cobbler sync" as part of this script:
# change this line to your port number
for file in `find /tftpboot/pxelinux.cfg -type f`
do sed "s/81:25150/25150/g" $file > $file.sed && mv $file.sed $file
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.