Bug 1897891
Summary: | [RFE][v2v][UI][CNV VM import] Providing error message or/and block migration when vddk-init-image is missing | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Maayan Hadasi <mguetta> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Filip Krepinsky <fkrepins> | ||||
Status: | CLOSED ERRATA | QA Contact: | Maayan Hadasi <mguetta> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.6 | CC: | aos-bugs, istein, yzamir | ||||
Target Milestone: | --- | Keywords: | RFE | ||||
Target Release: | 4.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-24 15:33:27 UTC | Type: | Bug | ||||
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: | 1898070 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Maayan Hadasi
2020-11-15 11:10:43 UTC
note: targeted 4.7 for now, this RFE may be a large task and we may need to move to track in JIRA for some design work. Does this concern only a single RHV to CNV import by the Import VM Wizard in the UI? Since we are not using CDI for import in case of vmware. And in case only RHV VMs are imported, why should vddk-init image be required? We add the vddk-init-image in "v2v-vmware" ConfigMap as a prerequisite for VMware -> CNV imports using VMImport operator There is another bug for blocking such migration when the vddk image is missing and to let the CLI user know with an appropriate error message: https://bugzilla.redhat.com/show_bug.cgi?id=1898070 In case of creating vmimport CR without having vddk image in configMap, if you switch to OCP UI - it seems as the VM import was started and it remains on 10% (see attached image) So, it is important that the import error message will be reflected in UI as well Created attachment 1730931 [details]
ui_screenshot
I see, in that case it might make more sense to fix this just in the backend like https://bugzilla.redhat.com/show_bug.cgi?id=1898070 mentions. We are just propagating the status of VMImport CR and it would go against the flow a bit if we try to ensure all prerequisites for the import and to check if CDI deployment is running ok. Set the CLI bug to block this one, see https://bugzilla.redhat.com/show_bug.cgi?id=1897891#c5 Once we have a backend fix it will propagating up to the UI. +^ yup we should check that the status is propagated correctly afterwards *** Bug 1887482 has been marked as a duplicate of this bug. *** It looks fixed on master, moving to ON QA Verified on 4.7.0-fc.0. In case vddk-init-image is not added to v2v-cmware configMap, there is a warning, and it's not possible to proceed with the VM import without it. 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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. https://access.redhat.com/errata/RHSA-2020:5633 |