Bug 1806671
Summary: | openshift-apiserver should never use the bootstrap etcd member | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Luis Sanchez <sanchezl> | |
Component: | openshift-apiserver | Assignee: | Luis Sanchez <sanchezl> | |
Status: | CLOSED ERRATA | QA Contact: | Ke Wang <kewang> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.4 | CC: | aos-bugs, kewang, mfojtik, xxia | |
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1806634 | |||
: | 1806681 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:20: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: | ||||
Bug Blocks: | 1806681 |
Description
Luis Sanchez
2020-02-24 17:51:41 UTC
Checked with the OCP build 4.5.0-0.nightly-2020-03-17-213400, $ oc adm release info --commits registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-03-17-213400 | grep openshift-apiserver cluster-openshift-apiserver-operator https://github.com/openshift/cluster-openshift-apiserver-operator 487fef099d1dfdb1c47eea85b513c3dfdf4a449a openshift-apiserver https://github.com/openshift/openshift-apiserver fe2caeaec18a803a1f6596510cb12c4c739a3754 $ git checkout -b 4.5.0-0.nightly-2020-03-17-213400 487fef0 $ git log --pretty="%h %an %cd - %s" 487fef0 | grep -i 'bootstrap etcd member' Seems the releated PR has not been bumped. Ke Wang: Thanks for checking. See my way: $ cd path/to/github.com/openshift/cluster-openshift-apiserver-operator $ git pull $ git log --date local --pretty="%h %an %cd - %s" 487fef0 | grep "#320" # grep bug PR number b981ed7d OpenShift Merge Robot Tue Feb 25 12:58:16 2020 - Merge pull request #320 from sanchezl/use-host-etcd-2 $ git log --date local --pretty="%h %an %cd - %s" 487fef0 | grep "switch to using host-etcd-2 endpoints" # grep the code's git commit message shown in PR "Commits" tab, instead of grep bug title strings 7816952d Luis Sanchez Tue Feb 25 02:56:11 2020 - switch to using host-etcd-2 endpoints Some notes: 1 Need not do above `git checkout ...`, unless you need check content of files in the specific version. 2 As shown in my way, grep the code's git commit message shown in PR "Commits" tab, instead of grep bug title strings 3 "bump" is used in context of: for example, the PR is in a repo (e.g. library-go), and need be sync'ed into the cluster-openshift-apiserver-operator repo via a separate PR of cluster-openshift-apiserver-operator repo Thanks for Xingxing's double checking, it corrects my problem. Verified with OCP build 4.5.0-0.nightly-2020-03-18-225822, Per bug related PR https://github.com/openshift/cluster-openshift-apiserver-operator/pull/320, do the following check-points, - Checking the etcd endpoint name of openshift-apiserver related objects, $ oc get co/openshift-apiserver -o json | jq -r '.status.relatedObjects[] | select(.name=="host-etcd-2")' { "group": "", "name": "host-etcd-2", "namespace": "openshift-etcd", "resource": "endpoints" } - Checking the related ‘host-etcd-2’ keyword in master node log files, $ oc debug/node <master node> # chroot /host # grep -nr 'host-etcd-2' openshift* openshift-sdn_sdn-7krk7_64832a70-a95e-47ad-9419-d7fe14119358/sdn/0.log:98:2020-03-19T01:54:06.041137051+00:00 stderr F I0319 01:54:06.041086 1938 roundrobin.go:267] LoadBalancerRR: Setting endpoints for openshift-etcd/host-etcd-2:etcd to [10.0.133.209:2379 10.0.145.229:2379 10.0.167.144:2379] 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 |