Spectrum - VNA VMWare Integration - vcenters missing in spectrum

book

Article ID: 212074

calendar_today

Updated On:

Products

CA Virtual Network Assurance

Issue/Introduction

Following exception was seen in the VNA log. 

2021-03-19 11:05:12,859 ERROR (EE-ManagedThreadFactory-default-Thread-8421) vSphere_4b07addb-8e4c-4f66-85c7-b383d44559f9=Inventory Poll [OC_ACQUISITION] TimProcessFunction 182  Failed to invoke plugin VcenterInventoryData from VcenterInventoryData Acquisition vCenter Data: java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor855.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-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.aop.TimProcessNodeProxy.process(TimProcessNodeProxy.java:115) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.node.TimProcessNodeList.process(TimProcessNodeList.java:96) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.node.TimProcessNodeList.process(TimProcessNodeList.java:71) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.node.acquisition.TimProcessAcquisition.process(TimProcessAcquisition.java:158) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.aop.TimProcessNodeProxy.process(TimProcessNodeProxy.java:115) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.node.TimProcessNodeList.process(TimProcessNodeList.java:96) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.node.TimProcessNodeList.process(TimProcessNodeList.java:71) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.TimProcessRoot.process(TimProcessRoot.java:160) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.aop.TimProcessNodeProxy.process(TimProcessNodeProxy.java:115) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.torokina.tim.process.TimProcessAcquisitionManager.process(TimProcessAcquisitionManager.java:96) [oc-simple-acquisition-20.2.8-RELEASE.jar:]
 at com.ca.oc.ejb.engine.acquisition.InventoryAcquisitionInvoker.invoke(InventoryAcquisitionInvoker.java:107) [oc-ejb-20.2.8-RELEASE.jar:]
 at com.ca.oc.ejb.engine.EngineThreadManager$EngineActionTask.run(EngineThreadManager.java:209) [oc-ejb-20.2.8-RELEASE.jar:]
 at com.ca.oc.ejb.engine.poller.SimpleMonitoredTaskBuilder$SimpleMonitoredTask.lambda$run$0(SimpleMonitoredTaskBuilder.java:133) [oc-ejb-20.2.8-RELEASE.jar:]
 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 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:]
Caused by: java.lang.NumberFormatException: For input string: "c-190"
 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [rt.jar:1.8.0_282]
 at java.lang.Long.parseLong(Long.java:589) [rt.jar:1.8.0_282]
 at java.lang.Long.parseLong(Long.java:631) [rt.jar:1.8.0_282]
 at java_lang_Long$parseLong$0.callStatic(Unknown Source)
 at VcenterInventoryData$_getDVSPorts_closure4.doCall(VcenterInventoryData.groovy:198)
 at sun.reflect.GeneratedMethodAccessor674.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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.Closure.call(Closure.java:405) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.Closure.call(Closure.java:421) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2136) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.dgm$181.invoke(Unknown Source) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) [groovy-2.5.7.jar:2.5.7]
 at VcenterInventoryData.getDVSPorts(VcenterInventoryData.groovy:190)
 at VcenterInventoryData$getDVSPorts$1.callCurrent(Unknown Source)
 at VcenterInventoryData.processDVS(VcenterInventoryData.groovy:174)
 at sun.reflect.GeneratedMethodAccessor785.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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:351) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:64) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176) [groovy-2.5.7.jar:2.5.7]
 at VcenterInventoryData$_populateDVSFromFolder_closure2.doCall(VcenterInventoryData.groovy:151)
 at sun.reflect.GeneratedMethodAccessor675.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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.Closure.call(Closure.java:405) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.Closure.call(Closure.java:421) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2136) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.dgm$181.invoke(Unknown Source) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) [groovy-2.5.7.jar:2.5.7]
 at VcenterInventoryData.populateDVSFromFolder(VcenterInventoryData.groovy:146)
 at sun.reflect.GeneratedMethodAccessor784.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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:351) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:64) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176) [groovy-2.5.7.jar:2.5.7]
 at VcenterInventoryData$_getDVS_closure1.doCall(VcenterInventoryData.groovy:132)
 at sun.reflect.GeneratedMethodAccessor797.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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.Closure.call(Closure.java:405) [groovy-2.5.7.jar:2.5.7]
 at groovy.lang.Closure.call(Closure.java:421) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2136) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.dgm$181.invoke(Unknown Source) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) [groovy-2.5.7.jar:2.5.7]
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) [groovy-2.5.7.jar:2.5.7]
 at VcenterInventoryData.getDVS(VcenterInventoryData.groovy:125)
 at VcenterInventoryData.process(VcenterInventoryData.groovy:81)

Environment

Release : 20.2

Component : Virtual Network Assurance For CA Spectrum

Resolution

This issue is happening while processing the DVS ports in 6.7 , when VNA is trying to format the DVS port key from String to a long .

Alphabets are now allowed in the Port key. Modified the  DVS port type key to String from long. 

Contact VNA Support Engineer for details.