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

Bug 1906355

Summary: must-gather may fail to collect node logs
Product: OpenShift Container Platform Reporter: Francesco Romani <fromani>
Component: Performance Addon OperatorAssignee: Francesco Romani <fromani>
Status: CLOSED CURRENTRELEASE QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.7CC: kquinn, mniranja, vlaad
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Incorrect wait in must-gather internals leads to too early termination of log gathering Consequence: Depending on timing, thus unpredictably, the log gathering operation may be interrupted prematurely, leading to partial log collection. Fix: Add correct wait in must-gather Result: Log gathering is now atomic and expected to succeed, or clear error reported.
Story Points: ---
Clone Of:
: 1913675 (view as bug list) Environment:
Last Closed: 2022-08-26 13:57:42 UTC Type: Bug
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:    
Bug Blocks: 1913675, 1913676    

Description Francesco Romani 2020-12-10 11:22:31 UTC
Description of problem:
Due to a bug in the collection logic, there is a good chance that must-gather fails to collect the node logs randomly - and without a good reason.


Version-Release number of selected component (if applicable):
4.6


How reproducible:
Hard to predict, strongly related to timing. We expect this to happen pretty often


Steps to Reproduce:
1. just run the performance-addon must-gather image

Actual results:
node logs are missing with random chance (hard to predict). No error is reported if the logs are missing.

Expected results:
node logs should be collected 100% of times OR a clear error should be emitted if node logs can't be collected.

Comment 2 Denys Shchedrivyi 2021-01-12 21:38:05 UTC
verified on performance-addon-operator-must-gather-rhel8-container-v4.7.0-35