Description of problem: When oc adm must-gather is run below errors are shown but must-gather completes successfully [must-gather-r6dx7] POD [skipping gathering clusteroles.rbac.authorization.k8s.io/pod-identity-webhook due to error: the server doesn't have a resource type "clusteroles", skipping gathering clusterolebindings.rbac.authorization.k8s.io/pod-identity-webhook due to error: the server doesn't have a resource type "clusterolebindings", 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, skipping gathering namespaces/openshift-aws-ebs-csi-driver due to error: namespaces "openshift-aws-ebs-csi-driver" not found] Version-Release number of selected component (if applicable): [ramakasturinarra@dhcp35-60 ~]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-08-03-025909 True False 24h Cluster version is 4.6.0-0.nightly-2020-08-03-025909 How reproducible: Always Steps to Reproduce: 1. Install latest 4.6 cluster 2. Run oc adm must-gather command 3. Actual results: must-gather throws below errors bug successfully completes. [must-gather-r6dx7] POD [skipping gathering clusteroles.rbac.authorization.k8s.io/pod-identity-webhook due to error: the server doesn't have a resource type "clusteroles", skipping gathering clusterolebindings.rbac.authorization.k8s.io/pod-identity-webhook due to error: the server doesn't have a resource type "clusterolebindings", 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, skipping gathering namespaces/openshift-aws-ebs-csi-driver due to error: namespaces "openshift-aws-ebs-csi-driver" not found] Expected results: must-gather should not throw any error when it runs. Additional info:
Looks like you folks have a few typos in related resources in https://github.com/openshift/cloud-credential-operator/blob/e5d1e9c86fd838b36ce43b8441ef33c307449a30/pkg/operator/awspodidentity/controller.go#L71 clusteroles -> clusterroles - notice double 'r' clusterolebindings -> clusterrolebindings - double 'r'
will investigate next sprint
Still hoping to fit in but did not make this sprint.
Already fixed as part of this PR -> https://github.com/openshift/cloud-credential-operator/pull/233
Has fixed. won't see the above error now. $ oc adm must-gather command [must-gather ] OUT Using must-gather plugin-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:9c085fe57bc08c98270ce7aab9b58b4df68557a6469ac43602b2d5566cb226ef [must-gather ] OUT namespace/openshift-must-gather-frg46 created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-wtmdq created [must-gather ] OUT pod for plug-in image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:9c085fe57bc08c98270ce7aab9b58b4df68557a6469ac43602b2d5566cb226ef created [must-gather-rc66f] OUT waiting for gather to complete [must-gather-rc66f] OUT downloading gather output [must-gather-rc66f] OUT receiving incremental file list [must-gather-rc66f] OUT ./ [must-gather-rc66f] OUT [must-gather-rc66f] OUT sent 27 bytes received 41 bytes 12.36 bytes/sec [must-gather-rc66f] OUT total size is 0 speedup is 0.00 [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-wtmdq deleted [must-gather ] OUT namespace/openshift-must-gather-frg46 deleted
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.7.0 security, bug fix, and enhancement 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-2020:5633