Bug 1267231

Summary: Missing x-forwarded headers in ose-ha-proxy
Product: OpenShift Container Platform Reporter: Miheer Salunke <misalunk>
Component: NetworkingAssignee: Ram Ranganathan <ramr>
Networking sub component: router QA Contact: zhaozhanqi <zzhao>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, dmcphers
Version: 3.0.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-23 14:45:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miheer Salunke 2015-09-29 12:04:06 UTC
Description of problem:
The official ose-ha-proxy image for the router in OSE3 misses the x-forwarded header (both protocol, host and port), so the example jenkins app doesn't work fine.

Version-Release number of selected component (if applicable):
3.0

How reproducible:
Always

Steps to Reproduce:
1.When accessing jenkins via https, it redirects sometimes to http because the missing x-forwarded header.
2.
3.

Actual results:
missing x-forwarded header

Expected results:
x-forwarded header shall be present in order to avoid issues.
Eg- When accessing jenkins via https, it redirects sometimes to http because the missing x-forwarded header.

Additional info:

Comment 2 Ram Ranganathan 2015-10-15 18:16:57 UTC
This is fixed  via https://github.com/openshift/origin/pull/4705 - 
should be in the next OSE release.

Comment 3 zhaozhanqi 2015-10-30 06:09:38 UTC
verified this bug on 
haproxy images id: f3efd662337a
oc v3.0.2.903-114-g2849767
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4
jenkins app works well