Description of problem: must-gather fails to copy gather_sysinfo Cause: missing COPY statement in dockerfile Error: [must-gather-xpd5p] POD 2021-11-04T16:35:55.803698303Z time="2021-11-04T16:35:55Z" level=error msg="exec failed: container_linux.go:380: st arting container process caused: exec: \"gather_sysinfo\": executable file not found in $PATH" Version-Release number of selected component (if applicable): 4.9 How reproducible: 100% Steps to Reproduce: 1. oc adm must-gather --image=registry.redhat.io/openshift4/performance-addon-operator-must-gather-rhel8:TAG 2. Inspect the logs sysinfo.log Actual results: Error in sysinfo.log gather-info not launched Expected results: gather-info works Additional info:
Verification ++++++++++++ Image: registry-proxy.engineering.redhat.com/rh-osbs/openshift4-performance-addon-operator-must-gather-rhel8:v4.10.0-16 oc adm must-gather --image-stream=openshift/must-gather --image=registry-proxy.engineering.redhat.com/rh-osbs/openshift4-performance-addon-operator-must-gather-rhel8:v4.10.0-16 Inspect into both logs & check they are as expected with no errors: [root@dell-r640-014 ~]# cd must-gather.local.7897968282288974473 [root@dell-r640-014 must-gather.local.7897968282288974473]# find -iname "sysinfo.log" ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-6399859c67f01ddd78f05a082aba0d3ab40399c92fb939f05478e05e32408da6/nodes/ocp49-worker-0.demo.lab.mniranja/sysinfo.log ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-6399859c67f01ddd78f05a082aba0d3ab40399c92fb939f05478e05e32408da6/nodes/ocp49-worker-1.demo.lab.mniranja/sysinfo.log - Check the results in both files: cat ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-6399859c67f01ddd78f05a082aba0d3ab40399c92fb939f05478e05e32408da6/nodes/ocp49-worker-0.demo.lab.mniranja/sysinfo.log knit2021/12/01 13:12:03 copying spec: "/host/sys/devices/pci0000:00/0000:00:03.0/vendor" knit2021/12/01 13:12:03 copying path: "/host/sys/devices/pci0000:00/0000:00:03.0/vendor" knit2021/12/01 13:12:03 copying file: "/host/sys/devices/pci0000:00/0000:00:03.0/vendor" knit2021/12/01 13:12:03 creating /tmp/perf-must-gather-716161370/host/sys/devices/pci0000:00/0000:00:03.0/vendor knit2021/12/01 13:12:03 copying spec: "/host/sys/devices/pci0000:00/0000:00:06.0/numa_node" ... knit2021/12/01 13:12:04 processing symlink /tmp/perf-must-gather-716161370/host/sys/devices/system/node/node0/cpu5 knit2021/12/01 13:12:04 processing symlink /tmp/perf-must-gather-716161370/host/sys/devices/system/node/node0/cpu6 knit2021/12/01 13:12:04 processing symlink /tmp/perf-must-gather-716161370/host/sys/devices/system/node/node0/cpu7 knit2021/12/01 13:12:04 processing symlink /tmp/perf-must-gather-716161370/host/sys/devices/system/node/node0/cpu8 knit2021/12/01 13:12:04 processing symlink /tmp/perf-must-gather-716161370/host/sys/devices/system/node/node0/cpu9 cat ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-6399859c67f01ddd78f05a082aba0d3ab40399c92fb939f05478e05e32408da6/nodes/ocp49-worker-1.demo.lab.mniranja/sysinfo.log knit2021/12/01 13:12:10 copying spec: "/host/sys/devices/system/node/node*/distance" knit2021/12/01 13:12:10 copying path: "/host/sys/devices/system/node/node0/distance" knit2021/12/01 13:12:10 copying file: "/host/sys/devices/system/node/node0/distance" knit2021/12/01 13:12:10 creating /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/distance knit2021/12/01 13:12:10 copying spec: "/host/sys/devices/pci0000:00/0000:00:01.1/numa_node" ... knit2021/12/01 13:12:15 processing symlink /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/cpu4 knit2021/12/01 13:12:15 processing symlink /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/cpu5 knit2021/12/01 13:12:15 processing symlink /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/cpu6 knit2021/12/01 13:12:15 processing symlink /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/cpu7 knit2021/12/01 13:12:15 processing symlink /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/cpu8 knit2021/12/01 13:12:15 processing symlink /tmp/perf-must-gather-2626296914/host/sys/devices/system/node/node0/cpu9 No error/fail words were found in the above logs. Hence, verified successfully.
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.10 low-latency extras 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/RHEA-2022:0640