Bug 1882323 - namespaces "dns" not found in must-gather logs, maybe should be openshift-dns-operator
Summary: namespaces "dns" not found in must-gather logs, maybe should be openshift-dns...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Stephen Greene
QA Contact: Hongan Li
URL:
Whiteboard:
: 1881194 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-24 10:33 UTC by Junqi Zhao
Modified: 2022-08-04 22:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:45:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-dns-operator pull 200 0 None closed Bug 1882323: Fix operator namespace in clusteroperator related resources 2021-01-19 20:44:54 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:45:22 UTC

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


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