Citrix MAS -12.1-Unable to register Agent with ADM via Proxy server

Citrix MAS -12.1-Unable to register Agent with ADM via Proxy server

book

Article ID: CTX239893

calendar_today

Updated On:

Description

You will see a following message in the logs.

/var/log]$ cat mps_boot.log | more

 =====================
Wed Oct 17 00:40:46 GMT 2018mps.sh:: start of mps boot process
Wed Oct 17 00:40:46 GMT 2018mps.sh:: calling mpsstart.sh
Wed Oct 17 00:40:46 GMT 2018mpsstart.sh:: start
Wed Oct 17 00:40:46 GMT 2018mpsstart.sh:: SYSID: 450040
Wed Oct 17 00:40:46 GMT 2018mpsstart.sh:: VPXONCLOUD: 1
Wed Oct 17 00:40:46 GMT 2018mpsstart.sh:: either AWS or Azure cloud
Wed Oct 17 00:40:46 GMT 2018mpsstart.sh:: this is AWS cloud
Wed Oct 17 00:40:46 GMT 2018mpsstart.sh:: created directories
Wed Oct 17 00:40:50 GMT 2018mpsstart.sh:: created lease file
 
 
/var/log]$ cat messages | more
 
Dec  3 22:27:39 <kern.info> ns kernel: 1/1: promiscuous mode enabled
Dec  3 22:27:45 <local7.notice> ns bash[1964]: root on /dev/pts/1 shell_command="deployment_type.py"
Dec  3 22:28:11 <daemon.err> ns monit[208]: 'agent_monitor' process is not running
 
/var/mps/log]$ more mps_cloudagent.log 
 
Monday, 3 Dec 18 00:05:40.090 +0000 [Debug] [Main] Proxy details are set
Monday, 3 Dec 18 00:05:40.118 +0000 [Debug] [Main] Agent thread 0: #AgentWebSocket starting websocket with:
Monday, 3 Dec 18 00:05:40.126 +0000 [Error] [Main] Agent thread 0:  Error in creating HTTP ConnectionHost not found: https://proxy.xx.xxx.au
Monday, 3 Dec 18 00:05:52.100 +0000 [Debug] [Main] Retrying to get mas_license from DB
Monday, 3 Dec 18 00:05:52.100 +0000 [Debug] [Main]  URL : https://///nitro/v1/config/mas_license?asc=yes&pageno=0&pagesize=0
 
 
var/mps/log]$ cat register_agent_cloud.py.log | more
 
2018-10-17 00:40:51:                         _main:1281: [DEBUG] ------------------------------------- Start -----------------------------
2018-10-17 00:40:51:                         _main:1298: [DEBUG] Arguments provided by user: Namespace(action='registeragentdummy', activationcode=None, dbstr=None, mas=False, password=None, reboot=False, serverip=None, serviceurl=None, syslogport=None, syslogserver=None, username=None)
2018-10-17 00:40:51:                         _main:1299: [DEBUG] -------------Prechecks and Setup start---------------
2018-10-17 00:40:51:                         _main:1306: [DEBUG] Working on network parameters
2018-10-17 00:40:51:                         _main:1312: [DEBUG] Network parameters are set.
2018-10-17 00:40:51:                         _main:1314: [DEBUG] Working on auto registration
2018-10-17 00:40:51:                         _main:1321: [DEBUG] Auto registration is set.
2018-10-17 00:40:51:                         _main:1325: [DEBUG] registeragentdummy option selected
2018-10-17 00:40:51:                         _main:1334: [DEBUG] Agent is not deployed.
2018-10-17 00:40:51:                         _main:1341: [DEBUG] -----------Prechecks and Setup finished.------------------
2018-10-17 00:40:51:             deployment_choice:1257: [DEBUG] registering agent in dummy mode
2018-10-17 00:40:51:             deployment_choice:1259: [DEBUG] /mpsconfig/db_key.conf created
2018-10-17 00:40:51:             deployment_choice:1261: [DEBUG] /mpsconfig/agent.conf touched
  

Resolution

Upgrade to 12.1 build 505.134

Problem Cause

The Proxy settings were not getting applied on NMAS Agent Properly. Hence, the Agent registration is getting failed through Proxy server. It is a bug in 12.1 build 505.130