Bug 2042501
Summary: | use lease for leader election | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Abu Kashem <akashem> | |
Component: | Etcd | Assignee: | Allen Ray <alray> | |
Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.10 | CC: | aos-bugs, jsafrane, kewang, maszulik, mfojtik, surbania, wking, wlewis, xxia | |
Target Milestone: | --- | Flags: | mfojtik:
needinfo?
|
|
Target Release: | 4.11.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 2037856 | |||
: | 2047929 (view as bug list) | Environment: | ||
Last Closed: | 2022-08-10 10:43: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: | 2024643, 2040533, 2050250, 2050253 | |||
Bug Blocks: | 2041554, 2047929 |
Comment 1
Michal Fojtik
2022-01-19 16:11:43 UTC
QA Contact of this bug: Auth verification FYI: https://bugzilla.redhat.com/show_bug.cgi?id=2041554#c3 Checked with 4.10.0-0.nightly-2022-01-29-061534, the configmap-based and lease-based elections both work in 4.10, compare to 4.9, there is only configmap-based elections works in 4.9, and it seems not work as description of this bug(we need to use 'configmapsleases' instead of configmaps), I suppose this fix is work as design, so who may double confirm that BOTH WORK is exact fix for this bug before I change bug to verify status, and auth component verification also got similar result. cc: alray, akashem xxia # oc get lease NAME HOLDER AGE openshift-cluster-etcd-operator-lock etcd-operator-55b976c5b7-jt5ss_5aa9d47d-012a-4369-ab8a-c19fd538e4aa 20h [root@preserved-geliurhel-1 tmp]# oc get cm NAME DATA AGE etcd-ca-bundle 1 20h etcd-operator-config 1 20h etcd-service-ca-bundle 1 20h kube-root-ca.crt 1 20h openshift-cluster-etcd-operator-lock 0 20h openshift-service-ca.crt 1 20h I0129 10:29:00.500003 1 leaderelection.go:258] successfully acquired lease openshift-etcd-operator/openshift-cluster-etcd-operator-lock I0129 10:29:00.502598 1 event.go:285] Event(v1.ObjectReference{Kind:"ConfigMap", Namespace:"openshift-etcd-operator", Name:"openshift-cluster-etcd-operator-lock", UID:"76ff29a2-6090-408d-8989-7ea43482c2b7", APIVersion:"v1", ResourceVersion:"8641", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' etcd-operator-55b976c5b7-jt5ss_5aa9d47d-012a-4369-ab8a-c19fd538e4aa became leader I0129 10:29:00.502632 1 event.go:285] Event(v1.ObjectReference{Kind:"Lease", Namespace:"openshift-etcd-operator", Name:"openshift-cluster-etcd-operator-lock", UID:"701c041a-26d1-4830-9ae4-b13f08e837b3", APIVersion:"coordination.k8s.io/v1", ResourceVersion:"8642", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' etcd-operator-55b976c5b7-jt5ss_5aa9d47d-012a-4369-ab8a-c19fd538e4aa 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 (Important: OpenShift Container Platform 4.11.0 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. https://access.redhat.com/errata/RHSA-2022:5069 |