Bug 2091901
| Summary: | Log stream paused right after updating log lines in Web Console in OCP4.10 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hyosun Kim <hyoskim> |
| Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> |
| Status: | CLOSED ERRATA | QA Contact: | Xiyun Zhao <xiyuzhao> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10 | CC: | jhadvig, xiyuzhao, yanpzhan, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 11:15:13 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2094194 | ||
|
Description
Hyosun Kim
2022-05-31 09:31:52 UTC
When reproducing, I find a `cluster-version-operator-*` pod to be a good option where logs update regularly. This is the result of an upstream bug in PatternFly. Bug filed: https://github.com/patternfly/patternfly-react/issues/7498 Per Juntao Wang on the PatternFly team:
> This is because when we use `onScroll` callback function, we inspect the `scrollOffsetToBottom` to decide whether to pause the log or not. But this value is not accurate in Chrome for some reason. It could be 0.5 sometimes instead of 0. So the best solution would be changing this line in console https://github.com/openshift/console/blob/master/frontend/public/components/utils/resource-log.tsx#L569 to `if (scrollOffsetToBottom < 1)`, then this log viewer would work perfectly.
I will make this change and test.
Hi @Hyosun Kim, I cannot reproduce this issue on 4.10.12 & 4.10.9 by using Chrome (102.0.5005.61) on the Macs environment(Attached reference) Could you help to double confirm and verify if this issue is fixed on OCP 4.11? Currently this update will not imapcat Linux environment (Confirm on Chrome (102.0.5005.61), Firefox(101.0 (64-bit)), Edge(102.0.1245.33) and Safari(15.5)) Hi @Xiyun Zhao Thank you for sharing your test lab. I confirmed that the issue is not reproduced anymore in OCP4.11 #Test Env - Mac - Chrome 102.0.5005.61 - OCP4.11 - Fixed - OCP4.10.12 - Issue is reproduced. I have attached the test results as a video. @Hyosun Kim Thanks for your confirmation.Now this bug is move to verified 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 (Important: OpenShift Container Platform 4.11.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-2022:5069 |