Bug 1913356

Summary: (release-4.7) Implemented gathering specific logs from openshift apiserver operator
Product: OpenShift Container Platform Reporter: Serhii Zakharov <szakharo>
Component: Insights OperatorAssignee: Serhii Zakharov <szakharo>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, inecas, mklika, tremes
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: collects logs from openshift-apiserver-operator with following substrings: - "the server has received too many requests and has asked us" - "because serving request timed out and response had been started" Reason: https://access.redhat.com/solutions/5448851 Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:50:41 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:

Description Serhii Zakharov 2021-01-06 15:05:10 UTC

Comment 3 Pavel Šimovec 2021-01-13 11:16:46 UTC
According to documentation, archive was supposed to contain config/pod/{namespace}/logs/.*\.log files
it contains:

        config/pod/openshift-monitoring/logs/prometheus-k8s-0/config-reloader_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-0/kube-rbac-proxy_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-0/prom-label-proxy_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-0/prometheus-proxy_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-0/prometheus_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-0/prometheus_previous.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-0/thanos-sidecar_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/config-reloader_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/kube-rbac-proxy_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/prom-label-proxy_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/prometheus-proxy_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/prometheus_current.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/prometheus_previous.log
        config/pod/openshift-monitoring/logs/prometheus-k8s-1/thanos-sidecar_current.log

Verified on commit with hash bcc800977928b28d43dfc3685a716c160402cec0

Comment 6 errata-xmlrpc 2021-02-24 15:50:41 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.7.0 security, bug fix, and enhancement 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-2020:5633