Installing telegraf agent through the UI is failing with error in UI : "Unterminated string at 163 [character O line 7]"
search cancel

Installing telegraf agent through the UI is failing with error in UI : "Unterminated string at 163 [character O line 7]"

book

Article ID: 382038

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • Cloud proxy is configured with a load balancer 
  • The ARC FQDN in /opt/vmware/ucp/salt-minion/etc/salt/grains file on Linux endpoint or for Windows endpoint its located at C:\vmware\UCP\salt\conf\grains is pointing to the Loadbalancer FQDN
  • Error presented uaf_boostrap.log file located for Linux endpoint at /tmp/vmware-root/VMware-UCP_Bootstrap_Scriptsvmwar<int>/uaf_boostrap.log or for Windows endpoint it is located at C:\Users\Administrator\AppData\Local\Temp\vmware-Administrator\VMware-UCP_Bootstrap_Scriptsvmware<int>\uaf_bootstrap.log or C:\Temp\vmware-Administrator\VMware-UCP_Bootstrap_Scriptsvmware<int>\uaf_bootstrap.log  is similar to :
    • ++ curl_err_dict[6]='Unable to resolve the ARC server.'
      ++ curl_err_dict[7]='Network Failure: Failed to connect to ARC server.'
      ++ declare -A wget_err_dict
      ++ wget_err_dict[4]='Network failure: ARC server is not reachable/resolvable from endpoint'
  • Nslookup from the endpoint to the ARC FQDN is failing 

Environment

Aria Operations 8.x

Telegraf agent 8.x 

Linux OS 

Windows OS

Cause

Endpoint cannot resolve the ARC FQDN which is the Load Balancer FQDN  

Resolution

  1. Create a DNS record for Load Balancer
  2. Restart Cloud Proxy from vCenter