Troubleshooting with VNA Integration

 The following error message is thrown 'unable to connect to SDN Gateway through webSocket' during Spectrum and VNA integration. Following is the error message log: 
casp1032
'unable to connect to SDN Gateway through webSocket' error message found during Spectrum and VNA integration
 
Symptom:
 
 
 
The following error message is thrown 'unable to connect to SDN Gateway through webSocket' during Spectrum and VNA integration. Following is the error message log: 
java.lang.IllegalArgumentException: no such vertex in graph: 1100
at org.jgrapht.graph.AbstractGraph.assertVertexExist(AbstractGraph.java:132)
at org.jgrapht.graph.AbstractBaseGraph.addEdge(AbstractBaseGraph.java:141)
at com.ca.em.sdn.gateway.broker.common.client.SDNClientHelper.lambda$splitUpdate$1(SDNClientHelper.java:103)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at com.ca.em.sdn.gateway.broker.common.client.SDNClientHelper.splitUpdate(SDNClientHelper.java:103)
at com.ca.spectrum.app.sdn.integration.manager.SpectrumInventoryUpdater.updateReceived(SpectrumInventoryUpdater.java:327)
at com.ca.em.sdn.gateway.broker.common.client.ListenerManager.notifyListenersOfInventoryUpdate(ListenerManager.java:62)
at com.ca.em.sdn.gateway.broker.common.client.NotifierTask.notifyListeners(NotifierTask.java:65)
at com.ca.em.sdn.gateway.broker.common.client.NotifierTask.run(NotifierTask.java:36)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
 
Solution:
 
 
 
Such exceptions occur when the VNA inventory is corrupted. To overcome this issue, reinstall VNA.  
Aggregator VNA is sending unwanted Full updates to OneClick
 
Symptom
Aggregator VNA is sending unwanted Full updates to OneClick. Alarm occurrence count is increased when an integrated VNA is queried from another SDN gateway client. Aggregator VNA should only connect to one OneClick. In case another client connects to the Aggregator VNA, it sends Full updates to all the connected OneClick clients.
 
Solution:
 
Ensure only one OneClick is installed with a VNA Aggregator.
Inventory is not modeled or models are duplicated
 
Symptom:
 
Inventory is not modeled or models are duplicated. 
 
Solution
:
Follow these steps:
  1. Run sync on the domain 
  2. Ensure that the SpectroSERVER and the primary OneClick is up and running. 
  3. Check the Tomcat logs on the primary OneClick for error messages.
Leaf and spine switches are not getting modeled
 
Symptom:
 
Leaf and spine switches are not modeled. 
 
Solution: 
 
Spectrum uses community strings from VNM>AutoDiscovery Control>Modeling and Protocol options→SNMP community string to discover SNMP devices. Follow these steps:
  1. Ensure the device SNMP credentials are added.
  2. Log into the APIC portal and select 
    Fabric
     on the top bar of the page. Navigate to the 
    Fabric Policies
    Pod Policies
     > 
    Policies
     > 
    SNMP 
    and check for the SNMP policies. 
  3. Add the SpectroSERVER IP address to the 
    Client Group Policies
     list to discover and model ACI elements in the corresponding SpectroSERVER.
Upgrade from the previous version is not supported. Users have to disable the existing integration and integrate again with VNA 3.5.1.
'Site is missing' how to find out if the remote VNA is down from Spectrum?
 
Symptom:
 
Remote VNA connection is missing. 
 
Solution:
 
Follow these steps:
  1. You can check the connection status between VNA Aggregator and the remote VNA. 
  2. Check for VNA troubleshooting in the VNA documentation.
Fault data is missing, how to find out if it is a VNA or a Spectrum issue?
 
Symptom: 
 
Fault data from APIC faults view is not displayed in Spectrum alarm console.
 
Solution:
 
Follow these steps
  1. Check if fault data is supported by VNA. Unsupported faults are not sent to Spectrum by VNA and therefore will not be displayed.
  2. Check if fault data is present in the VNA db (MySQL). If fault is not present in the VNA db, it is either unsupported.
  3. Enable SDN Gateway debug from the OneClick Admin page.
'Modeling in progress' (an attribute on SDN Manager) stuck for longer time of this?
 
Symptom: 
 
Spectrum modeling job is stuck or not completed.
 
Solution:
 
  1. Check whether any exception occurred in the OneClick server logs.
  2. If 'Modeling in progress' attribute (SDN_Modelling_inProgress) is true for a longer time, enable the VNA configuration debug log in OneClick web page.
    To enable VNA configuration debug log in OneClick web page: 
    1. Go to the Administration page of OneClick > Debugging > Web Server Debug Page (Runtime) > VNA Integration Information > ON radio button> Desired Level=Max > Apply
    2. Administration > Debugging > Web Server Debug Page (Runtime) > VNA Notification Sync > ON > Desired Level=Max > Apply
    3. Collect the OneClick Web Server Logs in windows and Linux
  3. Disable SDN_Modelling_inProgress attribute (false) and perform 
    Sync
     action on one of the user domains modeled in that SpectroSERVER.
  4. If the problem persists, approach the Spectrum support team by providing the OneClick server logs.
 To enable debug logs in the VNA server, see VNA documentation.