VNA SDN device is missing from Portal Inventory
search cancel

VNA SDN device is missing from Portal Inventory

book

Article ID: 279416

calendar_today

Updated On:

Products

Network Observability CA Performance Management Virtual Network Assurance Spectrum

Issue/Introduction

A DX NetOps Virtual Network Assurance integration with DX NetOps Performance Management isn't working properly.

In Portal we see the devices when searching under Device inventory. Searching VNA inventory the devices are not found.

The Site the devices belong in is present in Portal but does not contain the devices.

The same VNA integration with Spectrum shows the devices as VNA SDN models in the Spectrum inventory.

The VNA swagger UI Inventory output shows the devices are present and known to VNA.

The Data Aggregator Inventory shows the devices with only SNMP based Metric Families showing as Supported. None are SDN based.

Noting the DA Item_ID from the ID field of the devices Details tab in the DA Inventory, and using in this URL shows only SNMP and ICMP based protocols supported. No SDN references like we'd expect and see from properly discovered VNA devices.

  • <scheme>//<DA_Host>:<Port>/rest/devices/<DA_Item_ID>

Checking for the same devices using the same ID in this sdns inventory URL for the DA returns no results. Just a value "</SDNList>". This indicates the ID doesn't exist as an SDN known item.

  • <scheme>//<DA_Host>:<Port>/rest/sdns/<DA_Item_ID>

Environment

All supported DX NetOps Virtual Network Assurance releases

All supported DX NetOps Performance Management releases

All supported DX NetOps Spectrum releases

Cause

Undetermined. Once the Inventory is contributed and the Gateway remains Up, only new items seen in the integrated SDN solution will be added. Existing items won't be seen as missing and added to inventory.

Resolution

Triggering an Inventory sync from VNA to DA, without causing item or config deletions, is done through the VNA Gateway status changes in Portal.

Taking this action will result in the VNA Inventory being updated with any missing items received. It will receive the VNA inventory, and compare it with existing DA inventory, adding anything missing.

Take the following steps to trigger an Inventory sync update from VNA to DA.

  1. Log into the Portal web UI.
  2. Go to Administration->Monitored Items Management->VNA Administration
  3. Select the Gateway involved if more than one.
  4. Choose the Edit button.
  5. In the Configure VNA Gateway UI set Administrative Status from Up to Down. Save the change.
  6. Wait for both Administrative and Operational Status to show Down before resetting back to an Administrative=Up state.
  7. In the Configure VNA Gateway UI set Administrative Status from Down to Up. Save the change.

Monitor the vna.log file found on the DA in (default path) /.... for messages about "Type = FULL" to see when the Inventory refresh is completed. Sample messages when it completes are seen here. If the message seen is "Type = PARTIAL" it's not a match for this activity. This triggers a "Type = FULL".

INFO  | entory-processor | 2024-02-15T18:29:18,826 | SDNInventory | roller.impl.sdn.SDNInventoryTask   81 | run: | SDNInventoryTaskData Summary: SDN Inventory Summery: Type = FULL, updateTime = Thu Feb 15 18:29:18 UTC 2024, updateNumber = 285, indirectProcessingNeeded = false, gwItemID = 6547
    # of domains = 1
    # of devices = 48
    # of components = 144
    # of relations = 2332
    # of other items = 997
    # of changed items = 0
    # of new attributes = 15
    # of deleted Relations = 0
    # of other deleted items = 0
    # of total items = 1204
INFO  | entory-processor | 2024-02-15T18:29:18,937 | SDNInventory | roller.impl.sdn.SDNInventoryTask   92 | run: | Finished processing Update[ Gateway: 6547, Update #: 285 ] - Total Execution Time: 130 ms
INFO  | entory-processor | 2024-02-15T18:29:18,937 | SDNInventory | roller.impl.sdn.SDNInventoryTask  100 | run: | Task Summary (approximate): Items [ 0 created, 1110 updated, 0 deleted, 0 unmanaged ], Relations [ 0 created, 0 updated, 0 deleted ], Toplinks [ 0 created, 219 updated ]

After that message is seen in the vna.log, after a DA and Global Sync run in Portal, check Portal Inventory for the missing devices.

Additional Information

This Gateway Administrative state change cycle does not impact Spectrum's VNA integration.