search cancel

Meraki inventory time-outs fails

book

Article ID: 239670

calendar_today

Updated On:

Products

CA Virtual Network Assurance DX NetOps CA Spectrum

Issue/Introduction

After the upgrade to NetOps 21.2.8 I found many time-out fails, this is disrupting the data and performance and the Meraki inventory is not populating in Spectrum.


2022-04-07 19:07:20,025 ERROR (EE-ManagedThreadFactory-default-Thread-5393)  [OC_ACQUISITION] TimProcessFunction 182  Failed to invoke plugin SwitchPortStatusHandler from SwitchPortStatusHandler : java.lang.reflect.InvocationTargetException
                at sun.reflect.GeneratedMethodAccessor572.invoke(Unknown Source) [:1.8.0_282]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_282]
                at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_282]
                at com.torokina.tim.process.node.function.TimProcessFunction.process(TimProcessFunction.java:149) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at com.torokina.tim.process.aop.TimProcessNodeProxy.process(TimProcessNodeProxy.java:115) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at com.torokina.tim.process.node.TimProcessNodeList.process(TimProcessNodeList.java:96) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at com.torokina.tim.process.node.TimProcessNodeList.process(TimProcessNodeList.java:71) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at com.torokina.tim.process.node.foreach.TimProcessForEach$FunctionCaller.call(TimProcessForEach.java:193) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at com.torokina.tim.process.node.foreach.TimProcessForEach$FunctionCaller.call(TimProcessForEach.java:169) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at com.torokina.tim.process.node.foreach.ForEachExecutor.run(ForEachExecutor.java:74) [oc-simple-acquisition-21.2.8-RELEASE.jar:]
                at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_282]
                at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:227) [jakarta.enterprise.concurrent-1.1.1.jar:]
Caused by: java.lang.IllegalArgumentException: Text must not be null or empty
                at groovy.json.JsonSlurper.parseText(JsonSlurper.java:200) [groovy-json-2.5.7.jar:2.5.7]
                at groovy.json.JsonSlurper$parseText.call(Unknown Source)
                at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) [groovy-2.5.7.jar:2.5.7]
                at groovy.json.JsonSlurper$parseText.call(Unknown Source)
                at SwitchPortStatusHandler.process(SwitchPortStatusHandler.groovy:67)
                ... 12 more
 
 
2022-04-07 19:10:00,319 WARN  (EE-ManagedScheduledExecutorService-default-Thread-2)  [OC_CORE] SimpleMonitoredTaskBuilder$SimpleMonitoredTask 175  Timeout occurs for monitored task of engine=Meraki_4134c194-4646-4862-b9d7-bb87ce3fabfc and thread=Inventory Poll, timeout value = 1800000: java.util.concurrent.TimeoutException
                at java.util.concurrent.FutureTask.get(FutureTask.java:205) [rt.jar:1.8.0_282]
                at com.ca.oc.ejb.engine.poller.SimpleMonitoredTaskBuilder$SimpleMonitoredTask.run(SimpleMonitoredTaskBuilder.java:163) [oc-ejb-21.2.8-RELEASE.jar:]
                at org.jboss.as.ee.concurrent.ControlPointUtils$ControlledScheduledRunnable.run(ControlPointUtils.java:158) [wildfly-ee-19.1.0.Final.jar:19.1.0.Final]
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_282]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_282]
                at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:117) [jakarta.enterprise.concurrent-1.1.1.jar:]
                at org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.access$101(ManagedScheduledThreadPoolExecutor.java:360) [jakarta.enterprise.concurrent-1.1.1.jar:]
                at org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$ManagedScheduledFutureTask.run(ManagedScheduledThreadPoolExecutor.java:509) [jakarta.enterprise.concurrent-1.1.1.jar:]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_282]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_282]
                at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_282]
                at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:227) [jakarta.enterprise.concurrent-1.1.1.jar:]

Environment

Release : 21.2

Component : Virtual Network Assurance For CA Spectrum

Cause

Issue with the Meraki groovy script.

Resolution

21.2.12