Description of problem: The logs pages of pods always show incorrect lines number. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Go to any of the pods, click on the Logs tab. 2. Check the line numbers at the top of the log window. Actual results: The lines number shows in the banner is always 1 more than the actual lines number. (e.g. If there is only 1 line in the log window, the banner will show "2 lines") Expected results: The lines number that shows in the banner should be aligned with the actual lines number of the logs. Additional info:
This bug has been fixed and verified on payload 4.9.0-0.nightly-2021-08-31-123131 Verification steps: 1. Login OCP and go to any of the pods, click on the Logs tab. 2. Check the line numbers at the top of the log window. Result: 2. The lines number that shows in the banner is aligned with the actual lines number of the logs.
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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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/RHSA-2021:3759