Please consider to backport the bug fix to 4.5.z because the URL correct validation is important, and users can easily get wrong, and have a bad user experience (I had no chance to know that the API URL must include "https://" if I didn't have an example recorded)
depends on https://bugzilla.redhat.com/show_bug.cgi?id=1850562 to be marked as verified to move this one forward
Tested on OCP-4.5.16/CNV-2.4
Not adding https:// to the RHV URL - connection successful & VMs are listed.
There is no warning on that https:// is missing.
@Filip is this the expected behavior, or maybe a later OCP version should be tested here?
Verified on latest 4.5.z, from Oct 30 2020.
https:// appear inside the URL bar, even before typing the URL.
If I type URL with no https:// I get a red warning right below this field.
The VMs are listed though, even if the URL does not start with https://
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.17 bug fix 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.
In case RHV URL doesn't start with https:// the "Check and save" button is not enabled, and there is an error:
URL has to start with "https://"