Bug 2020904

Summary: When trying to create a connection from the Developer view between VMs, it fails
Product: OpenShift Container Platform Reporter: Yaacov Zamir <yzamir>
Component: Dev ConsoleAssignee: Mohammed Saud <msaud>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact: Rolfe Dlugy-Hegwer <rdlugyhe>
Priority: medium    
Version: 4.8CC: aos-bugs, kjeeyar, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
* Before this update, trying to create connections between virtual machines (VMs) in the *Topology* view failed with an "Error creating connection" message. This issue happened because this action relied on a method that did not support custom resource definition (CRDs). This update resolves the issue by adding support for CRDs. Now you can create connections between VMs. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2020904[BZ#2020904])
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:25:33 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:
Attachments:
Description Flags
error popup none

Description Yaacov Zamir 2021-11-07 07:10:07 UTC
Created attachment 1840517 [details]
error popup

Description of problem:
When trying to create a connection from the Developer view between VMs, it fails 

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


How reproducible:


Steps to Reproduce:
1. go to topology  view
2. try to create a connection from the Developer view between VMs
3.

Actual results:
An error: Unable to retrieve model for VirtualMachine

Expected results:
A connection is made

Additional info:
The dev view is using `allModels` method that does not work on CRD's (VirtualMachine is a CRD)
[1] 
https://github.com/openshift/console/blob/68f58f20c2ad43b0cab33d5a4719900ff17caf44/frontend/packages/topology/src/utils/connector-utils.ts#L20

[2] https://github.com/openshift/console/blob/f33a05b60993fa0947e21a678bad2e2d8f258096/frontend/public/module/k8s/k8s-models.ts#L120

Comment 2 Karthik Jeeyar 2021-12-17 12:08:07 UTC
Verified on 
build : 4.10.0-0.ci-2021-12-16-184808
browswer: chrome-96.0

Comment 8 errata-xmlrpc 2022-03-10 16:25:33 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056