Description of problem: oVirt Trend Dashboards > Virtual Machines Trend Dashboard > Top 5 Most Utilized Disks - I/O operations/sec values are taken from vdsm getvmstats "writeOps" for the disk value, according to https://github.com/oVirt/vdsm/blob/master/lib/vdsm/api/vdsm-api.yml this value is "Write operations since VM start" and in the above view it is reported as "I/O operations/sec" as far as i know we are getting only below values for the disk: ------------------- "apparentsize": "29796335616", "flushLatency": "21530.033333333333", "imageID": "b779ebc9-e13d-4183-977d-d718e831f62f", "readBytes": "223528208896", "readLatency": "0", "readOps": "713399", "readRate": "0.0", "truesize": "29796335616", "writeLatency": "238450.35", "writeOps": "188434753", "writeRate": "3415.170881011688", "writtenBytes": "755119997952" ------------------- I think that for the trend view it would be more suitable to see writeRate value if there is no other easy way to got iops Version-Release number of selected component (if applicable): RHV 4.4.7 How reproducible: everytime Steps to Reproduce: 1. setup monitoring portal accoring to documentation 2. create loop in vm "while true; do dd if=/dev/zero of=file count=100 bs=1M && sleep 5; done" 3. leave it running for couple of minutes and look at oVirt Trend Dashboards > Virtual Machines Trend Dashboard > Top 5 Most Utilized Disks - I/O operations/sec view where the values for the disk you are writing to will start increasing even the spped operation is still the same Actual results: graph is showing "Write operations since VM start" instead of "I/O operations/sec" Expected results: either rename view to total number of iops since start of the vm or adjust source values Additional info:
Verified in ovirt-engine-4.5.0.6-0.7.el8ev.noarch ovirt-engine-dwh-4.5.2-1.el8ev.noarch Trend dashboard panels with disk I/O statistics were updated to correctly say "since VM start" instead of "per second": oVirt Trend Dashboards 03 Virtual Machines Trend Dashboard : Top 5 Most Utilized Disks - I/O operations since VM start (over time) (TR03-6) 05 Virtual Machines Resource Usage Dashboard : - Top 5 Most Utilized Disks - Read I/O operations since VM start (TR05-9) - Top 5 Most Utilized Disks - Write I/O operations since VM start (TR05-10) Also the DB columns in the VM samples/hourly/daily tables have been renamed accordingly.
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
Due to QE capacity we are not going to cover this issue in our automation