Bug 1070521

Summary: The outlier column in the suspect metrics report renders incorrect values
Product: [Other] RHQ Project Reporter: John Sanda <jsanda>
Component: Core Server, Monitoring, Storage NodeAssignee: Nobody <nobody>
Status: ON_QA --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, jshaughn
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1070522 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1070522    

Description John Sanda 2014-02-27 02:31:53 UTC
Description of problem:
The Outlier column always renders a value of zero due to a bug in MeasurementOOBManagerBean. The methods,

  * getHighestNOOBsForGroup
  * getHighestNOOBsForResource
  * getSchedulesWithOOBs 

all execute a query to fetch one hour data that is needed in order to compute outliers. That query is executed against the legacy one hour data table in the relational database; consequently, it always returns an empty result set. This in turn produces always produces outliers of zero.

The above methods are also called to render the resource and group OOB Metrics portlet. I have reviewed the code the involved with Mike Thompson. I do not think that the portlets are affected by this because they do not use the outlier property in MeasurementOOBComposite. Mike please chime in here if I am wrong.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Heiko W. Rupp 2014-05-08 14:42:54 UTC
Bump the target version now that 4.11 is out.

Comment 2 Lukas Krejci 2014-10-13 11:36:08 UTC
commit 7ceb5f74938f720919c378a93ab82a0e66e56702
Author: Lukas Krejci <lkrejci>
Date:   Mon Oct 13 13:34:44 2014 +0200

    [BZ 1070521] Fixed retrieval of OOB datapoints.