+++ This bug was initially created as a clone of Bug #1850231 +++ Description of problem: In UI, VM import wizard, when picking RHV provider, and providing correct connection details, except for ca certificate (deleted a raw from 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 This message is displayed: "Can not verify RHV API credentials, connection to the OvirtProvider failed." Though RHV credentials (user/password) are correct. The ca certificate is wrong. --- Additional comment from Piotr Kliczewski on 2020-06-24 07:09:04 UTC --- In this specific case we got handshake error. We should display a generic message that provided connection information is not correct.
*** Bug 1850231 has been marked as a duplicate of this bug. ***
There has been a big batch of v2v related bugs moved to kubevirt plugin at once. We are working on them but due to capacity this did not make it last sprint.
Let's just reword the message as Piotr mentioned
Verified as fixed. Tested with OCP 4.6/CNV 2.5 When providing wrong CA certificate and all other RHV provider details are correct, the connection fails with this error: "Provided connection information is not correct. Connection to the RHV API failed."
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