Bug 1953280 - DaemonSet/node-resolver is not recreated by dns operator after deleting it
Summary: DaemonSet/node-resolver is not recreated by dns operator after deleting it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Miciah Dashiel Butler Masters
QA Contact: Hongan Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-25 07:33 UTC by Hongan Li
Modified: 2022-08-04 22:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:03:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-dns-operator pull 270 0 None open Bug 1953280: node-resolver: Set owner reference on the dns 2021-04-26 22:03:00 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:04:02 UTC

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


Note You need to log in before you can comment on or make changes to this bug.