Bug 1464103 - Router Timeout Not Configurable
Router Timeout Not Configurable
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking (Show other bugs)
3.2.1
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Ben Bennett
Meng Bo
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-22 08:28 EDT by Neeraj
Modified: 2017-06-27 13:33 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-27 13:33:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Neeraj 2017-06-22 08:28:28 EDT
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 13:33:59 EDT
This is an OSE 3.3 feature.

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