Bug 1710775 - Memory size of imported VM can be set to less than 1 GB
Summary: Memory size of imported VM can be set to less than 1 GB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.0
Assignee: Rastislav Wagner
QA Contact: Radim Hrazdil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-16 09:47 UTC by Radim Hrazdil
Modified: 2019-07-24 20:16 UTC (History)
7 users (show)

Fixed In Version: 2.0.0-14.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-24 20:16:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (76.41 KB, image/png)
2019-05-16 09:47 UTC, Radim Hrazdil
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:1850 0 None None None 2019-07-24 20:16:13 UTC

Description Radim Hrazdil 2019-05-16 09:47:06 UTC
Created attachment 1569459 [details]
screenshot

Description of problem:
When Import is selected as a provision source, the imported VM from VMWare may have memory set to a value less than 1 GB (for example 0.5 GB).
Under normal circumstances, user is not allowed to enter value that is lower that 1GB.

Memory field tooltip displays a warning that 'Value must me greater or equal to 1', but the input element is not marked with error message and it is possible to move next in the wizard and ultimately create the VM.



Version-Release number of selected component (if applicable):
2.0.0

How reproducible:
100%

Steps to Reproduce:
1. Choose Import as provision source in VM Wizard
2. Choose a VM that has less than 1GB memory
3.

Actual results:


Expected results:
User should not be able to proceed if the memory is set to an unsupported value

Additional info:

Comment 1 Rastislav Wagner 2019-05-24 10:35:18 UTC
https://github.com/kubevirt/web-ui-components/pull/476

Comment 2 Tomas Jelinek 2019-05-27 06:54:01 UTC
backport: https://github.com/kubevirt/web-ui-components/pull/480

Comment 3 Marek Libra 2019-06-03 10:00:33 UTC
Included in kubevirt-2.0.0-14.6 .
Will be in hco-bundle-registry:v2.0.0-22 .

Comment 4 Radim Hrazdil 2019-06-04 12:16:08 UTC
Verified with kubevirt-web-ui-container-v2.0.0-14.6, HCO v2.0.0-22.
VMs with less than 0.5 lead to a warning. User needs to enter valid value before proceeding.

Comment 6 errata-xmlrpc 2019-07-24 20:16:06 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, 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/RHEA-2019:1850


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