Bug 573788 - Satellite 5.3: Remove obsolete Apache redirective for kickstart Files (it breaks customer setup)
Summary: Satellite 5.3: Remove obsolete Apache redirective for kickstart Files (it bre...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Miroslav Suchý
URL:
Whiteboard:
Depends On:
Blocks: sat540-blockers
TreeView+ depends on / blocked
 
Reported: 2010-03-15 19:26 UTC by Xixi
Modified: 2018-10-27 14:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:57:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
zz-spacewalk-www.conf.519653.TEST.1.patch (406 bytes, patch)
2010-03-15 19:34 UTC, Xixi
no flags Details | Diff

Description Xixi 2010-03-15 19:26:55 UTC
Description of problem:
Customer has environment set up such that clients boot from the media they provide and fetches the kickstart file using the url http://<satellite-fqdn>/cgi-bin/ks?hn=<client-fqdn>
This breaks in Satellite 5.3 since now "ks" seems to be a reserved file
name. Instead of fetching a kickstart file customer gets the cgi-bin script
without the carriage returns.

Per jsherill, since everything kickstart has been migrated to java now, the following <Files ks> section in httpd configuration /etc/httpd/conf.d/zz-spacewalk-www.conf is no longer be needed and should be removed -  

<Files ks>
ForceType text/pxt
SetHandler perl-script
PerlHandler PXT::ApacheHandler
</Files>

Customer verified this also fixed their issue.

Version-Release number of selected component (if applicable):
Red Hat Network (RHN) Satellite 5.3.0

How reproducible:
Always.

Steps to Reproduce:
1. See above.

Actual results:
See above.

Expected results:
Obsolete Apache redirective should be removed.

Additional info:

Comment 1 Xixi 2010-03-15 19:34:27 UTC
Created attachment 400292 [details]
zz-spacewalk-www.conf.519653.TEST.1.patch

Comment 2 Milan Zázrivec 2010-08-17 10:24:50 UTC
spacewalk.git master: d77b830b482cf672d9f24c7ce3da9ec574880be7

Thanks for the patch.

Comment 3 Milan Zázrivec 2010-08-17 12:24:53 UTC
Removed /var/www/html/ks:

spacewalk.git master: f458295923233b4d87ec7daed0c8a01c74314d35

Comment 4 Miroslav Suchý 2010-10-08 09:48:54 UTC
# wget http://ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com/cgi-bin/ks?hn=vmware141.englab.brq.redhat.com
--2010-10-08 05:48:00--  http://ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com/cgi-bin/ks?hn=vmware141.englab.brq.redhat.com
Resolving ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com... 10.16.68.40
Connecting to ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com|10.16.68.40|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-10-08 05:48:00 ERROR 404: Not Found.

Comment 5 Michael Mráka 2010-10-21 10:01:39 UTC
Verified in stage.


Registered client (xen51.englab.brq.redhat.com).

[root@hp-bl685cg6-01 ~]# wget 'http://hp-bl685cg6-01.rhts.eng.bos.redhat.com/cgi-bin/ks?hn=xen51.englab.brq.redhat.com'
--2010-10-21 05:59:35--  http://hp-bl685cg6-01.rhts.eng.bos.redhat.com/cgi-bin/ks?hn=xen51.englab.brq.redhat.com
Resolving hp-bl685cg6-01.rhts.eng.bos.redhat.com... 10.16.66.105
Connecting to hp-bl685cg6-01.rhts.eng.bos.redhat.com|10.16.66.105|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-10-21 05:59:35 ERROR 404: Not Found.

File / handler is no longer available.

Comment 6 Clifford Perry 2010-10-28 14:53:02 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


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