Bug 1967933
Summary: | Network-Tools debug scripts not working as expected | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Matthew Robson <mrobson> |
Component: | Networking | Assignee: | Surya Seetharaman <surya> |
Networking sub component: | openshift-sdn | QA Contact: | Dan Brahaney <dbrahane> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | erich, jhou, surya, vlours |
Version: | 4.8 | ||
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-27 23:11:38 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
Matthew Robson
2021-06-04 13:08:48 UTC
@mrobson: The script name is sdn_cluster_and_node_info not sdn_node_and_cluster_info oc adm must-gather --image=quay.io/openshift/origin-network-tools:latest -- sdn_cluster_and_node_info [must-gather ] OUT Using must-gather plugin-in image: quay.io/openshift/origin-network-tools:latest [must-gather ] OUT namespace/openshift-must-gather-v85kl created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-btm8g created [must-gather ] OUT pod for plug-in image quay.io/openshift/origin-network-tools:latest created [must-gather-g5n55] POD INFO: Gathering cluster wide info like nodes, pods, svc, eps, routes, hostsubnets, netns [must-gather-g5n55] POD W0608 05:59:28.085695 86 top_node.go:119] Using json format to get metrics. Next release will switch to protocol-buffers, switch early by passing --use-protocol-buffers flag [must-gather-g5n55] POD INFO: Gathering node wise info [must-gather-g5n55] POD INFO: User did not provide node name in input. Selecting all nodes. [must-gather-g5n55] POD namespace/openshift-network-tools-6b62j created [must-gather-g5n55] POD Now using project "openshift-network-tools-6b62j" on server "https://172.30.0.1:443". [must-gather-g5n55] POD INFO: Creating host-network-pod ci-ln-z01i9mt-f76d1-kffvh-master-0-debug on node ci-ln-z01i9mt-f76d1-kffvh-master-0 to gather information [must-gather-g5n55] POD INFO: Scheduling ci-ln-z01i9mt-f76d1-kffvh-master-0-debug on ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD pod/ci-ln-z01i9mt-f76d1-kffvh-master-0-debug condition met [must-gather-g5n55] POD INFO: Gathering nmcli --nocheck -f all dev show from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering nmcli -- nocheck -f all con show from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering ip addr show from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering ip route show from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering ip -s neighbor show from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering iptables-save from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering cat /etc/hosts from node ci-ln-z01i9mt-f76d1-kffvh-master-0 [must-gather-g5n55] POD INFO: Gathering cat /etc/resolv.conf from node ci-ln-z01i9mt-f76d1-kffvh-master-0 ...... PR https://github.com/openshift/network-tools/pull/46 fixes the output wanting to be downloaded into the must-gather directory. Please run oc adm must-gather --image=quay.io/openshift/origin-network-tools:latest --source-dir="network-tools" -- sdn_cluster_and_node_info and see. I just tried this now and it works for me. I'm not seeing the label issue either-- and the other reported issues in this bug are not issues, as Surya has already described. It seems the image works just fine when run via must-gather. I think the confusion is just with the fact that this image does not actually download any files, so on a healthy cluster will show no output. marking verified. 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.8.2 bug fix and security 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-2021:2438 |