+++ This bug was initially created as a clone of Bug #2010903 +++ read_ops and write_ops defined incorrectly when added to db in this patch: https://gerrit.ovirt.org/#/c/ovirt-engine/+/111377/|, and changed type in this patch: https://gerrit.ovirt.org/#/c/ovirt-engine/+/113494/ the right definition is Read/Write operations since VM start and not per second. Here are probably changes which should be done: 1. Change StatisticKind to COUNTER and StatisticUnit to NONE https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/DiskStatisticalQuery.java#L17 https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/DiskStatisticalQuery.java#L19 2. read_ops and write_ops values in database should be probably changed to DECIMAL(21) to be able to store unsigned int 64 values, which can come from VDSM 3. read_ops and write_ops properties in Java should be changed to BigInteger to accommodate above db changes 4. DWH db needs to be update according to engine db changes: this fix will be documented in dwh bug 2010903. Is it all or we missing something?
still relevant?
(In reply to Aviv Litman from comment #0) > +++ This bug was initially created as a clone of Bug #2010903 +++ > > read_ops and write_ops defined incorrectly when added to db in this patch: > https://gerrit.ovirt.org/#/c/ovirt-engine/+/111377/|, and changed type in > this patch: https://gerrit.ovirt.org/#/c/ovirt-engine/+/113494/ > the right definition is Read/Write operations since VM start and not per > second. > > Here are probably changes which should be done: > > 1. Change StatisticKind to COUNTER and StatisticUnit to NONE > https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/ > restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/ > DiskStatisticalQuery.java#L17 > https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/ > restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/ > DiskStatisticalQuery.java#L19 This is the only part that remained after the fix for bz 1928188
This bugzilla is included in oVirt 4.5.2 release, published on August 10th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.