Bug 1883566

Summary: Error on topology if cluster is low on resources for knative service
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Debsmita Santra <dsantra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: aballant, aos-bugs, dsantra, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:46:19 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:

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