OS Agent with multiple IPs gets different IP than UC_EX_IP_ADDR setting
search cancel

OS Agent with multiple IPs gets different IP than UC_EX_IP_ADDR setting

book

Article ID: 269197

calendar_today

Updated On:

Products

CA Automic One Automation CA Automic Workload Automation - Automation Engine

Issue/Introduction

On a Linux or Windows Host with multiple IP-addresses the following problem can occur: 
When the agents startup it uses a system call to retrieve its resolvable IP address (similar to the system call used by nslookup) see parameter TCP/IP-addr same in version 12.  This is a difference in behavior than what happened in v10, v11, v12

==================================================

20230616/132407.170 - TCP/IP-addr.         :  '192.0.2.1'  

==================================================


Unlike in earlier versions, in version 21 the Agent scans all existing IPs and binds them all to the listener port (U02000066 messages).
The problem is that the agent takes the first non local IP from the list and send it as IP-Address to the AE system.

=================================================

20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='127.0.0.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:127.0.0.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='203.0.113.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:203.0.113.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='192.0.2.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:192.0.2.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='192.0.2.2'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:192.0.2.2'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='192.0.2.3'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:192.0.2.3'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='2001:db8:ffff:ffff'

=================================================

Consequence


If this IP address is not resolvable or not routable, the Automate will not be able to communicate with this agent. File transfer will not be possible.

 

Environment

Release : 21.x

Component: Automation Engine

Sub-Component: Agents Windows and Unix/Linux

Cause

This is a defect of the System Agents (Windows and Linux)

Resolution

This bug will fixed in the different Agent component and in the following near versions:

21.0.8 - scheduled second half September 2023

21.0.7 HF2 - available

 

Additional Information

Bug ID: AE-32780 
Bug Title: Linux with multiple IP-addresses: The new agent gets a wrong IP-address as UC_EX_IP_ADDR. Complete different behavior as in v10, v11, v12!

Bug ID: AE-32823
Bug Title: Windows Agent reports wrong IP address to Server

Bug ID: AE-33127 (only available on 21.0.8 and superior)
Bug Title: v21 Windows Agents wrong IP selection mechanism compared to v12