Knowledge Search


×
 

Device found in Security Director but not in Junos Space Platform

  [KB33777] Show Article Properties


Summary:

Under some conditions, when a device is deleted from Junos Space, the device entry remains in Security Director

Symptoms:
  • Device listed twice in Security Director Device list.

  • Device that has been deleted continues to appear in Security Director.

Cause:

The delete operation does not complete in Security Director under certain conditions when a Policy is assigned at the time of delete.

Solution:

Workaround for all versions where this problem is seen:

  1. Download script file here.

  2. SCP file to server and unzip:

    Example:
    unzip stale_device_in_SD_script-v1.sh.zip
  3. Run Script:
    bash stale_device_in_SD_script-v1.sh

Note: The script can be extracted on your computer. Each command inside the script can run on CLI if copying to remote system is difficult.

Upgrade to Junos Space 18.3R1 to prevent this from happening. However, it will not correct any bad entries at the time of upgrade.

See PR1356317 - Cluster device appears to remain in SD after deletion.

Related Links: