+++ 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:
verified on v4.11.0-70
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