Description of problem: Create VM from URL, the cdi import process shows in VM status, the conclusion messages looks like below: - "The virtual machine is being imported." - "The virtual machine could not be imported." It causes confuse as we also have procedure of importing VM from VMware/RHV. This is about the CDI is importing image to VM rootdisk. Version-Release number of selected component (if applicable): master How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Guohua, Here are the current importing messages I see. I feel like these are sufficient. If you don't, could you please provide an example of what you think it should say? Thanks! export const IMPORTING_VMWARE_MESSAGE = 'The virtual machine is being imported. Disks will be converted to the libvirt format.'; export const IMPORTING_ERROR_VMWARE_MESSAGE = 'The virtual machine could not be imported.'; export const IMPORTING_OVIRT_MESSAGE = 'The virtual machine is being imported.'; export const IMPORTING_ERROR_OVIRT_MESSAGE = 'The virtual machine could not be imported.'; export const IMPORTING_CDI_MESSAGE = 'The virtual machine is being imported. Disks are being copied from the source image.'; export const IMPORTING_CDI_ERROR_MESSAGE = 'The virtual machine could not be imported.'; export const VMI_WAITING_MESSAGE = 'The virtual machine is waiting for resources to become available.'; export const STARTING_MESSAGE = 'This virtual machine will start shortly. Preparing storage, networking, and compute resources.'; export const IMPORT_CDI_PENDING_MESSAGE = 'The importer pod is waiting for resources to become available.';
I feel confusion because both "IMPORTING_CDI_MESSAGE" and "IMPORTING_VMWARE_MESSAGE" are "The virtual machine is being imported"/'The virtual machine could not be imported.'. In my opinion, there should have some difference between "CDI import" from "RHV/Vmware import", otherwise we can place "URL" into "Import with Wizard", not "New with Wizard". Maybe we can have some: export const IMPORTING_VMWARE_MESSAGE = 'The virtual machine is being imported from VMware. Disks will be converted to the libvirt format.'; export const IMPORTING_OVIRT_MESSAGE = 'The virtual machine is being imported from RHV.'; export const IMPORTING_CDI_MESSAGE = 'The source image is being imported into rootdisk via CDI.';
@Philip hi, do you think this BZ is related to https://bugzilla.redhat.com/show_bug.cgi?id=1843532 ?
@Yaacov I think the naming issue is definitely related to the discussion in that BZ's comments. I have updated those comments with the findings from our chat conversation [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1843532#c5
This is being actively worked on, adding upcoming sprint.
it displays "Importing (CDI)" for cdi importing now.
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