Bug 1883566 - Error on topology if cluster is low on resources for knative service
Summary: Error on topology if cluster is low on resources for knative service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: Jaivardhan Kumar
QA Contact: Debsmita Santra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-29 15:20 UTC by Jaivardhan Kumar
Modified: 2020-10-27 16:46 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6782 0 None open Bug 1883566: adds check for kind before accessing 2020-09-29 23:10:44 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:46:52 UTC

Description Jaivardhan Kumar 2020-09-29 15:20:07 UTC
Description of problem:Error on topology if cluster is low on resources for knative service


Version-Release number of selected component (if applicable):


How reproducible: Intermittent


Steps to Reproduce:
1. Not easy to reproduce as this scenario occurs if cluster is low on resources for knative service UI shows underlying Deployment and thus now the sidebar is trying to open up a Knative sidebar when it needs a Deployment sidebar. It fails to match up the model used for this particular workload and hits a NPE failing to get it.


Actual results: Console shows error with white screen


Expected results: Error shouldn't be shown


Additional info: 
NPE happens here: https://github.com/openshift/console/blob/master/frontend/packages/knative-plugin/src/components/overview/KnativeResourceOverviewPage.tsx#L60

refer https://issues.redhat.com/browse/ODC-4344 for details

Comment 2 Debsmita Santra 2020-10-01 11:25:55 UTC
verified on build 4.6.0-0.nightly-2020-10-01-024558

Comment 5 errata-xmlrpc 2020-10-27 16:46:19 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.