Bug 1092756
| Summary: | Graphs fail to render with 'java.lang.IllegalArgumentException: highValue' in log | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | |
| Component: | Monitoring -- Other, UI | Assignee: | RHQ Project Maintainer <rhq-maint> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | JON 3.2 | CC: | ajuricic, hrupp, jsanda, pyadav, tobias | |
| Target Milestone: | DR01 | Keywords: | Regression | |
| Target Release: | JON 3.2.2 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1015706 | |||
| : | 1099659 1099708 (view as bug list) | Environment: | ||
| Last Closed: | 2014-07-29 00:17:27 UTC | 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: | 1015706 | |||
| Bug Blocks: | 1099659, 1099708 | |||
|
Description
Larry O'Leary
2014-04-29 22:46:54 UTC
This bug started showing up for us after upgrading from 3.1.2 to 3.2.0. The problem was a bug in a method that calculates aggregate metrics. It could produce an incorrect max because of if else statement that should have been an if. The code looked like,
if (metric.getMin() < min) {
min = metric.getMin();
} else if (metric.getMax() > max) {
max = metric.getMax();
}
This bug only effects 6 hr and 24 hr metrics. It manifests itself for 6 hour data for example when both the min and max of the 1 hour data being aggregated fall on the same 1 hour aggregate metric.
I have pushed changes to the release branch that do a couple things. First, the above code is fixed. Secondly, we check for invalid max values. If we come across one, we log a warning and "adjust" the metric. We set the max to the average and and persist the updated value.
release/jon3.2.x commit hashes:
d8622d88ea4
fc97c223796
One of the commit hashes in comment 4 is incorrect. The two commit hashes on the release/jon3.2.x branch are, f7c0b3550615 fc97c22379 Via product triage, determined that this bug is to be included for DR01 target milestone. Moving to ON_QA as available for test in latest cumulative patch build(DR01): http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.2.GA/5-29-2014/ This has been verified and released in Red Hat JBoss Operations Network 3.2 Update 02 (3.2.2) available from the Red Hat Customer Portal[1]. [1]: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=31783 |