Bug 1850221 - [v2v][UI]VM import from RHV: "Connection successful. Loading data" displayed when wrong RHV details provided
Summary: [v2v][UI]VM import from RHV: "Connection successful. Loading data" displayed ...
Keywords:
Status: CLOSED DUPLICATE of bug 1850569
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: Filip Krepinsky
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On:
Blocks: 1850569
TreeView+ depends on / blocked
 
Reported: 2020-06-23 18:37 UTC by Ilanit Stein
Modified: 2020-06-24 18:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1850569 (view as bug list)
Environment:
Last Closed: 2020-06-24 14:14:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ilanit Stein 2020-06-23 18:37:10 UTC
Description of problem:
In UI, VM import wizard:

When entering some random text to RHV URL, ca certificate, user, password,
Clicking check & save button 
Displays in the bottom of the wizard window:
 "Connection successful. Loading data" 
and then it is replaced with this message:
"Connection succeeded but could not read list of virtual machines from the RHV API instance"

This message is misleading, since the connection could not succeed with just random letters provided as RHV connection details. 

Version-Release number of selected component (if applicable):
CNV-2.4
vm-import-operator: quay.io/kubevirt/vm-import-operator:v0.0.3
vm-import-controller: quay.io/kubevirt/vm-import-controller:v0.0.3

Expected results:
There should be a message saying connection to RHV failed.

Comment 1 Piotr Kliczewski 2020-06-24 07:04:20 UTC
Based on code errors provided by ovirtsdk we are unable to distinguish whether we failed due to incorrect url, credentials or cert.
We need to come up with generic connection failure message.

Comment 2 Filip Krepinsky 2020-06-24 09:58:23 UTC
The UI is just using the CR statuses which says LoadingVmsListFailed. Not sure we can do much about it there.

Comment 3 Yaacov Zamir 2020-06-24 14:14:07 UTC
Moving to Console Kubevirt Plugin

https://bugzilla.redhat.com/show_bug.cgi?id=1850569

FYI:
@Nelly @Piotr @Tomas @Ilanit @Filip

*** This bug has been marked as a duplicate of bug 1850569 ***


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