Bug 1421942

Summary: Update dashboards DWH views version and dashboards queries
Product: [oVirt] ovirt-engine Reporter: Shirly Radco <sradco>
Component: Frontend.CoreAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.1CC: bugs, gklein, lsvaty, mperina, sradco
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
rule-engine: ovirt-4.2+
rule-engine: planning_ack+
sradco: devel_ack+
lsvaty: testing_ack+
Target Release: 4.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 09:43:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shirly Radco 2017-02-14 06:53:35 UTC
Description of problem:
Dasboards use incorrect DWH views for dashboards queries

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

How reproducible:
100%

Comment 1 Shirly Radco 2017-02-15 07:44:59 UTC
The patches also include updating the queries for better performance/

Comment 2 Lukas Svaty 2017-02-15 08:34:05 UTC
CodeChange? Or can you propose verification steps?

Comment 3 Lucie Leistnerova 2017-02-22 14:35:34 UTC
Can I have the verification steps please.

Comment 4 Shirly Radco 2017-02-23 13:56:37 UTC
There were several fixes to the queries for information that was incorrectly calculated like average memory and cpu usage. Also changed the queries so the will be more efficient. Updated the views version for it to match the engine version.

I believe this requires full testing of the results of the dashboards, dwh related widgets, cpu, memory, disk.

Also should test if there was an improvement in the queries run time.

Comment 5 Lucie Leistnerova 2017-03-13 14:09:44 UTC
On DWH database there are no 4_0 views called and dao related queries have similar or better time.
Calculation were tested in Bug 1401010.

verified in ovirt-engine-dashboard-1.1.0-6.el7ev.noarch