OpenShift 4.3 Etcd's Discovery container fails to start with extraneous SRV records
Issue
- Etcd Pod in
CrashLoopBackoffdue todiscoverycontainer timing out discoverycontainer is failing with the following messages:
2020-12-05T22:17:45.055017436Z I1205 22:17:45.054978 1 run.go:199] checking against etcd-5.ocp4.example.com.
2020-12-05T22:17:45.055535664Z I1205 22:17:45.055512 1 run.go:199] checking against etcd-1.ocp4.example.com.
2020-12-05T22:17:45.055986798Z I1205 22:17:45.055974 1 run.go:199] checking against etcd-3.ocp4.example.com.
2020-12-05T22:17:45.056559595Z E1205 22:17:45.056541 1 run.go:67] error looking up self for candidate IP 10.29.50.43: could not resolve member "etcd-3.ocp4.example.com."
2020-12-05T22:17:45.056917647Z I1205 22:17:45.056904 1 run.go:199] checking against etcd-0.ocp4.example.com.
2020-12-05T22:17:45.057394101Z I1205 22:17:45.057374 1 run.go:199] checking against etcd-4.ocp4.example.com.
2020-12-05T22:17:45.05776465Z E1205 22:17:45.057749 1 run.go:67] error looking up self for candidate IP 10.29.128.1: could not resolve member "etcd-4.ocp4.example.com."
2020-12-05T22:17:45.057999382Z I1205 22:17:45.057989 1 run.go:199] checking against etcd-0.ocp4.example.com.
2020-12-05T22:17:45.058411613Z I1205 22:17:45.058389 1 run.go:199] checking against etcd-2.ocp4.example.com.
2020-12-05T22:17:45.058786259Z I1205 22:17:45.058772 1 run.go:199] checking against etcd-5.ocp4.example.com.
2020-12-05T22:17:45.059245788Z I1205 22:17:45.059236 1 run.go:199] checking against etcd-3.ocp4.example.com.
2020-12-05T22:17:45.059686063Z E1205 22:17:45.059665 1 run.go:67] error looking up self for candidate IP 10.29.50.43: could not resolve member "etcd-3.ocp4.example.com."
2020-12-05T22:17:45.059954741Z I1205 22:17:45.059937 1 run.go:199] checking against etcd-3.ocp4.example.com.
2020-12-05T22:17:45.060393622Z E1205 22:17:45.060381 1 run.go:67] error looking up self for candidate IP 10.29.128.1: could not resolve member "etcd-3.ocp4.example.com."
2020-12-05T22:17:45.060415994Z F1205 22:17:45.060410 1 main.go:30] Error executing etcd-setup-environment: could not find self: timed out waiting for the condition
Environment
- Red Hat OpenShift Container Platform
- 4.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.