Bug 1823608

Summary: cluster etcd operator status reporting needs to be more human readable
Product: OpenShift Container Platform Reporter: Alay Patel <alpatel>
Component: EtcdAssignee: Sam Batschelet <sbatsche>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: geliu, mfojtik, skolicha
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1821286 Environment:
Last Closed: 2020-06-17 22:26:03 UTC Type: ---
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: 1821286    
Bug Blocks:    

Description Alay Patel 2020-04-14 02:53:42 UTC
+++ This bug was initially created as a clone of Bug #1821286 +++

Description of problem:
For debugging the cluster-etcd-opertor report how many members are available, unhealthy, unknown or unstarted. If anyone of the lists is empty, it will produce the following output:

-----
EtcdMembers_UnhealthyMembers: EtcdMembersDegraded: ci-op-sd598-m-2.c.openshift-gce-devel-ci.internal members are unhealthy,  members are unknown


Expected output is:

EtcdMembers_UnhealthyMembers: EtcdMembersDegraded: 1 of 3 etcd members (ci-op-sd598-m-2.c.openshift-gce-devel-ci.internal[, ...]) are not reachable.

More discussion from #forum-etcd:

https://coreos.slack.com/archives/C027U68LP/p1585766067158800

Comment 8 errata-xmlrpc 2020-06-17 22:26:03 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, 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/RHBA-2020:2445