Bug 1882323

Summary: namespaces "dns" not found in must-gather logs, maybe should be openshift-dns-operator
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: NetworkingAssignee: Stephen Greene <sgreene>
Networking sub component: DNS QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, rpattath
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.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: 2020-10-27 16:45:08 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 Junqi Zhao 2020-09-24 10:33:07 UTC
Description of problem:
oc adm must-gather reports: gathering namespaces/dns due to error: namespaces "dns" not found

I doubt it should check openshift-dns
FYI, it does not block must-gather, openshift-dns info are also collected
# ls -al quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d89f7f5e38a6d97434ca10c003314f9fd28d91d9e522f8e9431a41bce3279d4d/namespaces/openshift-dns
total 56
drwxr-xr-x. 13 juzhao juzhao 4096 Sep 24 16:34 .
drwxr-xr-x. 54 juzhao juzhao 4096 Sep 24 16:34 ..
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 apps
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 apps.openshift.io
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 autoscaling
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 batch
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 build.openshift.io
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 core
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 discovery.k8s.io
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 image.openshift.io
drwxr-xr-x.  3 juzhao juzhao 4096 Sep 24 16:34 monitoring.coreos.com
-rwxr-xr-x.  1 juzhao juzhao 1632 Sep 24 16:43 openshift-dns.yaml
drwxr-xr-x.  8 juzhao juzhao 4096 Sep 24 16:34 pods
drwxr-xr-x.  2 juzhao juzhao 4096 Sep 24 16:34 route.openshift.io

# oc adm must-gather
...
[must-gather-cqnvf] POD     [skipping gathering namespaces/dns due to error: namespaces "dns" not found, skipping gathering namespaces/openshift-manila-csi-driver due to error: namespaces "openshift-manila-csi-driver" not found, skipping gathering clustercsidrivers.operator.openshift.io/csi.ovirt.org due to error: clustercsidrivers.operator.openshift.io "csi.ovirt.org" not found, skipping gathering clustercsidrivers.operator.openshift.io/manila.csi.openstack.org due to error: clustercsidrivers.operator.openshift.io "manila.csi.openstack.org" not found]
...

# oc get ns | grep dns
openshift-dns                                      Active   3h9m
openshift-dns-operator                             Active   3h19m

Version-Release number of selected component (if applicable):
# oc version
Client Version: 4.6.0-fc.5
Server Version: 4.6.0-0.nightly-2020-09-24-015627
Kubernetes Version: v1.19.0+fff8183


How reproducible:
always

Steps to Reproduce:
1. oc adm must-gather
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Hongan Li 2020-09-27 06:50:18 UTC
verified with 4.6.0-0.nightly-2020-09-26-202331 and passed.

didn't see `skipping gathering namespaces/dns due to error: namespaces "dns" not found` in `oc admin must-gather` anymore

# ls must-gather.local.3258219147748244065/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-33485bb4fd1f7c442f3d95f7326d8a84ea0f450d10c4268f488b0a44fedd3a72/namespaces/openshift-dns-operator/
apps               autoscaling  build.openshift.io  discovery.k8s.io    monitoring.coreos.com        pods
apps.openshift.io  batch        core                image.openshift.io  openshift-dns-operator.yaml  route.openshift.io

Comment 4 Stephen Greene 2020-10-02 16:21:28 UTC
*** Bug 1881194 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2020-10-27 16:45:08 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 (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