Bug 1810532

Summary: Topology filter by application throws an error when it has Operator backed nodes
Product: OpenShift Container Platform Reporter: Karthik Jeeyar <kjeeyar>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: Jaivardhan Kumar <jakumar>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, cvogt, jakumar, nmukherj
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Filtering the OBS nodes based on the application in topology model is missing Consequence: Filtering the topology nodes by application, throws an error when the topology has operator backed services in the namespace. Fix: Add a logic to filter the OBS nodes based on the selected application group. Result: User can now filter the Operator backed service nodes based on the application.
Story Points: ---
Clone Of:
: 1810534 (view as bug list) Environment:
Last Closed: 2020-08-04 18:03:50 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:
Bug Depends On:    
Bug Blocks: 1810534    
Attachments:
Description Flags
Topolgoy breaks when OBS nodes are in the canvas none

Description Karthik Jeeyar 2020-03-05 12:54:16 UTC
Description of problem:
Filtering the topology nodes by application, throws an error when the topology has operator backed services in the namespace.



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

How reproducible:
Always

Steps to reproduce:
1. Install an operator and create a CRD instance using dev catalog flow
2. Create an node from git flow
3. Use the application selector to filter the node by application

Actual results:
It breaks the UI 

Expected results:
 It should filter the nodes based on the application and should not break the UI

Additional info:

Comment 1 Karthik Jeeyar 2020-03-05 12:57:44 UTC
Created attachment 1667741 [details]
Topolgoy breaks when OBS nodes are in the canvas

Comment 5 Jaivardhan Kumar 2020-03-06 07:33:30 UTC
Verified on 4.5

OpenShift Version
4.5.0-0.ci-2020-03-05-232742
Kubernetes Version
v1.17.1
Channel
stable-4.4
Cluster ID
0f33addf-9591-4d52-8e01-1b26e6ebd56a
API Server
https://api.gamore45installer0603.devcluster.openshift.com:6443

Comment 7 errata-xmlrpc 2020-08-04 18:03:50 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.5 image release advisory), 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:2409