Bug 1924663 - Insights operator should collect related pod logs when operator is degraded
Summary: Insights operator should collect related pod logs when operator is degraded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: Ricardo Lüders
QA Contact: Pavel Šimovec
URL:
Whiteboard:
Depends On:
Blocks: 1953579
TreeView+ depends on / blocked
 
Reported: 2021-02-03 12:04 UTC by Vadim Rutkovsky
Modified: 2021-07-27 22:41 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2021-07-27 22:40:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 355 0 None open Bug 1924663: Gather related pod logs when a cluster operator is degraded 2021-03-19 14:00:44 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:41:21 UTC

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


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