Agent Offline - route contains a loop with this node
search cancel

Agent Offline - route contains a loop with this node

book

Article ID: 381760

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Some NES and some Agents appears as Offline (reachable = false)
 
In nimi*.log of NES we could see some errors like this :
 
2024-11-07T23:23:08.282-05:00 [DiscoveryWorker-49705] ERROR (com.nolio.nimi.routing.impl.BasicRoutingDiscoveryWorker:336) - Got invalid response for [nid:<agent_nid>]. [[NodeInfo{nodeId=nid: ... - route contains a loop with this node [nid:es_<nes_id>].

Environment

Release Automation - All Versions

Cause

There is a loop in NES supernode configuration.

For example :
NES1 has NES2 and NES3 as supernodes
NES2 has NES1 and NES3 as supernodes
NES has no supernode

There is a loop between NES1 and NES2

Resolution

Check the supernode configuration of all NES in file <ra_home>/conf/nimi_config.xml and remove the loop

Example :

  • NES1 has this in nimi_config.xml
    <supernodes>
          <supernode>NES2:6600</supernode>
          <supernode>NES3:6600</supernode>
    </supernodes>

  • NES2 has this in nimi_config.xml
    <supernodes>
          <supernode>NES1:6600</supernode>
          <supernode>NES3:6600</supernode>
     </supernodes>
  • NES3 has this in nimi_config.xml
    <supernodes>
    </supernodes>

 

To remove the loop we could for example remove NES1 as supernode of NES2 :

NES2 has now this in nimi_config.xml

<supernodes>
      <supernode>NES3:6600</supernode>
 </supernodes>