-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.13, 4.12, 4.11, 4.10
-
None
Description of problem:
When multiple consecutive spaces are present in Pod logs, the spaces are collapsed and white-space is not retained when reviewing logs via the OpenShift Web Console. The white-space is retained when reviewing via the 'raw' output and via the `oc logs` command but the white-space is collapsed when reviewing via the `logs` panel in the OpenShift Web Console. This mangles the output of tables in the logs.
Version-Release number of selected component (if applicable):
4.13
How reproducible:
Everytime
Steps to Reproduce:
1. Create a Pod which outputs a table in the logs 2. Review the output table in the Pod logs via the OpenShift Web Console
Actual results:
The spaces in the table are collapsed
Expected results:
The table formatting should be maintained
Additional info:
- During testing, I have added the `white-space:pre` styling for the log lines and this has resolved the white space issues. The styling of the logs do not appear to styled to retain the white-space formatting - Tested on OCP 4.10.53 and 4.13.4 and both have the issue
- links to
-
RHEA-2023:7198 rpm
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update