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

Bug 2018185

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: unspecified    
Version: 4.10CC: aos-bugs, mariofer, shajmakh, yquinn
Target Milestone: ---   
Target Release: 4.9.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: 2021-12-13 13:06:47 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: 2018159    
Bug Blocks: 2032464, 2118632    

Comment 4 Shereen Haj Makhoul 2021-12-09 09:24:41 UTC
Verification
++++++++++++

Image used:
registry-proxy.engineering.redhat.com/rh-osbs/openshift4-performance-addon-operator-must-gather-rhel8:v4.9.3-3


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.9.3-3

Inside the must gather generated directory check if all performance-related files are there:
on worker-0
cpu_affinities.json  irq_affinities.json  lscpu  lspci  ocp49-worker-0.demo.lab.shajmakh_logs_kubelet.gz  podresources.json  proc_cmdline  sysinfo.log  sysinfo.tgz

On worker-1:
cpu_affinities.json  irq_affinities.json  lscpu  lspci  ocp49-worker-1.demo.lab.shajmakh_logs_kubelet.gz  podresources.json  proc_cmdline  sysinfo.log  sysinfo.tgz


From the above output, all expected files were found. Moving the BZ to verified.

Comment 7 errata-xmlrpc 2021-12-13 13:06:47 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.11 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:5054