Bug 1070522 - The outlier column in the suspect metrics report renders incorrect values
Summary: The outlier column in the suspect metrics report renders incorrect values
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Core Server, Storage Node
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER05
: JON 3.3.0
Assignee: Lukas Krejci
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 1070521
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-27 02:33 UTC by John Sanda
Modified: 2014-12-11 13:59 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1070521
Environment:
Last Closed: 2014-12-11 13:59:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description John Sanda 2014-02-27 02:33:34 UTC
+++ This bug was initially created as a clone of Bug #1070521 +++

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 2 Jay Shaughnessy 2014-09-05 21:30:20 UTC
We need to investigate the suspect metrics report and these values.  There may be issues given what this says and also what Mike was showing me today.

Comment 4 Simeon Pinder 2014-09-29 08:12:49 UTC
Moving into ER05 as didn't make the ER04 cut.

Comment 5 Lukas Krejci 2014-10-13 11:37:44 UTC
master: 7ceb5f74938f720919c378a93ab82a0e66e56702
release/jon3.3.x: bc9b41d30ef73103771f9530c6ad3fbc99827eb2
Author: Lukas Krejci <lkrejci>
Date:   Mon Oct 13 13:34:44 2014 +0200

    [BZ 1070521] Fixed retrieval of OOB datapoints.
    
    (cherry picked from commit 7ceb5f74938f720919c378a93ab82a0e66e56702)

Comment 6 Simeon Pinder 2014-10-21 20:24:29 UTC
Moving to ON_QA as available to test with the latest brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=394734

Comment 7 Matt Mahoney 2014-10-29 13:16:56 UTC
Verified in ER05.


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