Bug 1856317 - must-gather creates empty files occasionally
Summary: must-gather creates empty files occasionally
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Performance Addon Operator
Version: 4.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.5.z
Assignee: Martin Sivák
QA Contact: Gowrishankar Rajaiyan
URL:
Whiteboard:
Depends On: 1852619
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-13 11:54 UTC by Artyom
Modified: 2021-11-26 14:30 UTC (History)
5 users (show)

Fixed In Version: performance-addon-operator-must-gather-rhel8-container-v4.5.0-14
Doc Type: No Doc Update
Doc Text:
This is the first release, the bug was found internally.
Clone Of: 1852619
Environment:
Last Closed: 2020-07-30 18:56:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3028 0 None None None 2020-07-30 18:57:33 UTC

Description Artyom 2020-07-13 11:54:18 UTC
+++ This bug was initially created as a clone of Bug #1852619 +++

Description of problem:
 Sometimes (rarely) must-gather creates empty files:

[root@dell-r640-004 ~]# ls -la nodes/worker-0/lscpu
-rw-r--r--. 1 root root 0 Jun 30 14:29 nodes/worker-0/lscpu


Version-Release number of selected component (if applicable):
# oc version
Client Version: 4.4.10
Server Version: 4.4.10

must-gather image:
        "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift4/performance-addon-operator-must-gather-rhel8/images/v4.4.0-6"

--- Additional comment from Francesco Romani on 2020-07-01 09:34:06 UTC ---

(In reply to Denys Shchedrivyi from comment #0)
> Description of problem:
>  Sometimes (rarely) must-gather creates empty files:
> 
> [root@dell-r640-004 ~]# ls -la nodes/worker-0/lscpu
> -rw-r--r--. 1 root root 0 Jun 30 14:29 nodes/worker-0/lscpu
> 
> 
> Version-Release number of selected component (if applicable):
> # oc version
> Client Version: 4.4.10
> Server Version: 4.4.10
> 
> must-gather image:
>         "url":
> "https://access.redhat.com/containers/#/registry.access.redhat.com/
> openshift4/performance-addon-operator-must-gather-rhel8/images/v4.4.0-6"

How often does this happen? Say 1 in 10 times, 1 in 5, 1 in 20?

--- Additional comment from Denys Shchedrivyi on 2020-07-02 13:52:50 UTC ---

hm, I can't reproduce issue with empty files, but I see another behavior: on every 3-4 runs it does not collect lscpu, lspci and proc_cmdline files for some of worker nodes:

# ls -la nodes/worker-0
total 96876
drwxr-xr-x.  2 root root       81 Jul  2 09:48 .
drwxr-xr-x. 10 root root      159 Jul  2 09:48 ..
-rw-r--r--.  1 root root      198 Jul  2 09:47 lscpu
-rw-r--r--.  1 root root    36451 Jul  2 09:47 lspci
-rw-r--r--.  1 root root      347 Jul  2 09:47 proc_cmdline
-rw-r--r--.  1 root root 99155968 Jul  2 09:48 worker-0_logs_kubelet

# ls -la nodes/worker-1
total 110368
drwxr-xr-x.  2 root root        35 Jul  2 09:48 .
drwxr-xr-x. 10 root root       159 Jul  2 09:48 ..
-rw-r--r--.  1 root root 113016832 Jul  2 09:48 worker-1_logs_kubelet

Comment 1 Denys Shchedrivyi 2020-07-24 18:13:00 UTC
Verified on 4.5.3 with build: performance-addon-operator-must-gather-rhel8-container-v4.5.0-14

Comment 4 errata-xmlrpc 2020-07-30 18:56:59 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, 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-2020:3028


Note You need to log in before you can comment on or make changes to this bug.