This is to track an improvement to be able to detect BZ2081493. We want to highlight this case: * the volume size in the storage is lower than the capacity * the volume is QCOW2 (optional?) * the volume is preallocated So that the tool will complain on disks that are supposed to be preallocated but are not.
For QE: 1. Create a VM, with no disks 2. Virtual Machines -> VM -> Disks -> New Set the disk to preallocated and enable incremental: Allocation Policy: PREALLOCATED [x] Enable Incremental Backup Size: 100G 3. Click OK 5. Create a snapshot of the VM 6. Delete that snapshot. While using an engine/vdsm without fix for BZ 2081493, the tool should print this message for the disk created in step 2. $ rhv-image-discrepancies ~~~ Image image_guid size on the storage(1073741824) is smaller than capacity(107374182400), but type is preallocated ~~~
I followed the steps and the tool printed the message: Image image_guid size on the storage(200704) is smaller than capacity(107374182400), but type is preallocated. Verified in rhv-log-collector-analyzer-1.0.14-1.el8ev.noarch, ovirt-engine-4.5.1-0.62.el8ev.noarch
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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and 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:5555