Bug 1734504
Summary: | Parts of oc adm must-gather do not respect --config CLI option | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Devan Goodwin <dgoodwin> |
Component: | oc | Assignee: | Luis Sanchez <sanchezl> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.z | CC: | aos-bugs, jokerman, mfojtik, sanchezl, vlaad, wzheng |
Target Milestone: | --- | ||
Target Release: | 4.2.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: | 2019-10-16 06:34: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
Devan Goodwin
2019-07-30 17:49:53 UTC
The issue still could be reproduced with :[root@dhcp-140-138 ~]# oc version Client Version: version.Info{Major:"4", Minor:"2+", GitVersion:"v4.2.0", GitCommit:"ceed07c42", GitTreeState:"clean", BuildDate:"2019-08-25T17:53:06Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.0+8a74efb", GitCommit:"8a74efb", GitTreeState:"clean", BuildDate:"2019-08-23T14:58:50Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"} oc --kubeconfig=/home/roottest/kubeconfig adm must-gather .... INFO: Audit logs for kube-apiserver collected. WARNING: Collecting one or more service logs on ALL master nodes in your cluster. This could take a large amount of time. INFO: Collecting host service logs for kubelet INFO: Collecting host service logs for crio INFO: Waiting for worker host service log collection to complete ... INFO: Worker host service log collection to complete. Error from server (NotFound): pods "must-gather-nph8g" not found rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.2] clusterrolebinding.rbac.authorization.k8s.io/must-gather-c79vh deleted namespace/openshift-must-gather-dlgh2 deleted error: exit status 12 Checked with version, the issue has fixed: [root@dhcp-140-138 ~]# oc --kubeconfig=/home/roottest/kubeconfig version Client Version: v4.2.0 Server Version: 4.2.0-0.nightly-2019-10-09-203306 Kubernetes Version: v1.14.6+c795c6c [root@dhcp-140-138 ~]# oc --kubeconfig=/home/roottest/kubeconfig adm must-gather [must-gather ] OUT Using must-gather plugin-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:2130377ba7ab9dbed8350c52b098dae1575a7dbafe279f8c013e6455d2da6a93 [must-gather ] OUT namespace/openshift-must-gather-t5p4v created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-p5cjn created [must-gather ] OUT pod for plug-in image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:2130377ba7ab9dbed8350c52b098dae1575a7dbafe279f8c013e6455d2da6a93 created [must-gather-8vqn6] POD 2019/10/11 07:39:11 Finished successfully with no errors. [must-gather-8vqn6] POD 2019/10/11 07:39:11 Gathering data for ns/openshift-cluster-version... [must-gather-8vqn6] POD 2019/10/11 07:39:11 Collecting resources for namespace "openshift-cluster-version"... [must-gather-8vqn6] POD 2019/10/11 07:39:11 Gathering pod data for namespace "openshift-cluster-version"... [must-gather-8vqn6] POD 2019/10/11 07:39:11 Gathering data for pod "cluster-version-operator-59cc658c74-vgbqw" ...... Since the bug has been fixed, could you change this bug to on_qa, so that QE can verify it. Moving to verified per comment #3. 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-2019:2922 |