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.
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.
The UI is just using the CR statuses which says LoadingVmsListFailed. Not sure we can do much about it there.
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 ***