Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

Hyperic - Spring Insight integration broken

Details

  • Case Links:
    none
  • HQ Fix Version:
    4.6.6
  • Regression:
    Yes

Description

From a short smoketest there seems to be a problem with the integration. The metrics are not shown and the following problems are seen in logs:

Agent log includes the following:

2012-02-05 16:56:00,357 ERROR [commandlistener-generic-0] [MeasurementCommandsService] Error getting real time measurement: Plugin error: Invocation error [insight:name="localhost|ROOT",type=Applic
ation:MetricDataSummaries[metric=tag.satisfied,label=Last 5 minutes].value:jmx.url=service%3Ajmx%3Armi%3A///jndi/rmi%3A//127.0.0.1%3A6969/jmxrmi,jmx.username=admin,jmx.password=springsource]: javax
.management.MBeanException: interface com.springsource.insight.repo.jmx.InsightResourceMBeanBase.getMetricDataSummaries: cannot convert return value to open value: javax.management.openmbean.OpenDa
taException: Error calling getter for range: javax.management.openmbean.OpenDataException: Argument's element itemValues[6]="Sun Feb 05 16:56:00 IST 2012" is not a valid value for this item (itemNa
me=endDate,itemType=javax.management.openmbean.SimpleType(name=java.util.Date)).

Server log includes the following:

05-02-2012 17:01:07,845 IST WARN [http-7080-4] [org.hyperic.hq.hqu.PluginWrapper@156] Error handling request from /work/hq-ee/hqee-web/target/hqee-web-4.6.5.BUILD-SNAPSHOT/hqu/spring-insight
groovy.lang.MissingMethodException: No signature of method: $Proxy83.findAlerts() is applicable for argument types: (org.hyperic.hq.authz.server.session.AuthzSubject$$EnhancerByCGLIB$$7ed115cd, java.lang.Boolean, java.lang.Integer, java.lang.Long, java.lang.Long, java.util.ArrayList) values: [org.hyperic.hq.authz.server.session.AuthzSubject@cfad2cf3, false, 0, 1328425267773, 1328454067773, [3:10201]]
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
at org.hyperic.hq.hqu.rendit.metaclass.ResourceCategory.getUnfixedAlertCount(ResourceCategory.groovy:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...
SEVERE: Servlet.service() for servlet hqu threw exception
groovy.lang.MissingMethodException: No signature of method: $Proxy83.findAlerts() is applicable for argument types: (org.hyperic.hq.authz.server.session.AuthzSubject$$EnhancerByCGLIB$$7ed115cd, java.lang.Boolean, java.lang.Integer, java.lang.Long, java.lang.Long, java.util.ArrayList) values: [org.hyperic.hq.authz.server.session.AuthzSubject@cfad2cf3, false, 0, 1328425267773, 1328454067773, [3:10201]]
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
at org.hyperic.hq.hqu.rendit.metaclass.ResourceCategory.getUnfixedAlertCount(ResourceCategory.groovy:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...

Activity

Hide
Maya Anderson added a comment - - edited

Attached the exceptions from server.log

Show
Maya Anderson added a comment - - edited Attached the exceptions from server.log
Hide
Ryan Morgan added a comment -


Curious as to why this was pulled from 4.6.5 waiting on Spring Insight team. The errors here are obviously related to changes in backend APIs and shouldn't require any expertise with Insight.

Show
Ryan Morgan added a comment - Curious as to why this was pulled from 4.6.5 waiting on Spring Insight team. The errors here are obviously related to changes in backend APIs and shouldn't require any expertise with Insight.
Hide
Mayan Weiss added a comment -

changes have been made on the spring insight side that required their investigation and they didn't had the resources to invest in this in time for the 4.6.5 release

Show
Mayan Weiss added a comment - changes have been made on the spring insight side that required their investigation and they didn't had the resources to invest in this in time for the 4.6.5 release
Hide
Ryan Morgan added a comment -


Yes, there are changes in 1.8.3 that break this integration. However, that has nothing to do with these errors, which are caused by changes in the manager APIs not being propagated to the groovy code in the insight plugin.

Show
Ryan Morgan added a comment - Yes, there are changes in 1.8.3 that break this integration. However, that has nothing to do with these errors, which are caused by changes in the manager APIs not being propagated to the groovy code in the insight plugin.
Hide
rivka pints (c) added a comment -

verified on Version 4.6.6.BUILD-SNAPSHOT-2012-05-07.
the Integration successful to Insight and the same information in Hyperic server and in Insight server.

Show
rivka pints (c) added a comment - verified on Version 4.6.6.BUILD-SNAPSHOT-2012-05-07. the Integration successful to Insight and the same information in Hyperic server and in Insight server.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    1 year, 47 weeks, 6 days ago