Bug 1950934

Summary: Unnecessary rollouts can happen due to unsorted endpoints
Product: OpenShift Container Platform Reporter: Lili Cosic <lcosic>
Component: EtcdAssignee: Lili Cosic <lcosic>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:01:42 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:
Bug Depends On:    
Bug Blocks: 1951447    

Description Lili Cosic 2021-04-19 08:42:46 UTC
Description of problem:

Because we do not sort the etcd gRPC endpoints every time we get the endpoints we can do multiple not-needed rollouts as the endpoints could being the same they are just returned in a different order. 

See comment https://bugzilla.redhat.com/show_bug.cgi?id=1948533#c16 for a demo of how this looks like in practice.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

If no endpoints change, no rollout should be triggered.

Additional info:

Comment 2 ge liu 2021-06-11 09:49:39 UTC
Verified with 4.8.0-0.nightly-2021-06-09-023740, there is not so many etcd rollouts msg in log.

Comment 5 errata-xmlrpc 2021-07-27 23:01:42 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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.