Bug 2060924 - Console white-screens while using debug terminal
Summary: Console white-screens while using debug terminal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.11.0
Assignee: Zac Herman
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks: 2065672
TreeView+ depends on / blocked
 
Reported: 2022-03-04 15:04 UTC by Samuel Padgett
Modified: 2022-08-10 10:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Version: 4.10.0-0.nightly-2022-01-31-012936 Cluster ID: 20f3b657-8e2b-485c-b73a-408d76478d5c Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.105 Safari/537.36
Last Closed: 2022-08-10 10:52:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11185 0 None open Bug 2060924: Fix alert from showing an object 2022-03-16 01:50:56 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:52:30 UTC

Description Samuel Padgett 2022-03-04 15:04:36 UTC
Steps to reproduce:

1. Perspectives -> Developer
2. +Add -> Container image
3. Type nginx then hit submit
4. Click deployment in topology view
5. Wait for crash-loop status
6. Click status and click debug in terminal

I see a whitescreen. I believe we're trying to render an object instead of a string showing the error message.

Error:

Objects are not valid as a React child (found: a: pods "nginx-8699d9b4d5-fcflp-debug-g7q5k" not found). If you meant to render a collection of children, use an array instead.

vendors~main-chunk-704882886958c49b4e68.min.js:174875 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=a%3A%20pods%20%22nginx-8699d9b4d5-fcflp-debug-g7q5k%22%20not%20found for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at _o (vendors~main-chunk-704882886958c49b4e68.min.js:263:51096)
    at p (vendors~main-chunk-704882886958c49b4e68.min.js:263:52712)
    at g (vendors~main-chunk-704882886958c49b4e68.min.js:263:53813)
    at vendors~main-chunk-704882886958c49b4e68.min.js:263:55890
    at Da (vendors~main-chunk-704882886958c49b4e68.min.js:263:66927)
    at Hs (vendors~main-chunk-704882886958c49b4e68.min.js:263:113121)
    at xc (vendors~main-chunk-704882886958c49b4e68.min.js:263:98327)
    at Cc (vendors~main-chunk-704882886958c49b4e68.min.js:263:98255)
    at _c (vendors~main-chunk-704882886958c49b4e68.min.js:263:98118)
    at pc (vendors~main-chunk-704882886958c49b4e68.min.js:263:95105)

Comment 3 Yanping Zhang 2022-03-21 07:45:01 UTC
Checked on ocp 4.11 with payload 4.11.0-0.nightly-2022-03-20-113855
Steps to verify:
1. Perspectives -> Developer
2. +Add -> Container image
3. Type nginx then hit submit
4. Click deployment in topology view
5. Wait for crash-loop status
6. Click status and click debug in terminal, now an alert shows up in page:
Danger alert:pods "nginx-c74756b45-cc9p4-debug-fdzzq" not found
The whitescreen issue is fixed.

Comment 5 errata-xmlrpc 2022-08-10 10:52:11 UTC
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


Note You need to log in before you can comment on or make changes to this bug.