Bug 1996123

Summary: ovf stores capacity/truesize on the storage does not match values in engine database
Product: Red Hat Enterprise Virtualization Manager Reporter: Marian Jankular <mjankula>
Component: ovirt-engineAssignee: Arik <ahadas>
Status: CLOSED ERRATA QA Contact: sshmulev
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4.7CC: ahadas, eshames, mavital
Target Milestone: ovirt-4.5.0Keywords: Reopened, ZStream
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-26 16:23:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1868249    
Bug Blocks:    

Description Marian Jankular 2021-08-20 15:40:58 UTC
Description of problem:
ovf stores capacity/truesize on the storage does not match values in engine database

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

How reproducible:
found in customer environment and internal lab

Steps to Reproduce:
1. rhvm4.4.7  + rhvh4.4.5+
2. create some vms, update ovf stores couple of times

Actual results:
              image_guid              | storage_type |              storage_id              |   size    | actual_size | disk_alias 
--------------------------------------+--------------+--------------------------------------+-----------+-------------+------------
 e6dd13bb-1386-46dd-b599-fcaad0d40062 | 2            | 6814fac1-2e9a-4ab3-bbfe-02a14c2049fe |   5504512 |   134217728 | OVF_STORE
 7af76449-729d-4999-ba20-1922ac2306bb | 2            | 6814fac1-2e9a-4ab3-bbfe-02a14c2049fe |   5504512 |   134217728 | OVF_STORE
 d7235d72-4c8a-4c36-8e0b-31ea552ff565 | 2            | 1ace8186-df46-4795-9f7c-6552283a3690 |     48640 |   134217728 | OVF_STORE
 c8d642ce-4f78-4c0c-a9e0-f8c569ec7e5e | 2            | 1ace8186-df46-4795-9f7c-6552283a3690 |     48640 |   134217728 | OVF_STORE

             - 7af76449-729d-4999-ba20-1922ac2306bb
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 134217728, truesize: 134217728

             - e6dd13bb-1386-46dd-b599-fcaad0d40062
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 134217728, truesize: 134217728


             - c8d642ce-4f78-4c0c-a9e0-f8c569ec7e5e
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 134217728, truesize: 134217728

             - d7235d72-4c8a-4c36-8e0b-31ea552ff565
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: PREALLOCATED, capacity: 134217728, truesize: 134217728



Expected results:
the size in the db will match the one on storage

Additional info:

the issue was not present on rhvm 4.4.5
reproduced on both file and block based SD

Comment 1 Eyal Shenitzky 2021-08-23 13:43:27 UTC
Marian, this bug is a duplication of bug 1868249m please move the customer case to it.

Closing this one as duplication.

*** This bug has been marked as a duplicate of bug 1868249 ***

Comment 11 sshmulev 2022-04-05 07:41:26 UTC
Verified based on verification of the duplicated bug 1868249 that has been verified on 4.5 release.

Comment 16 errata-xmlrpc 2022-05-26 16:23:07 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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security 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:4711

Comment 17 meital avital 2022-07-20 09:13:55 UTC
Due to QE capacity, we are not going to cover this issue in our automation