Bug 1464103

Summary: Router Timeout Not Configurable
Product: OpenShift Container Platform Reporter: Neeraj <nbhatt>
Component: NetworkingAssignee: Ben Bennett <bbennett>
Status: CLOSED CURRENTRELEASE QA Contact: Meng Bo <bmeng>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.1CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-27 17:33:59 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 Neeraj 2017-06-22 12:28:28 UTC
Description of problem:

The router timeout should be configurable through environment variables, namely 

ROUTER_DEFAULT_CLIENT_TIMEOUT
ROUTER_DEFAULT_SERVER_TIMEOUT


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

How reproducible:


Steps to Reproduce:
1. oc set env dc/router ROUTER_DEFAULT_CLIENT_TIMEOUT=15s ROUTER_DEFAULT_SERVER_TIMEOUT=25s
2. oc rsh <router-pod>
3. cat haproxy.config | grep -i timeout 

Actual results:
 stats timeout 2m
  timeout connect 5s
  timeout client 30s
  timeout server 30s
  # Long timeout for WebSocket connections.
  timeout tunnel 1h



Expected results:

timeout client 15s
timeout server 25s

Comment 2 Ben Bennett 2017-06-27 17:33:59 UTC
This is an OSE 3.3 feature.