Bug 1953280

Summary: DaemonSet/node-resolver is not recreated by dns operator after deleting it
Product: OpenShift Container Platform Reporter: Hongan Li <hongli>
Component: NetworkingAssignee: Miciah Dashiel Butler Masters <mmasters>
Networking sub component: DNS QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: amcdermo, aos-bugs, mmasters
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.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: 2021-07-27 23:03:38 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 Hongan Li 2021-04-25 07:33:42 UTC
Description of problem:
DaemonSet/node-resolver is not recreated by dns operator after deleting it

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-24-175929

How reproducible:
100%

Steps to Reproduce:
1. $ oc -n openshift-dns delete ds/node-resolver
2.


Actual results:
all node-resolver pods are removed and the ds is not recreated.

Expected results:
the dns operator should watch the ds/node-resolver and recreate it if needed.

Additional info:
workaround is restarting the dns operator pod

Comment 2 Hongan Li 2021-05-03 03:24:18 UTC
verified with 4.8.0-0.nightly-2021-04-30-201824 and passed

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-04-30-201824   True        False         2m10s   Cluster version is 4.8.0-0.nightly-2021-04-30-201824

$ oc -n openshift-dns delete ds/node-resolver
daemonset.apps "node-resolver" deleted

$ oc -n openshift-dns get ds
NAME            DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE
dns-default     6         6         6       6            6           kubernetes.io/os=linux   24m
node-resolver   6         6         6       6            6           kubernetes.io/os=linux   3s

Comment 5 errata-xmlrpc 2021-07-27 23:03:38 UTC
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 (Moderate: OpenShift Container Platform 4.8.2 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-2021:2438