Bug 1851491
| Summary: | Limit collected log size | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vadim Rutkovsky <vrutkovs> | |
| Component: | Insights Operator | Assignee: | Alexandre Vicenzi <avicenzi> | |
| Status: | CLOSED ERRATA | QA Contact: | Angelina Vasileva <anikifor> | |
| Severity: | low | Docs Contact: | Radek Vokál <rvokal> | |
| Priority: | unspecified | |||
| Version: | 4.6 | CC: | avicenzi, inecas | |
| Target Milestone: | --- | |||
| Target Release: | 4.6.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1851492 (view as bug list) | Environment: | ||
| Last Closed: | 2020-10-27 16:09:46 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: | 1851492 | |||
|
Description
Vadim Rutkovsky
2020-06-26 17:29:19 UTC
Fixed and verified in 4.6.0-0.nightly-2020-06-30-020342 1. Degrade operator so the logs will be collected (https://bugzilla.redhat.com/show_bug.cgi?id=1838973#c3) 2. Enter some pod oc rsh prometheus-k8s-0 3. Write there something like $ yes "Some text" | head -n 100000 > /proc/1/fd/1 4. Verify the log (in that case prometheus_current.log) doesn't exceed 100 lines or https://github.com/openshift/insights-operator/pull/128/files#diff-397c7d21d587358413d334b87528a7cbR215 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.6 GA Images), 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-2020:4196 |