Bug 1849555 - Confuse message in VM status during cdi import process
Summary: Confuse message in VM status during cdi import process
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Phillip Bailey
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-22 08:28 UTC by Guohua Ouyang
Modified: 2020-10-27 16:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:08:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6120 0 None closed Bug 1849555: Clarify VM import messages 2020-08-26 07:27:07 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:09:01 UTC

Description Guohua Ouyang 2020-06-22 08:28:34 UTC
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:

Comment 1 Phillip Bailey 2020-07-01 19:31:51 UTC
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.';

Comment 2 Guohua Ouyang 2020-07-02 02:49:12 UTC
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.';

Comment 3 Yaacov Zamir 2020-07-02 05:04:45 UTC
@Philip hi, do you think this BZ is related to https://bugzilla.redhat.com/show_bug.cgi?id=1843532 ?

Comment 4 Phillip Bailey 2020-07-06 15:23:48 UTC
@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

Comment 5 Tomas Jelinek 2020-07-10 05:48:57 UTC
This is being actively worked on, adding upcoming sprint.

Comment 8 Guohua Ouyang 2020-08-26 07:30:10 UTC
it displays "Importing (CDI)" for cdi importing now.

Comment 10 errata-xmlrpc 2020-10-27 16:08:40 UTC
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


Note You need to log in before you can comment on or make changes to this bug.