Bug 2000414

Summary: power-of-two balancing feature set "Random" as default balancing for passthrough routes
Product: OpenShift Container Platform Reporter: Arvind iyengar <aiyengar>
Component: NetworkingAssignee: Miciah Dashiel Butler Masters <mmasters>
Networking sub component: router QA Contact: Arvind iyengar <aiyengar>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, hongli, mmasters
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1997407 Environment:
Last Closed: 2021-09-21 08:02:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1997407    
Bug Blocks:    

Comment 1 Arvind iyengar 2021-09-06 05:09:43 UTC
Verified in "4.8.0-0.ci.test-2021-09-06-042332-ci-ln-t6rlkv2-latest" version. With this version, it is observed that the algorithm now gets set to "source" type by default:
oc get clusterversion              
NAME      VERSION                                                  AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.ci.test-2021-09-06-042332-ci-ln-t6rlkv2-latest   True        False         9m9s    Cluster version is 4.8.0-0.ci.test-2021-09-06-042332-ci-ln-t6rlkv2-latest

Inside router pod:

sh-4.4$ env | grep -i balance

# Secure backend, pass through
backend be_tcp:test1:passth-route
  balance source

  hash-type consistent
  timeout check 5000ms
  server pod:web-server-rc-ftncz:service-secure:https: weight 256


Comment 5 errata-xmlrpc 2021-09-21 08:02:27 UTC
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 (OpenShift Container Platform 4.8.12 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.