Bug 1852689 - Opening Terminal tab of a node which has disk pressure will got js error and blank page
Summary: Opening Terminal tab of a node which has disk pressure will got js error and ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 1852790 1853033
TreeView+ depends on / blocked
 
Reported: 2020-07-01 06:04 UTC by Yadan Pei
Modified: 2020-10-27 16:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:10:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Node Disk Pressure (331.08 KB, image/png)
2020-07-01 06:04 UTC, Yadan Pei
no flags Details
Node Disk Pressure Terminal Message (187.38 KB, image/png)
2020-08-19 07:34 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5869 0 None closed Bug 1852689: When node disk is under pressure NodeTerminalError should show pod's status message 2020-08-24 03:26:46 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:11:08 UTC

Description Yadan Pei 2020-07-01 06:04:59 UTC
Created attachment 1699415 [details]
Node Disk Pressure

Description of problem:
When a node has DiskPressure, on Node lists page we will show 'Disk Pressure', viewing its Terminal tab will got js error and blank page

Version-Release number of selected component (if applicable):
    4.5.0-0.nightly-2020-06-30-003734

How reproducible:
Always

Steps to Reproduce:
1. When some node has DiskPressure(see screenshot `Node Diskpressure`), visit its Terminal tab


Actual results:
1. page becomes blank and js error are reported
Oh no! Something went wrong.
TypeError
Description:

c.containerStatuses is undefined

Component Trace: 
in E
    in Unknown
    in Unknown
    in w
    in Unknown
    in w
    in Unknown
    in t
    in t
    in div
    in Data
    in StatusBox
    in div
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in w
    in Unknown
    in w
    in Unknown
    in s
    in DetailsPage
    in Unknown
    in c
    in Unknown
    in w
    in t
    in t
    in div
    in div
    in section
    in d
    in Unknown
    in w
    in w
    in div
    in div
    in f
    in p
    in div
    in p
    in NotificationDrawer
    in Unknown
    in w
    in main
    in div
    in b
    in component
    in t
    in t
    in t
    in t

Stack Trace: 
E@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/node-detail-chunk-de1e2371d8729e185a92.min.js:1:6234
Fo@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:55337
ha@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:62378
Ks@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:99519
Bs@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:84010
Ns@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:81035
Ds@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:79608
di/<@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:41759
t.unstable_runWithPriority@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:144:3878
li@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:41488
di@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:41707
pi@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:41640
Is@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:136:79935
notify@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:23:75934
a</t.notifyNestedSubs@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:23:75503
f</n.notifySubscribers@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:65:2428
a</t.handleChangeWrapper@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:23:75571
v@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:17:122529
b/</</<@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/main-chunk-5bae70193ec819545f9a.min.js:1:89823
dispatch@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-ad08a18433ffab6d64a8.min.js:17:126016
l/<@https://console-openshift-console.apps.tbuskeypub-1.qe.azure.devcluster.openshift.com/static/main-chunk-5bae70193ec819545f9a.min.js:1:84212

Expected results:
1. Node terminal is opened without error

Additional info:

Comment 2 Jakub Hadvig 2020-07-01 09:49:23 UTC
Was able to reproduce the issue on latest 4.6.

Comment 5 Yadan Pei 2020-07-27 05:39:04 UTC
verification blocked by bug 1852357 now

Comment 6 Yadan Pei 2020-08-19 07:34:19 UTC
Created attachment 1711813 [details]
Node Disk Pressure Terminal Message

Comment 7 Yadan Pei 2020-08-19 07:34:52 UTC
when node is at DiskPressure, goes to its Terminal tab

on the terminal page we will show an alert message "The debug pod failed. Pod The node had condition: [DiskPressure]" and terminal can not be opened

verified on 4.6.0-0.nightly-2020-08-18-165040

Comment 9 errata-xmlrpc 2020-10-27 16:10:31 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196


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