Bug 2002273
Summary: | White blank page on Topology List view, Deploy Image, and +Add pages | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chris Suszynski <ksuszyns> | ||||||
Component: | Dev Console | Assignee: | Christoph Jerolimov <cjerolim> | ||||||
Status: | CLOSED ERRATA | QA Contact: | spathak <spathak> | ||||||
Severity: | medium | Docs Contact: | Olivia Payne <opayne> | ||||||
Priority: | high | ||||||||
Version: | 4.8 | CC: | aos-bugs, cjerolim, nmukherj, opayne, rmehra, sbudhwar | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 4.9.z | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Previously, opening the *Edit Deployment* page in the {product-title} web console resulted in a blank browser tab. In the current release, opening the *Edit Deployment* page for a non-existent Deployment resource results in a 404 error page. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2002273[*BZ#2002273*])
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2022-03-16 11:38:43 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: | 2060616 | ||||||||
Attachments: |
|
Description
Chris Suszynski
2021-09-08 11:57:45 UTC
We are using cluster-pools on the CI so that actual version of OCP was 4.8.3 in this case. As can be seen here: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-knative-serverless-operator-main-4.8-e2e-aws-ocp-48-continuous/1435392732074872832/artifacts/e2e-aws-ocp-48-continuous/gather-extra/artifacts/clusterversion.json Another fun affected by this issue. This time cluster was in 4.8.10 version. https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-knative-serverless-operator-main-4.8-e2e-aws-ocp-48-continuous/1435754908740489216 Created attachment 1823414 [details] UI test logs with cypress-terminal-report plugion to try to display ODC logs A log on reproduction on OCP 4.8.10. This is running with this commit https://github.com/cardil/serverless-operator/commit/e6d8bf0e6e8cc372b5c57399c4cb41f95aa3a280 that adds a cypress-terminal-report plugin so that ODC logs could be visible in case of failure. Created attachment 1823416 [details]
Visible blank white screen after 60 seconds from previous command
Comment on attachment 1823414 [details]
UI test logs with cypress-terminal-report plugion to try to display ODC logs
The error - blank screen happens at line 1149 in the log. And the command that surely succeed is at line 1071.
So maybe some massage between lines 1071-1149 could lead to this blank screen. Maybe, it might be some non handled exception?!?
After discussion with @jakumar we think the root cause probably lay in ODC code base. The exception could be seen at lines 1162-1171 of attached log. That leads to ODC code, although in minified compiled form. ``` cons:error ✘ TypeError: Cannot read property 'kind' of null at I (https://console-openshift-console.apps.ksuszyns-308-ocp4x-aws-clean.openshift-aws.rhocf-dev.net/static/dev-console-edit-chunk-ade0d1bba0a484b9cd 28.min.js:1:108158) at $ (https://console-openshift-console.apps.ksuszyns-308-ocp4x-aws-clean.openshift-aws.rhocf-dev.net/static/dev-console-edit-chunk-ade0d1bba0a484b9cd 28.min.js:1:110175) at https://console-openshift-console.apps.ksuszyns-308-ocp4x-aws-clean.openshift-aws.rhocf-dev.net/static/dev-console-edit-chunk-ade0d1bba0a484b9cd28. min.js:1:116126 at K (https://console-openshift-console.apps.ksuszyns-308-ocp4x-aws-clean.openshift-aws.rhocf-dev.net/static/dev-console-edit-chunk-ade0d1bba0a484b9cd 28.min.js:1:116295) at t.a (https://console-openshift-console.apps.ksuszyns-3 ... ``` I have verified on 4.9.23 that https://github.com/openshift/console/pull/9253 solves that the console doesn't crash anymore when edit a Deployment, a DeploymentConfig and a Serverless Service that doesn't exist. Chris (@ksuszyns) would you like to review/verify this PR here as well or #2060616 (after it is closed and available for 4.8 as well)? 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.9.24 bug fix 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/RHBA-2022:0798 |