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

Bug 2032464

Summary: must-gather fails to collect performance-specific data when more than --image argument is supplied
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Performance Addon OperatorAssignee: Martin Sivák <msivak>
Status: CLOSED ERRATA QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: medium Docs Contact:
Priority: high    
Version: 4.10CC: alukiano, aos-bugs, mariofer, shajmakh, tmulquee
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: More than one --image argument is supplied to must-gather Consequence: must-gather does not collect node related logs Fix: Use HOSTNAME environment variable to get the must-gather pod name instead of getting it from a client Result: must-gather succeeds to collect performance-addon-operator related data also when called with additional --image arguments
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-05 18:55:48 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: 2018185    
Bug Blocks:    

Comment 3 Shereen Haj Makhoul 2022-01-04 15:37:08 UTC
Verification:

Versions:
ocp: 4.8.25
Must-gather: v4.8.5-8

Steps:
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.8.5-8

results:
[root@dell-r640-008 ocp483343297-worker-0.libvirt.lab.eng.tlv2.redhat.com]# ls 
cpu_affinities.json  irq_affinities.json  lscpu  lspci  ocp483343297-worker-0.libvirt.lab.eng.tlv2.redhat.com_logs_kubelet.gz  podresources.json  proc_cmdline  sysinfo.log  sysinfo.tgz
[root@dell-r640-008 ocp483343297-worker-0.libvirt.lab.eng.tlv2.redhat.com]# cd ../
[root@dell-r640-008 nodes]# cd ocp483343297-worker-1.libvirt.lab.eng.tlv2.redhat.com/
[root@dell-r640-008 ocp483343297-worker-1.libvirt.lab.eng.tlv2.redhat.com]# ls 
cpu_affinities.json  irq_affinities.json  lscpu  lspci  ocp483343297-worker-1.libvirt.lab.eng.tlv2.redhat.com_logs_kubelet.gz  podresources.json  proc_cmdline  sysinfo.log  sysinfo.tgz

As can be seen above, all files are found under both nodes, hence verified.

Comment 6 errata-xmlrpc 2022-01-05 18:55:48 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.8.25 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-2022:0036