Bug 1874151

Summary: Long log lines cause OpenShift Console to not show logs
Product: OpenShift Container Platform Reporter: Christopher Wawak <cwawak>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED WONTFIX QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, jhadvig, jokerman
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-02 18:40:38 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 Christopher Wawak 2020-08-31 16:14:49 UTC
Description of problem:
Customer reports:
Latest application logs in one specific pod are not showing/loading in console but available when checking through CLI (oc logs <pod_name>)

Version-Release number of selected component (if applicable):
OpenShift 3.11.x

How reproducible:
Every time

Steps to Reproduce:
1. Run application that sends 300k character long log messages
2. Look at pod logs in admin console
3. Look at pod logs in oc logs cli

Actual results:
- Admin console doesn't show updated logs
- oc logs cli shows up-to-the-minute logs

Expected results:
- Same behavior

Additional info:

Comment 2 Christopher Wawak 2020-08-31 16:19:16 UTC
Is there an explicit character limitation for logging in the console? What additional information can I provide to determine if this is an expected failure or something we need to address?

All other pods and logging is normal, just this one with the long logs.

Comment 3 Jakub Hadvig 2020-08-31 17:44:48 UTC
There is no limitation for the character count. It's most probably due to the enormous character count for a single line.
Since there is a workaround, by using the CLI, we won't be fixing this cause the 3.11 is in maintenance mode.

Comment 6 Jakub Hadvig 2020-09-01 15:25:21 UTC
Hey Christopher,

There's no artificial per-log-message character limitation encoded in the entire log handling facility of OpenShift, so the issue is most likely in underlying technology.

> Jakub, 3.11 is in Full support until 2021 per this link [1]. Am I misreading this?

That is true, but that only stands for Security issues, which this is not.

If there is anything else I can clarify feel free to add a comment, otherwise I will close this issue in following days.