Bug 1850562
Summary: | [v2v][ui] VM import RHV to CNV: RHV URL pass validation though it is missing 'https://' | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yaacov Zamir <yzamir> | |
Component: | Console Kubevirt Plugin | Assignee: | Gilad Lekner <glekner> | |
Status: | CLOSED ERRATA | QA Contact: | Maayan Hadasi <mguetta> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 4.6 | CC: | akarol, aos-bugs, cnv-qe-bugs, dagur, fkrepins, glekner, gouyang, istein, mguetta, pkliczew, tjelinek | |
Target Milestone: | --- | |||
Target Release: | 4.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1849733 | |||
: | 1874373 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 16:08:51 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1849733 | |||
Bug Blocks: | 1874373 |
Description
Yaacov Zamir
2020-06-24 13:41:08 UTC
*** Bug 1849733 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. we could also include https:// as a default value of the url @Piotr, @Tomas, Can this bug get cloned to 4.5.z please? It looks very important to me as I see, that EACH person in my team and externally, that ran it for the first time failed on this. We'll file a bug to improve the tool tip or the "API URL" to guide exactly what content should be added here. Current tool tip only links to some site that show RHv details, but do not explain the expected content. (In reply to Ilanit Stein from comment #8) > @Piotr, @Tomas, > > Can this bug get cloned to 4.5.z please? > It looks very important to me as I see, that EACH person in my team and > externally, that ran it for the first time failed on this. > > We'll file a bug to improve the tool tip or the "API URL" to guide exactly > what content should be added here. > Current tool tip only links to some site that show RHv details, but do not > explain the expected content. Opened new bug: Bug 1868737 - [UI][V2V][RHV to CNV VM import] Improve "API URL" structure info while connecting to new RHV instance Ilanit, I am not sure whether this bug is critical enough. I will let Tomas handle the backport if he see it needed. *** Bug 1868737 has been marked as a duplicate of this bug. *** Verified this issue with OCP 4.6/CNV 2.5 I provided RHV API URL without 'https://', all other provider details were correct -> An instruction under 'API URL' field is shown: "URL should start with 'https://'" but the connection succeeded and I was able to select VM to import. The followed import fails on: ValidationFailed: Failed to initialize the source provider (Failed to connect to source provider): Post /ovirt-engine/sso/oauth/token: unsupported protocol scheme "" @Gilad, @Ilanit, is this the expected behavior? Shouldn't the connection fail on validation? @Maayan, The described behavior is different than the one reported in the bug description. The VMs were not listed, when RHV URL did not start with "https://". So now not only that RHV passes validation, it even allows to continue further and perform the VM import. Moving this issue back to ASSIGNED. The expected behavior is: connecting to RHV provider should fail on validation and not as described in comment #12 Verified as fixed Versions: OCP 4.6.0-fc.8 CNV 2.5.0 There is an error message under RHV API URL field in case it does not start properly with 'https': "URL has to start with 'https://'" 'Check and Save' button is disabled 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 Clearing redundant NEEDINFO |