Bug 2094577

Summary: rhv-image-discrepancies must ignore small disks created by OCP
Product: Red Hat Enterprise Virtualization Manager Reporter: Germano Veit Michel <gveitmic>
Component: rhv-log-collector-analyzerAssignee: Germano Veit Michel <gveitmic>
Status: CLOSED NEXTRELEASE QA Contact: Barbora Dolezalova <bdolezal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5.0CC: gdeolive, mavital, michal.skrivanek
Target Milestone: ovirt-4.5.2Keywords: FieldEngineering, ZStream
Target Release: 4.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-log-collector-analyzer-1.0.15 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-08 08:17:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2094576    
Bug Blocks:    

Description Germano Veit Michel 2022-06-07 22:46:27 UTC
Description of problem:

The tool complains about small disks created as a request from OCP for small PVs.

For example, a 10M one ends up as 2.5G on the storage because of BZ2094576.

 Checking storage domain 'iSCSI' (3a88a033-3ba2-4963-a63e-dca4c3e591f6) from data-center  'Default'
	 Image 107f9dfc-a20c-42e3-a04f-31cbffed3aa9 size on the storage(2684354560) is larger than the capacity(10485760)

We need to wait for BZ2094576 to decide how to ignore these. Hopefully that can be improved and then this tool can just ignore if its under 128M.

Version-Release number of selected component (if applicable):
rhv-log-collector-analyzer-1.0.13-1.el8ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Use the below to create a 10M disk, just change 2**30 to 2**20
   https://raw.githubusercontent.com/oVirt/python-ovirt-engine-sdk4/main/examples/add_floating_disk.py
2. Run rhv-image-discrepancies

Comment 1 Germano Veit Michel 2022-06-27 02:41:26 UTC
Will ignore if capacity <= 128M based on https://bugzilla.redhat.com/show_bug.cgi?id=2094576#c9
Will also prevent flagging certain OVFs

Comment 4 meital avital 2022-08-03 11:57:26 UTC
Due to QE capacity, we are not going to cover this issue in our automation