Bug 1750433
| Summary: | 1/3 etcd-member pods crashloopback | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Eduardo Minguez <eminguez> |
| Component: | Node | Assignee: | Robert Krawitz <rkrawitz> |
| Status: | CLOSED ERRATA | QA Contact: | Sunil Choudhary <schoudha> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2.0 | CC: | aos-bugs, cdc, david.sastre, jokerman, mcornea, mfojtik, mpatel, sbatsche, wjiang, yprokule |
| Target Milestone: | --- | ||
| Target Release: | 4.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-16 06:40:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Eduardo Minguez
2019-09-09 15:19:03 UTC
The discovery init container seems to be the one that shall write that file that is then used by the etcd-metrics one... maybe it is just some cache stuff where the discovery container writes it and the etcd-metrics tries to read it but it is not yet available/bad permissions in the disk? Met this during force upgrade from 4.2.0-0.nightly-2019-09-08-232045 to 4.2.0-0.nightly-2019-09-09-150607. ➜ ceph git:(master) ✗ oc get pods -n openshift-etcd -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES etcd-member-share-0909d-4lxj2-master-0 2/2 Running 0 20h 192.168.0.14 share-0909d-4lxj2-master-0 <none> <none> etcd-member-share-0909d-4lxj2-master-1 2/2 Running 2 68m 192.168.0.28 share-0909d-4lxj2-master-1 <none> <none> etcd-member-share-0909d-4lxj2-master-2 1/2 CrashLoopBackOff 6 33m 192.168.0.41 share-0909d-4lxj2-master-2 <none> <none> ➜ ceph git:(master) ✗ oc -n openshift-etcd logs etcd-member-share-0909d-4lxj2-master-2 -c etcd-member /bin/sh: line 3: /run/etcd/environment: Permission denied ➜ ceph git:(master) ✗ oc debug nodes/share-0909d-4lxj2-master-2 Starting pod/share-0909d-4lxj2-master-2-debug ... To use host binaries, run `chroot /host` Pod IP: 192.168.0.41 If you don't see a command prompt, try pressing enter. sh-4.2# chroot /host sh-4.4# bash [root@share-0909d-4lxj2-master-2 /]# ls -al /run/etcd/environment -alZ -rw-r--r--. 1 root root system_u:object_r:container_var_run_t:s0 184 Sep 9 09:39 /run/etcd/environment [root@share-0909d-4lxj2-master-2 /]# cat /run/etcd/environment export ETCD_DISCOVERY_SRV=share-0909d.qe.rhcloud.com ETCD_DNS_NAME=etcd-2.share-0909d.qe.rhcloud.com ETCD_WILDCARD_DNS_NAME=*.share-0909d.qe.rhcloud.com ETCD_IPV4_ADDRESS=192.168.0.41 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-2019:2922 |