Bug 710433
Summary: | Provisioning via RHN-Proxy 541 fails. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite Proxy 5 | Reporter: | Dimitar Yordanov <dyordano> | ||||
Component: | Server | Assignee: | Tomas Lestach <tlestach> | ||||
Status: | CLOSED ERRATA | QA Contact: | Dimitar Yordanov <dyordano> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 541 | CC: | awestbro, cperry, jpazdziora, msuchy | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | spacewalk-java-1.2.39-86 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
Incorrect HTTP response headers
Consequence:
Kickstart over RHN Proxy from a RHN Satellite 5.4.1 on RHEL6 fails
Fix:
Correct handling of HTTP response headers
Result:
Kickstart over RHN Proxy from a RHN Satellite 5.4.1 on RHEL6 works now
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-07-18 08:38:32 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: | 715348 | ||||||
Attachments: |
|
Description
Dimitar Yordanov
2011-06-03 11:36:41 UTC
It only happen if you use ssl with proxy. If you use proxy.use_ssl=0, then this problem disappear, which is nice for debugging :( From comunication between redirect module and squid I got: HTTP/1.1 200 OK Date: Mon, 06 Jun 2011 19:55:17 GMT Server: Apache/2.2.3 (Red Hat) transfer-encoding: chunked connection: Keep-Alive, close content-type: text/plain; charset=UTF-8 keep-alive: timeout=15, max=400 # Kickstart config file generated by RHN Satellite Config Management # Profile Label : RHEL6-x86_64 # Date Created : 2011-05-30 11:24:44.0 ... The problematic is: transfer-encoding: chunked It should not be there. But right now I do not know who add it there. Can be satellite, apache on proxy or our code in redirector... This only happen if parent of RHN Proxy is Satellite 541@RHEL6. It does not matter if proxy is 540 or 541. I verified that it does not happen with RHN Proxy with parent Satellite 541@RHEL5. If proxy get chunked data, httplib will join them so it is not correct to forward transfer-encoding: chunked header. Fixed in spacewalk.git in commit 637ac41756910ef7808d869aa86f520e0206de05 Now we are able to dowload ks file, but stil having problem with downloading rpm files. The main trouble was caused by sitemesh, that ignored Content-Length header (even if it was manually set) in case Content-Type wasn't set. No bueno. spacewalk.git: a5e30664d5780c078e3a51ccc3c97cbaf275cb7a Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Incorrect HTTP response headers Consequence: Kickstart over RHN Proxy from a RHN Satellite 5.4.1 on RHEL6 fails Fix: Correct handling of HTTP response headers Result: Kickstart over RHN Proxy from a RHN Satellite 5.4.1 on RHEL6 works now Verified Satellite-541 RHEL5/i386 & RHN-Proxy RHEL5(i386,x86_64) & RHN-Proxy RHEL6(x86_64) Satellite-541 RHEL6/x86_64 & RHN-Proxy RHEL[56]/x86_64 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0943.html *** Bug 824140 has been marked as a duplicate of this bug. *** |