Bug 1874558
Summary: | Long log lines cause OpenShift 4 Console to not show logs | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Christopher Wawak <cwawak> | ||||
Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.5 | CC: | aos-bugs, jokerman, jonjacks, spadgett, sparpate, yapei | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.6.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: Extremely long log lines is a resource would cause performance issues on resource log pages.
Consequence: Resource log page would become slow or unresponsive.
Fix: Limit the number of chars per log line that are displayed on the resource log page and provide an alternate means to view full log content.
Result: Resource log page performs well even when logs contain extremely long lines.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-10-27 16:36:42 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: | |||||||
Attachments: |
|
Description
Christopher Wawak
2020-09-01 15:18:23 UTC
I have a simple, facile container image I created to reproduce this bug: quay.io/cwawak/logspewtest Based on https://bugzilla.redhat.com/show_bug.cgi?id=1874151 the CLI should be working as expected. Haven't had a chance to look into this. Will address in upcoming sprint. Created attachment 1717735 [details]
Long Pod logs
1. Create a pod with image quay.io/cwawak/logspewtest
apiVersion: v1
kind: Pod
metadata:
name: example
spec:
containers:
- name: test
image: quay.io/cwawak/logspewtest
2. View pod logs on console, we can see warining message:
Some lines have been abridged because they are exceptionally long.
To view unabridged log content, you can either open the raw file in another window or download it.
Click on `open the raw file in another window` will open a new tab and complete pod logs are shown there.
Click on `download it` will open a download dialog and user can download & save complete pod log
Verified on 4.6.0-0.nightly-2020-09-29-170625
sorry, changed assigned back 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 |