Bug 1892247 - Fix duplicates in time-based queries (that use the hourly + daily tables)
Summary: Fix duplicates in time-based queries (that use the hourly + daily tables)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-dwh
Classification: oVirt
Component: Grafana
Version: 4.4.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.4
: 4.4.4
Assignee: Aviv Litman
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-28 09:56 UTC by Aviv Litman
Modified: 2021-01-12 16:24 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-dwh-4.4.4
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-12 16:24:03 UTC
oVirt Team: Metrics
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: planning_ack+
pm-rhel: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)
Example from dashboard: Cluster Quality of Service - Hosts Dashboard (209.08 KB, image/png)
2020-10-28 10:00 UTC, Aviv Litman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 112020 0 master MERGED Fix duplicates in service level dashboards 2021-01-06 11:55:14 UTC
oVirt gerrit 112028 0 master MERGED Fix duplicates in executive dashboards 2021-01-06 11:54:35 UTC
oVirt gerrit 112029 0 master MERGED Fix duplicates in inventory dashboards 2021-01-06 11:55:14 UTC
oVirt gerrit 112072 0 master MERGED Fix duplicates in trend dashboards 2021-01-06 11:54:35 UTC

Description Aviv Litman 2020-10-28 09:56:00 UTC
Description of problem:

In time-based queries when selecting a time period greater than 24 hours the queries turn to the hourly + daily tables and display incorrect data at 00:00 or incorrect overall result, due to data duplication at 00:00 each day.

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

How reproducible:
100%

Steps to Reproduce:
1.go to Grafana
2.choose 1 time-based dashboard
3.choose time period greater than 24 hours (like 'this day last week')
4.notice that the overall time is greater than the selected time or there are double rows in the table (like 2 days instead of 1 day)

Actual results:
When choosing a time period greater than the last 24 hours, there are duplication's in the data and therefore the calculation is erroneous and is done according to a time period greater than the chosen period.

Expected results:
When selecting any time period, the calculation will be made according to the correct time and the correct time range will be displayed.

Additional info:

Comment 1 RHEL Program Management 2020-10-28 09:56:08 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 RHEL Program Management 2020-10-28 09:57:06 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Aviv Litman 2020-10-28 10:00:25 UTC
Created attachment 1724755 [details]
Example from dashboard: Cluster Quality of Service - Hosts Dashboard

Comment 4 Pavel Novotny 2021-01-07 22:25:36 UTC
Verified in
ovirt-engine-4.4.4.6-0.1.el8ev.noarch
ovirt-engine-dwh-4.4.4.2-1.el8ev.noarch

The time-based queries (for example in the Trend or Service Level dashboards) don't show any duplicate values at 00:00 or overall results when showing or selecting data during time period greater than 24 hours.

Comment 5 Sandro Bonazzola 2021-01-12 16:24:03 UTC
This bugzilla is included in oVirt 4.4.4 release, published on December 21st 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.4 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.


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