Bug 2102125

Summary: vm clone modal is displaying DV size instead of PVC size
Product: Container Native Virtualization (CNV) Reporter: Aviv Turgeman <aturgema>
Component: User ExperienceAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: cnv-qe-bugs, gouyang
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2102143 (view as bug list) Environment:
Last Closed: 2022-09-14 19:36:15 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:    
Bug Blocks: 2102143    

Description Aviv Turgeman 2022-06-29 11:18:31 UTC
Description of problem:
when cloning a VM we get the DV size instead of the actual size of the PVC

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

How reproducible:
100%

Steps to Reproduce:
1. create a VM with a disk with 10Gi (can be any size) and use 	`ocs-storagecluster-ceph-rbd` SC (or any SC that allows to resize a PVC)
2. click on create VirtualMachine
3. go to PVC created, click on actions and than click expand PVC change it to a different size
4. clone VM with the expanded PVC and see that the modal is giving a different size (size from initially created DV)

Actual results:
incorrect size is shown on modal - when creating the clone the size created is the correct size

Expected results:
same size shown as created size

Additional info:

Comment 1 Guohua Ouyang 2022-07-27 04:16:07 UTC
verified on v4.12.0-88

Comment 5 errata-xmlrpc 2022-09-14 19:36:15 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 (Important: OpenShift Virtualization 4.11.0 Images security and bug fix 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-2022:6526