Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2021407

Summary: [4.9.z] must-gather: gather-sysinfo binary not present in the container image
Product: OpenShift Container Platform Reporter: Martin Sivák <msivak>
Component: Performance Addon OperatorAssignee: Mario Fernández <mariofer>
Status: CLOSED ERRATA QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, dbrahane, fromani, grajaiya, mariofer, shajmakh
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2021036
: 2021410 (view as bug list) Environment:
Last Closed: 2021-11-29 14:35:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2021036    
Bug Blocks: 2021410    

Comment 4 Dan Brahaney 2021-11-18 16:41:02 UTC
@grajaiya Can you please verify this ASAP for the 4.9.8 release scheduled Mon 11/22? Ty

Comment 6 Shereen Haj Makhoul 2021-11-26 12:21:34 UTC
Verification
++++++++++++

Version:
 oc version 
Client Version: 4.9.7
Server Version: 4.9.9

must-gather: registry.stage.redhat.io/openshift4/performance-addon-operator-must-gather-rhel8:v4.9.2-7

[root@ocp-edge41 must-gather.local.3838471204326802621]# find -iname "sysinfo.log"
./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38/nodes/ocp48-worker-0.demo.lab.shajmakh/sysinfo.log
./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38/nodes/ocp48-worker-1.demo.lab.shajmakh/sysinfo.log

Inspect into both the logs:

vim ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38/nodes/ocp48-worker-0.demo.lab.shajmakh/sysinfo.log

-> no error/fail words were found

vim ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38/nodes/ocp48-worker-1.demo.lab.shajmakh/sysinfo.log

-> no error/fail words were found

the generated hash in the files name matches the repoDigests of the same pulled image:

- podman pull registry-proxy.engineering.redhat.com/rh-osbs/openshift4-performance-addon-operator-must-gather-rhel8:v4.9.2-7
 use the generated hash in the inspect command:

- podman inspect 99cae23ac26aaa24f886105b2437470278240af1ca1e1168c8afea77d2b34ca8

"RepoDigests": [
            "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-performance-addon-operator-must-gather-rhel8@sha256:15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38",  <----
            "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-performance-addon-operator-must-gather-rhel8@sha256:80165a6e109b9dd3c347dee5c524964ac2b28795d7abf47ed004c48abcaf82e0"
        ],
According to the above results, the bug is verified successfully.

Comment 7 Shereen Haj Makhoul 2021-11-26 13:09:57 UTC
In addition to the above verification, below are parts of the content of the logs:

cat ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38/nodes/ocp48-worker-0.demo.lab.shajmakh/sysinfo.log


