+++ This bug was initially created as a clone of Bug #2079781 +++
Description of problem:
When using storage api with filesystem volume mode the size increased for the fs overhead.
when trying to clone to block the clone fails because the target is smaller than source.
How reproducible:
100%
Steps to Reproduce:
1. Create a DV using storage api on filesystem volume mode.
2. Clone the DV with the same size to block.
Actual results:
clone fails:
message: 'Error encountered while creating DataVolumes: Failed to create DataVolume:
admission webhook "datavolume-validate.cdi.kubevirt.io" denied the request: target
resources requests storage size is smaller than the source'
Expected results:
Clone should succeed.
--- Additional comment from Jenia Peimer on 2022-04-28 12:03:22 UTC ---
We have this also in 4.11
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