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

Bug 1924663

Summary: Insights operator should collect related pod logs when operator is degraded
Product: OpenShift Container Platform Reporter: Vadim Rutkovsky <vrutkovs>
Component: Insights OperatorAssignee: Ricardo Lüders <rluders>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, inecas, mklika, rluders, tremes, wking
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: The ClusterOperator Gather can now collect logs from pods that are related to unhealthy operators, and/or that are living in the same namespace that the operator. Reason: The insights operator should be able to determine the namespace associated with the operator and include pod logs in the bundle. Result: It is now collecting logs from unhealthy pods, not only related to the operator but from every pod that lives in the operator namespace.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:40:55 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: 1953579    

Description Vadim Rutkovsky 2021-02-03 12:04:13 UTC
Description of problem:
Sometimes operators hit unexpected situation with pods being healthy - i.e. MCO can't rollout the config, but all pods are Running. In that case pod logs are not collected - and OTA team has to request must-gather from the customer.

Insights operator should be able to determine the namespace associated with the operator and include pod logs in the bundle

Comment 4 Pavel Šimovec 2021-04-06 07:38:27 UTC
TestArchiveContains::Logs passed (it degrades monitoring operator in its process)

Comment 7 errata-xmlrpc 2021-07-27 22:40:55 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438