Bug 1817860
Summary: | Some of `oc adm inspect co/xx` failed with error | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | zhou ying <yinzhou> | |
Component: | Cloud Compute | Assignee: | Alberto <agarcial> | |
Cloud Compute sub component: | BareMetal Provider | QA Contact: | Milind Yadav <miyadav> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | medium | |||
Priority: | medium | CC: | aos-bugs, jokerman, maszulik, mfojtik, pkrupa, spasquie, stbenjam | |
Version: | 4.5 | |||
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1817938 (view as bug list) | Environment: | ||
Last Closed: | 2020-08-27 22:35:18 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
zhou ying
2020-03-27 06:47:43 UTC
Data gathered by oc adm inspect are coming from cluster operator's .status.relatedObjects so please fill in those BZ for appropriate operator owners. I'm splitting this into 3 distinct and assigning them to appropriate teams. This bug goes to machine team, make sure that your .status.relatedObjects reflect reality and don't produce below error: Use `oc adm inspect co/machine-api` met error: skipping gathering roles.rbac.authorization.k8s.io/cloud-provider-config-reader due to error: roles.rbac.authorization.k8s.io "cloud-provider-config-reader" not found Actually: `oc adm inspect co/cluster-autoscaler` failed with error: error: errors ocurred while gathering data: [skipping gathering machineautoscalers.machine.openshift.io due to error: the server doesn't have a resource type "machineautoscalers", skipping gathering clusterautoscalers.machine.openshift.io due to error: the server doesn't have a resource type "clusterautoscalers"] is also the same team, I think. Fix for `skipping gathering all/openshift-monitoring due to error: the server doesn't have a resource type "all"` is present at https://github.com/openshift/cluster-monitoring-operator/pull/726 Verified on: [miyadav@miyadav clusterroles]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.5.0-0.nightly-2020-04-09-005126 True False 3h4m Cluster version is 4.5.0-0.nightly-2020-04-09-005126 Steps: 1.Run oc adm inspect co/machine-api Actual & Expected : Gathering data for ns/openshift-machine-api... Wrote inspect data to inspect.local.388961362203275215. 2.Run oc adm inspect co/cluster-autoscaler Actual & Expected : Gathering data for ns/openshift-machine-api... Wrote inspect data to inspect.local.1167060908678841821. 3.Run oc adm inspect co/monitoring Actual :Gathering data for ns/openshift-monitoring... E0409 12:06:45.800418 26884 portforward.go:400] an error occurred forwarding 37587 -> 9094: error forwarding port 9094 to pod 669fc5bdc77731461b249ad0df1def3beb5a6aaf4a89f9bd0779018543e88f22, uid : exit status 1: 2020/04/09 06:36:45 socat[436812] E connect(5, AF=2 127.0.0.1:9094, 16): Connection refused E0409 12:06:47.168582 26884 portforward.go:400] an error occurred forwarding 37587 -> 9094: error forwarding port 9094 to pod 669fc5bdc77731461b249ad0df1def3beb5a6aaf4a89f9bd0779018543e88f22, uid : exit status 1: 2020/04/09 06:36:47 socat[436905] E connect(5, AF=2 127.0.0.1:9094, 16): Connection refused E0409 12:06:48.594141 26884 portforward.go:400] an error occurred forwarding 37587 -> 9094: error forwarding port 9094 to pod 669fc5bdc77731461b249ad0df1def3beb5a6aaf4a89f9bd0779018543e88f22, uid : exit status 1: 2020/04/09 06:36:48 socat[436913] E connect(5, AF=2 127.0.0.1:9094, 16): Connection refused E0409 12:06:50.112752 26884 portforward.go:400] an error occurred forwarding 37587 -> 9094: error forwarding port 9094 to pod 669fc5bdc77731461b249ad0df1def3beb5a6aaf4a89f9bd0779018543e88f22, uid : exit status 1: 2020/04/09 06:36:49 socat[437006] E connect(5, AF=2 127.0.0.1:9094, 16): Connection refused which is not expected Hey Milind, https://bugzilla.redhat.com/show_bug.cgi?id=1817860#c8 this seems unrelated to the original issue where the related resources for mao/cao do not exist that the linked PRs should fix. Can you verify https://bugzilla.redhat.com/show_bug.cgi?id=1817860#c8 is not a generic issue with your particular env or with oc adm inspect, and if so create a particular different issue for oc adm inspect being broken against the appropriate team? I ran on different env. got the same error - for oc adm inspect co/monitoring , checking if it has to be raised to different team , will update here .. Thanks Alberto for comment#9 , moving to VERIFIED as oc adm inspect co/machine-api & oc adm inspect co/cluster-operator is working fine 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, 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:2409' |