Bug 821381

Summary: [as7] Return value for 'no metrics' has changed
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: PluginsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 4.4CC: hrupp, vnguyen
Target Milestone: ---   
Target Release: JON 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 821380 Environment:
Last Closed: 2013-09-03 15:14:39 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: 821380    
Bug Blocks: 707223    

Description Heiko W. Rupp 2012-05-14 10:03:17 UTC
+++ This bug was initially created as a clone of Bug #821380 +++

When as7 has no metrics yet calculated, it used to return "No metrics available".

The as7 plugin reacts on this string.

AS7 has changed the code and now sends JBAS018003: No metrics available

This results in tons of error messages like this in the agent log:

2012-05-14 11:41:45,281 WARN  [ResourceContainer.invoker.daemon-32] (rhq.modules.plugins.jbossas7.WebConnectorComponent)- Non numeric input for [errorCount] : [JBAS018003: No metrics available]

Comment 1 Heiko W. Rupp 2012-05-14 13:47:21 UTC
release branch 4f35ae6

Comment 2 Viet Nguyen 2012-06-05 16:03:10 UTC
increased sample intervals to larger value.  unable to reproduce the error message in 3.1 CR1

Comment 3 Heiko W. Rupp 2013-09-03 15:14:39 UTC
Bulk closing of old issues in VERIFIED state.