Description

Configuration and/or inventory are not properly displayed in Junos Space Network Management Platform

Symptoms

Device Inventory Information is incorrect or missing

Configuration changes have occurred on Junos device, when navigating to the same change in "View Active Configuration" The same change cannot be found.
 

Solution

Try First

Run "Resynchronize with network" first

From Space Platform - 
rt-click or Action menu (with one or more devices selected)
Device Operations, Resynchronize with network.


Many times this will resolve the problem.

NOTE: If you have to frequently run "Resynchronize with network", and it resolves the problem every time. The automatic operation is not triggering properly. (Contact JTAC for assistance)

 

Also Check:

If this device is new or CLI changes may have been made by another system, check for unsupported netconf modes enabled on the device.

set system services netconf yang-compliant 

set system services netconf rfc-compliant 

Other management systems may add these lines and are not compatible with Junos Space.


 

Data collection for Juniper Investigation


Before applying a workaround, please collect the following information to attempt to capture the failure for Juniper development review.
 

  1. Enable Junos Space debug logs for "sever.log"
    1. From Network Management Platform:  Administration, Space Troubleshooting, Log Configuration.
    2. Locate line: FILE  server.log
    3. Change "warn" to "debug"
    4. ok, and apply at the bottom
  2. Run resync with network for the impacted device
  3. Disable debug, set back to "warn"
  4. Capture space troubleshooting logs
  5. Capture Junos Space database backup
  6. Capture request-support-information from Junos device to capture details
  7. Capture screenshot or output of an example of the missing data on Junos Space

Note: Unfortunately for this issue, many times (but not always) the required debug information is from the previous occurance of device config import into Junos Space that may have happened days or weeks ago, conflicting with the data imported during the current "resync with network".  JTAC will report the occurance to development to attempt to isolate the cause.

 

Workaround

Option 1

Delete and re-add the device from Junos Space

Option 2

Use cleanupDeviceImportTables.sh command for Junos Space CLI

  1. Login to Junos Space CLI, JBoss VIP node
  2. Use the command:
/var/log/space-debug/debug-utilities/deviceImport/cleanupDeviceImportTables.sh  <deviceName>
  • Replace <deviceName> with the name of the device in Junos Space
  • If the device is an SRX cluster. This command MUST be run on both members of the cluster
  • If the device is an SRX LSYS. Run this command on the root device only
  1. run "Resynchronize with network" for all devices we used the command above


If after the workarounds above do not correct the problem with showing device inventory or current device config.  Please open a JTAC case for further review.

Modification History

2024-03-13 - Created article