Bug 816211
Summary: | Agent plug-in container should log warnings and disable metric collection for metrics with invalid collection intervals | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
Component: | Plugin Container | Assignee: | Larry O'Leary <loleary> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | JON 3.0.1 | CC: | hrupp, jshaughn |
Target Milestone: | --- | ||
Target Release: | JON 3.0.2 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 786889 | Environment: | |
Last Closed: | 2013-09-06 02:42:59 UTC | Type: | Enhancement |
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: | 786889, 865160 | ||
Bug Blocks: | 818032 |
Description
Larry O'Leary
2012-04-25 13:51:07 UTC
Branch: release/jon3.0.x commit a00eb5ee989cf5e0a91278ddf51f2ef1e7335b00 Author: Jay Shaughnessy <jshaughn> Date: Tue Apr 3 17:55:55 2012 -0400 Related to Bug 786889 which deals with invalid (low) schedule intervals reaching the agent. Although it seems unlikely that the bad interval was stored in the db, there exist ways to store a bad value and it can in fact reach the agent. Don't let that happen by fixing the interval verification in the SLSB code and blocking all values < the minum collection interval. - Also, added test which failed to prove the issue, and now passes. (cherry-picked from 6ff5d43b1b864bfecd7a352f7c72bc81bff56642) [Bug 786889 - Agent plug-in container should log warnings and disable metric collection for metrics with invalid collection intervals] Catch any attempt to set a metric collection interval to an invalid value. If found, set it to 20 minutes and report the problem in the log as an ERROR, with a lot of supporting info to help track down the cause. (cherry-picked from aa65805371fd2f1901cc46aeff55e6866ad54eb7) Move a private util method I had in ResourceContainer to ThrowableUtil and use the new utility method. (cherry-picked from f234f3ac5f157341cd2535342ecacf97f66cef1e) Closing as there will not be a 3.0.2 release. This issue has already been fixed in a later release or will be fixed in 3.2. See 'depends on' list for reference. |