Bug 2049412

Summary: VM creation customization flow - disk size unit is modified when disk edit popup is opened
Product: OpenShift Container Platform Reporter: Ruth Netser <rnetser>
Component: Console Kubevirt PluginAssignee: Yaacov Zamir <yzamir>
Status: CLOSED DUPLICATE QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.10CC: aos-bugs, gouyang, tnisan
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-07 14:39:13 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:
Attachments:
Description Flags
before
none
Disk screen
none
After saving none

Description Ruth Netser 2022-02-02 07:38:57 UTC
Description of problem:
VM creation customization flow - disk size unit is modified from B to Gi when disk edit popup is opened. Leads to unreasonable disk size.

Version-Release number of selected component (if applicable):
OCP 4.10.0-fc.4 CNV 4.10.0

How reproducible:
100%

Steps to Reproduce:
1. Create a VM from template
2. Select customize flow
3. The disk is presented in B units
4. Edit the disk
5. Click "save"

Actual results:
Disk unit is modified to GiB (even if nothing was actually edited), resulting in an unreasonable disk size (e.g 11362347344 GiB)

Expected results:
Unit should not be automatically changed

Additional info:

Comment 1 Ruth Netser 2022-02-02 07:41:30 UTC
Created attachment 1858557 [details]
before

Comment 3 Ruth Netser 2022-02-02 07:43:19 UTC
Created attachment 1858559 [details]
After saving

Comment 4 Guohua Ouyang 2022-02-02 10:02:45 UTC
Also saw the issue on 4.10.0-fc.4

Comment 6 Tal Nisan 2022-02-07 14:39:13 UTC

*** This bug has been marked as a duplicate of bug 2046598 ***