knit2021/11/26 11:24:05 copying spec: "/host/sys/devices/pci0000:00/0000:00:05.0/device"
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/pci0000:00/0000:00:05.0/device"
knit2021/11/26 11:24:05     copying file: "/host/sys/devices/pci0000:00/0000:00:05.0/device"
knit2021/11/26 11:24:05 creating /tmp/perf-must-gather-604476425/host/sys/devices/pci0000:00/0000:00:05.0/device
knit2021/11/26 11:24:05 copying spec: "/host/sys/devices/system/node/has_*"
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/system/node/has_cpu"
knit2021/11/26 11:24:05     copying file: "/host/sys/devices/system/node/has_cpu"
knit2021/11/26 11:24:05 creating /tmp/perf-must-gather-604476425/host/sys/devices/system/node/has_cpu
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/system/node/has_generic_initiator"
knit2021/11/26 11:24:05     copying file: "/host/sys/devices/system/node/has_generic_initiator"
knit2021/11/26 11:24:05 creating /tmp/perf-must-gather-604476425/host/sys/devices/system/node/has_generic_initiator
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/system/node/has_memory"
knit2021/11/26 11:24:05     copying file: "/host/sys/devices/system/node/has_memory"
knit2021/11/26 11:24:05 creating /tmp/perf-must-gather-604476425/host/sys/devices/system/node/has_memory
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/system/node/has_normal_memory"
knit2021/11/26 11:24:05     copying file: "/host/sys/devices/system/node/has_normal_memory"
knit2021/11/26 11:24:05 creating /tmp/perf-must-gather-604476425/host/sys/devices/system/node/has_normal_memory
knit2021/11/26 11:24:05 copying spec: "/host/sys/devices/pci0000:00/0000:00:01.2/revision"
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/pci0000:00/0000:00:01.2/revision"
knit2021/11/26 11:24:05     copying file: "/host/sys/devices/pci0000:00/0000:00:01.2/revision"
knit2021/11/26 11:24:05 creating /tmp/perf-must-gather-604476425/host/sys/devices/pci0000:00/0000:00:01.2/revision
knit2021/11/26 11:24:05 copying spec: "/host/sys/devices/pci0000:00/0000:00:01.3/class"
knit2021/11/26 11:24:05   copying path: "/host/sys/devices/pci0000:00/0000:00:01.3/class"
...
knit2021/11/26 11:24:28 processing symlink /tmp/perf-must-gather-604476425/host/sys/devices/system/node/node0/cpu4
knit2021/11/26 11:24:28 processing symlink /tmp/perf-must-gather-604476425/host/sys/devices/system/node/node0/cpu5
knit2021/11/26 11:24:28 processing symlink /tmp/perf-must-gather-604476425/host/sys/devices/system/node/node0/cpu6
knit2021/11/26 11:24:28 processing symlink /tmp/perf-must-gather-604476425/host/sys/devices/system/node/node0/cpu7
knit2021/11/26 11:24:28 processing symlink /tmp/perf-must-gather-604476425/host/sys/devices/system/node/node0/cpu8
knit2021/11/26 11:24:28 processing symlink /tmp/perf-must-gather-604476425/host/sys/devices/system/node/node0/cpu9



cat ./registry-proxy-engineering-redhat-com-rh-osbs-openshift4-performance-addon-operator-must-gather-rhel8-sha256-15c6a78956877385ab404400bd94cf234929a248d59cca3758e373782686fd38/nodes/ocp48-worker-1.demo.lab.shajmakh/sysinfo.log

knit2021/11/26 11:24:46 copying spec: "/host/sys/devices/pci0000:00/0000:00:01.3/modalias"
knit2021/11/26 11:24:46   copying path: "/host/sys/devices/pci0000:00/0000:00:01.3/modalias"
knit2021/11/26 11:24:46     copying file: "/host/sys/devices/pci0000:00/0000:00:01.3/modalias"
knit2021/11/26 11:24:46 creating /tmp/perf-must-gather-228264847/host/sys/devices/pci0000:00/0000:00:01.3/modalias
knit2021/11/26 11:24:46 copying spec: "/host/sys/devices/pci0000:00/0000:00:02.0/revision"
knit2021/11/26 11:24:46   copying path: "/host/sys/devices/pci0000:00/0000:00:02.0/revision"
knit2021/11/26 11:24:46     copying file: "/host/sys/devices/pci0000:00/0000:00:02.0/revision"
knit2021/11/26 11:24:46 creating /tmp/perf-must-gather-228264847/host/sys/devices/pci0000:00/0000:00:02.0/revision
knit2021/11/26 11:24:46 copying spec: "/host/sys/devices/pci0000:00/0000:00:05.0/class"
knit2021/11/26 11:24:46   copying path: "/host/sys/devices/pci0000:00/0000:00:05.0/class"
knit2021/11/26 11:24:46     copying file: "/host/sys/devices/pci0000:00/0000:00:05.0/class"
knit2021/11/26 11:24:46 creating /tmp/perf-must-gather-228264847/host/sys/devices/pci0000:00/0000:00:05.0/class
...
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu31
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu4
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu5
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu6
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu7
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu8
knit2021/11/26 11:25:13 processing symlink /tmp/perf-must-gather-228264847/host/sys/devices/system/node/node0/cpu9

Comment 9 errata-xmlrpc 2021-11-29 14:35:27 UTC
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.9.9 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/RHBA-2021:4734

Comment 10 Red Hat Bugzilla 2023-09-15 01:17:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days