Bug 1895372
Summary: | Web console going blank after selecting any operator to install from OperatorHub | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yash Chouksey <ychoukse> | ||||
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yanping Zhang <yanpzhan> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.5 | CC: | aos-bugs, ivn13452, jokerman, rhamilto, spadgett, yapei | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Previously, an OperatorGroup with a missing `status` block in any namespace could cause a runtime error in the web console when installing a new operator from OperatorHub. The problem has been fixed.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-24 15:31:26 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: | 1896600 | ||||||
Attachments: |
|
Description
Yash Chouksey
2020-11-06 14:17:15 UTC
Jakub Hadvig tried and failed to reproduce on a fresh 4.5.16 cluster. I tried and failed to reproduce using Firefox 82.0.3 for macOS 10.15.7, namespace 'gitlab-runner', and operator 'gitlab' on a fresh 4.5.14 cluster. Are there any browser console errors present when the error occurs? Created attachment 1727892 [details]
Console pod logs
> However, we didn't see any errors on the developer console while replicating the issue on Cu's env. Did you mean the web console (e.g., https://developer.mozilla.org/en-US/docs/Tools/Web_Console)? Typically when the entire browser window goes white (empty), that means the entire OpenShift web console app has crashed, and I would expect to see one or more errors in the web console. We've been able to reproduce. This is happening because one of the OperatorGroup resources doesn't have a `status` stanza, which causes a runtime error in console. Uncaught TypeError: og.status is undefined We're working on a fix, but you should be able to workaround this problem in the meantime by adding editing any OperatorGroup without a `status` and adding `status: {}` to the YAML. (In reply to Samuel Padgett from comment #9) > We're working on a fix, but you should be able to workaround this problem in > the meantime by adding editing any OperatorGroup without a `status` and > adding `status: {}` to the YAML. Actually it probably has to be status: namespaces: [] Checked on ocp 4.7 cluster with payload 4.7.0-0.nightly-2020-11-11-055454, create operatorgroup with file in attachment. Then go to operatorhub page, choose an operator, click "Install", the page shows up correctly, it's not blank now. The bug is fixed. 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.7.0 security, bug fix, and enhancement 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-2020:5633 Knowledge4Sure has all the valid CrowdStrike Affirmed Hawk Overseer test questions and answers that you really want as test dumps. You don't need to sit around idly searching for the credible CCFA-200 test braindumps as we have everything at Knowledge4Sure. Assuming that you plan with our CrowdStrike CCFA-200 test questions and replies, your prosperity is ensured. Visit Page: https://www.knowledge4sure.com/CCFA-200-exam-questions.html |