Bug 1876912
Summary: | dns-node-resolver fails: svc_ips[*]: unbound variable | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Andy McCrae <amccrae> |
Component: | Networking | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
Networking sub component: | DNS | QA Contact: | Hongan Li <hongli> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | aos-bugs, jcallen, john.wong, kholtz, lshilin, rdossant, sgreene, sreichar, yprokule |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:38:34 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
Andy McCrae
2020-09-08 13:49:56 UTC
*** Bug 1876928 has been marked as a duplicate of this bug. *** verified with 4.6.0-0.nightly-2020-09-12-230035 and dns pods work well. # oc -n openshift-dns get ds/dns-default -oyaml <---snip---> # Update /etc/hosts only if we get valid service IPs # We will not update /etc/hosts when there is coredns service outage or api unavailability # Stale entries could exist in /etc/hosts if the service is deleted if [[ -n "${svc_ips[*]-}" ]]; then # Build a new hosts file from /etc/hosts with our custom entries filtered out # oc -n openshift-dns get pod NAME READY STATUS RESTARTS AGE dns-default-4p4dl 3/3 Running 0 7h46m dns-default-7wgpb 3/3 Running 0 7h46m dns-default-9fccl 3/3 Running 0 7h55m dns-default-gqjxc 3/3 Running 0 7h55m dns-default-kk9h5 3/3 Running 0 7h46m dns-default-l2nr8 3/3 Running 0 7h55m 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 (OpenShift Container Platform 4.6 GA Images), 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:4196 |