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

Bug 1851492

Summary: Limit collected log size
Product: OpenShift Container Platform Reporter: Vadim Rutkovsky <vrutkovs>
Component: Insights OperatorAssignee: Alexandre Vicenzi <avicenzi>
Status: CLOSED ERRATA QA Contact: Angelina Vasileva <anikifor>
Severity: low Docs Contact: Radek Vokál <rvokal>
Priority: unspecified    
Version: 4.5CC: anikifor, avicenzi, inecas, rvokal
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1851491 Environment:
Last Closed: 2020-08-17 20:05:20 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: 1851491    
Bug Blocks:    

Description Vadim Rutkovsky 2020-06-26 17:30:55 UTC
+++ This bug was initially created as a clone of Bug #1851491 +++

Instead of limiting a number of lines we fetch from container Insights operator should estimate how many bytes would be written (based on available log budget and number of unhealthy containers). This would ensure large log lines don't affect bundle size

Comment 3 Angelina Vasileva 2020-08-07 13:29:55 UTC
Fixed and verified in 4.5.0-0.nightly-2020-08-07-024812

Comment 5 errata-xmlrpc 2020-08-17 20:05:20 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.5.6 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-2020:3330