Bug 1996123 - ovf stores capacity/truesize on the storage does not match values in engine database
Summary: ovf stores capacity/truesize on the storage does not match values in engine d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Arik
QA Contact: sshmulev
URL:
Whiteboard:
Depends On: 1868249
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-20 15:40 UTC by Marian Jankular
Modified: 2022-07-20 09:13 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-26 16:23:07 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43091 0 None None None 2021-08-23 13:44:06 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:23:16 UTC
oVirt gerrit 116315 0 master MERGED core: fix ovf_store disk size on the engine DB 2021-08-31 08:55:02 UTC

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


Note You need to log in before you can comment on or make changes to this bug.