Bug 2102143

Summary: vm clone modal is displaying DV size instead of PVC size
Product: Container Native Virtualization (CNV) Reporter: Tal Nisan <tnisan>
Component: User ExperienceAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.11.0CC: aturgema, cnv-qe-bugs, gouyang
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: 2102125 Environment:
Last Closed: 2022-09-14 19:36:15 UTC Type: ---
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: 2102125    
Bug Blocks:    

Description Tal Nisan 2022-06-29 11:40:50 UTC
+++ This bug was initially created as a clone of Bug #2102125 +++

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-01 07:04:18 UTC
verified on v4.11.0-70

Comment 4 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