Bug 2047929
Summary: | use lease for leader election | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Abu Kashem <akashem> |
Component: | Etcd | Assignee: | Wally <wlewis> |
Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.10 | CC: | alray, aos-bugs, geliu, htariq, jsafrane, kewang, maszulik, mfojtik, skundu, surbania, wking, wlewis, xxia |
Target Milestone: | --- | Flags: | wlewis:
needinfo-
|
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | EmergencyRequest | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 2042501 | Environment: | |
Last Closed: | 2022-03-10 16:42:52 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: | 2042501 | ||
Bug Blocks: |
Comment 1
Michal Fojtik
2022-01-28 21:41:43 UTC
QA Contact of this bug: Auth verification FYI: https://bugzilla.redhat.com/show_bug.cgi?id=2041554#c3 Checked the below version. oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.10.0-0.nightly-2022-02-04-082923 True False 82m Cluster version is 4.10.0-0.nightly-2022-02-04-082923 configmap based and lease based elections work in 4.10 oc get lease NAME HOLDER AGE openshift-cluster-etcd-operator-lock etcd-operator-859d4cf76f-wqx57_a6976261-ac4b-44e7-a260-4bccea70e451 102m oc get cm NAME DATA AGE etcd-ca-bundle 1 104m etcd-operator-config 1 104m etcd-service-ca-bundle 1 104m kube-root-ca.crt 1 104m openshift-cluster-etcd-operator-lock 0 102m openshift-service-ca.crt 1 104m below traces from etcd-operator logs: I0204 11:54:32.328032 1 leaderelection.go:258] successfully acquired lease openshift-etcd-operator/openshift-cluster-etcd-operator-lock I0204 11:54:32.328184 1 event.go:285] Event(v1.ObjectReference{Kind:"ConfigMap", Namespace:"openshift-etcd-operator", Name:"openshift-cluster-etcd-operator-lock", UID:"6e054200-6e44-49cd-a309-27bf21e08329", APIVersion:"v1", ResourceVersion:"19672", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' etcd-operator-859d4cf76f-wqx57_a6976261-ac4b-44e7-a260-4bccea70e451 became leader I0204 11:54:32.328214 1 event.go:285] Event(v1.ObjectReference{Kind:"Lease", Namespace:"openshift-etcd-operator", Name:"openshift-cluster-etcd-operator-lock", UID:"2a39dee7-4ad7-4edb-bb72-22c54e4b214d", APIVersion:"coordination.k8s.io/v1", ResourceVersion:"19673", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' etcd-operator-859d4cf76f-wqx57_a6976261-ac4b-44e7-a260-4bccea70e451 became leader 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.10.3 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. https://access.redhat.com/errata/RHSA-2022:0056 |