Bug 1874151 - Long log lines cause OpenShift Console to not show logs
Summary: Long log lines cause OpenShift Console to not show logs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.11.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-31 16:14 UTC by Christopher Wawak
Modified: 2023-12-15 19:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-02 18:40:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5363391 0 None None None 2020-09-01 15:10:28 UTC

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.


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