Bug 1813364 - add cluster-etcd operator events for membership changes
Summary: add cluster-etcd operator events for membership changes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd Operator
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks: 1813367
TreeView+ depends on / blocked
 
Reported: 2020-03-13 15:30 UTC by Suresh Kolichala
Modified: 2020-07-13 17:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1813367 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:19:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-etcd-operator pull 236 0 None closed Bug 1813364: add events for membership changes 2020-06-30 20:01:32 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:20:26 UTC

Description Suresh Kolichala 2020-03-13 15:30:01 UTC
Description of problem:
Adding more events to the log will help figure out problems with membership (unstarted members).

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


How reproducible:


Steps to Reproduce:
1. Install a new cluster (or upgrade from previous version)
2. 
3.

Actual results:
The cluster-etcd-operator log doesn't show issues with membership. For example on IPv6 we were still using DNS name, but the logs didn't show. 

Expected results:
If the logs showed the events about adding member as below, we would have known the problem immediately:
#### attempt 0
      member={name="etcd-bootstrap", peerURLs=[https://[fd2e:6f44:5dd8:c956::18]:2380}, clientURLs=[https://[fd2e:6f44:5dd8:c956::18]:2379]
      member={name="", peerURLs=[https://etcd-0.ostest.test.metalkube.org:2380}, clientURLs=[]
      target={name="", peerURLs=[https://etcd-0.ostest.test.metalkube.org:2380}, clientURLs=[], err=<nil>
Adding the unstarted member to the end master-0.ostest.test.metalkube.org

Additional info:

Comment 2 ge liu 2020-03-16 11:20:11 UTC
Failed verify it with 4.5.0-0.ci-2020-03-15-034652

Comment 4 ge liu 2020-03-16 12:18:52 UTC
Verified with 4.5.0-0.ci-2020-03-16-085352

# oc get events -n openshift-etcd-operator | grep MemberAdd
23m         Normal    MemberAdd                               deployment/etcd-operator              adding new peer https://10.0.146.232:2380
23m         Normal    MemberAdd                               deployment/etcd-operator              adding new peer https://10.0.134.237:2380
22m         Normal    MemberAdd                               deployment/etcd-operator              adding new peer https://10.0.166.94:2380
# oc get events -n openshift-etcd-operator | grep MemberRemove
18m         Normal    MemberRemove                            deployment/etcd-operator                         removing member "etcd-bootstrap"
#

Comment 7 errata-xmlrpc 2020-07-13 17:19:58 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:2409


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