ACI discovery fails

  • KM03646071
  • 31-May-2020
  • 31-May-2020

This document is under revision.

Summary

NNMi does not discover an ACI system properly if the device IP is specified in Specific Node Settings instead of its FQDN.

Error

The related stacktrace can be seen in the nnm-trace.log file, if the discovery module is set for FINEST.

2020-02-12 12:47:38.618 FINE  [com.hp.ov.nms.disco.analyzer.nc.NodeNameChooser] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Choosing name for node 11.1.1.1/<NodeFQDN>
2020-02-12 12:47:38.618 FINER [com.hp.ov.nms.disco.analyzer.nc.NodeNameChooser] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Trying 1st naming algorithm: Short DNS Name
2020-02-12 12:47:38.618 FINER [com.hp.ov.nms.disco.analyzer.nc.NodeNameChooser] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Invalid hostname 10.7.7.3
2020-02-12 12:47:38.618 FINER [com.hp.ov.nms.disco.analyzer.nc.NodeNameChooser] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Trying 2nd naming algorithm: Short sysName
2020-02-12 12:47:38.619 FINER [com.hp.ov.nms.disco.analyzer.nc.NodeNameChooser] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Preferred Display Name: <NodeFQDN>
2020-02-12 12:47:38.639 FINEST [com.hp.ov.nms.disco.analyzer.nc.ProfileController] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Management address[before/after profile]:[11.1.1.1/11.1.1.1]
2020-02-12 12:47:38.639 FINEST [com.hp.ov.nms.disco.analyzer.nc.ProfileController] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Get Profilers for Node: <NodeFQDN>
2020-02-12 12:47:38.640 FINER [com.hp.ov.nms.disco.analyzer.nc.SnmpProfiler] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Agent version: 2
2020-02-12 12:47:38.640 FINER [com.hp.ov.nms.disco.analyzer.nc.ProfileController] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Done to profile node uuid=<NodeUUID>, address=11.1.1.1, name=11.1.1.1, callback=BasicNodeEntryPoint, managementAddressHint=null
2020-02-12 12:47:38.640 FINE  [com.hp.ov.nms.disco.analyzer.nc.CiscoAciProfiler] (Thread-28 (group:HornetQ-client-global-threads-767529744)) CiscoAciProfiler is profiling node: <NodeFQDN>
2020-02-12 12:47:38.640 FINER [com.hp.ov.nms.disco.analyzer.nc.RestProfiler] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Profiling Node: 11.1.1.1 with UUID: <NodeUUID>
2020-02-12 12:47:38.640 FINEST [com.hp.ov.nms.disco.analyzer.nc.RestProfiler] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Create WebAgentConfigEntry for Node: <NodeFQDN>
2020-02-12 12:47:38.643 FINEST [com.hp.ov.nms.disco.analyzer.nc.RestProfiler] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Create WebAgentConfigEntry for NodeInfo: <NodeFQDN> Hostname: 11.1.1.1MgmtIP: /11.1.1.1
2020-02-12 12:47:38.645 FINE  [com.hp.ov.nms.disco.target.resolver.DiscoSoapServiceTargetResolver] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Cannot resolve SoapTargetConfig b/c WebAgentConfig does not specify agent's nodePid, hostname or name/ip

Cause

NNMi will not discover an ACI device properly if its IP address is specified in the Specific Node Settings menu instead of its FQDN:

2020-02-12 12:47:38.618 FINER [com.hp.ov.nms.disco.analyzer.nc.NodeNameChooser] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Invalid hostname 11.1.1.1

2020-02-12 12:47:38.645 FINE  [com.hp.ov.nms.disco.target.resolver.DiscoSoapServiceTargetResolver] (Thread-28 (group:HornetQ-client-global-threads-767529744)) Cannot resolve SoapTargetConfig b/c WebAgentConfig does not specify agent's nodePid, hostname or name/ip

Fix

To re-seed the node correctly:

1. Delete the node from Inventory - Nodes

2. Delete the node from Discovery - Seeds

3. Make sure that the device FQDN is specified next to "Target Hostname"  in the Specific Node Settings configuration page

4. Seed the device