Bug 1447115
Summary: | [3.6][RFE] Randomize node lists | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brennan Vincello <bvincell> | |
Component: | Networking | Assignee: | Rajat Chopra <rchopra> | |
Networking sub component: | router | QA Contact: | zhaozhanqi <zzhao> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | urgent | |||
Priority: | unspecified | CC: | aos-bugs, bbennett, bleanhar, bmeng, bvincell, byount, eparis, rchopra, smunilla, xtian | |
Version: | 3.2.0 | |||
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Enhancement | ||
Doc Text: |
Feature: Setting the router environment variable ROUTER_BACKEND_PROCESS_ENDPOINTS=shuffle will randomize the order of backends in the haproxy configuration.
Reason: With long running sessions and a router which reloads regularly the first endpoint in the config may receive significantly more load than other backends. Setting the environment variable will randomize the order of the backends on every reload and thus help spread the load.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1455325 1455326 1455327 1456989 (view as bug list) | Environment: | ||
Last Closed: | 2017-08-10 05:21:25 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1455325, 1455326, 1455327, 1456989 |
Description
Brennan Vincello
2017-05-01 19:21:16 UTC
Proposed PR: https://github.com/openshift/origin/pull/14008 Thanks Brian, can you walk me through that data a little? Is there a particular endpoint that we should focus on there? hi, I did not see the fixed version in the https://errata.devel.redhat.com/advisory/28089 and I checked the latest 3.6 env with haproxy image id f2b5e752f72f the fixed PR did not be merged Verified this bug on openshift v3.6.131 when enable the shuffle, the backend will be random list: cookie ffc46b9e81c946e896a03e31ac25ac9d insert indirect nocache httponly server pod:test-rc-pmh7d:test-service:10.129.0.73:8080 10.129.0.73:8080 cookie 6cdc8fd2b67c5c9d4e866be5480a2445 weight 100 check inter 5000ms server pod:test-rc-hlhw3:test-service:10.129.0.74:8080 10.129.0.74:8080 cookie 794a225214957229fca1711f6cfe7e28 weight 100 check inter 5000ms server pod:test-rc-5tz1z:test-service:10.129.0.72:8080 10.129.0.72:8080 cookie 263e0d26415531881bcdc76c0b4491c7 weight 100 check inter 5000ms server pod:test-rc-khl12:test-service:10.129.0.76:8080 10.129.0.76:8080 cookie 5d28f95106d4403385d68ebd54d6b80b weight 100 check inter 5000ms server pod:test-rc-2j4mm:test-service:10.129.0.75:8080 10.129.0.75:8080 cookie 8f5cff8b0847362a39a32c8c17159079 weight 100 check inter 5000ms Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1716 |