When deleting devises from OC Inventory we get the following error in WASP log file:
Aug 16 16:16:42:976 ERROR [https--nio-443-exec-1, com.nimsoft.nisapi.core.UIMProbe] error() Request.send() failed. Reason: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/OUR_DOMAIN/HOST3007_PRIMARY_HUB/HOST3007/discovery_server'
Aug 16 16:16:42:976 ERROR [https--nio-443-exec-1, com.nimsoft.nisapi.core.services.element.ElementServiceImpl] error() Could not completely delete device(s). Reason: java.lang.Exception: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/OUR_DOMAIN/HOST3007_PRIMARY_HUB/HOST3007/discovery_server'
Aug 16 16:19:50:688 ERROR [https--nio-443-exec-10, com.nimsoft.nisapi.core.UIMProbe] error() Request.send() failed. Reason: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/OUR_DOMAIN/HOST3007_PRIMARY_HUB/HOST3007/discovery_server'
Release : 20.3
Component : UIM - DISCOVERY_SERVER
Here is the important part of the log:
Reason: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/OUR_DOMAIN/HOST3007_PRIMARY_HUB/HOST3007/discovery_server'
The internal command nametoip is used to call a probe at another system, which in this case is the discovery_server.
The command is failing to get a response from discovery_server, and it is discovery_server that performs the deletion of a device.
Deactivate and activate discovery_server, and then do the delete again. If it still fails restart both the primary hub and the OC robot.
The path here typically needs to match exactly as shown in IM console.
<ump_common>
discovery_server = /JD/PH/PH-robot/discovery_server
So this change creates the problem.
discovery_server = /Jd/PH/PH-robot/discovery_server
NOTE: Even if the path is incorrect and device delete fails to work, device discovery will still work.