Bug 2026659

Summary: (release-4.7) Collect all the related container logs of a degraded cluster operator
Product: OpenShift Container Platform Reporter: Tomas Remes <tremes>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Joao Fula <jfula>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, dmisharo, hyagi, inecas, jfula, mklika, tremes
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2026646 Environment:
Last Closed: 2021-12-16 09:34:23 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: 2026646    
Bug Blocks:    

Comment 2 Joao Fula 2021-12-06 10:18:04 UTC
Verified on 4.7.0-0.nightly-2021-12-04-102814.
 
Verification steps:

1. Disable Cluster Version Operator.
2. Degrade Cluster Monitoring Operator:
Edit "config.yaml" key value in "cluster-monitoring-config" config map of "openshift-monitoring" namespace.
Put any non-valid yaml there.
3. Wait until Cluster Monitoring Operator will be degraded:
oc get co
4. Restart Insights Operator
5. Wait until a new archive will be created.
6. Download the archive.

config/pod/openshift-monitoring/logs contains logs for all containers of "openshift-monitoring" namespace.

Comment 5 errata-xmlrpc 2021-12-16 09:34:23 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.7.40 bug fix 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:5088