Aria Operations Cannot establish connection with vCloud Director
search cancel

Aria Operations Cannot establish connection with vCloud Director

book

Article ID: 398916

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • When configuring the vCloud Director adapter for Aria Operations, an error is received when validating the connection.
    • Login Failed : Failed to Login : java.net.UnknownHostException: UnknownHostException invoking https://<vCloud_Director_FQDN/api/admin/ : <vCloud_Director_FQDN>
  • The Operations appliance cannot resolve the vCloud Director FQDN or IP. An 'nslookup' returns 'NXDOMAIN'
    • nslookup <vCloud_Director_FQDN>
      nslookup <vCloud_Driector_IP>

Environment

Aria Operations 8.x

Cause

The DNS record for the vCloud Director instance either does not exist or has not been updated.

Resolution

There are two possible solutions to this issue:

    1. Create or update the DNS records on the DNS server configured for Aria Operations. (This is the preferred method.)

      OR


    2. Edit the hosts file of the collector/collectors and add the vCloud Director endpoint.
      • cp /etc/hosts /etc/hosts.bk
        vi hosts
      • Add the vCloud Director IP and FQDN to the bottom of the file
        • <vCloud_Director_IP> <vCloud_Director_FQDN>
      • Save and quit vi
      • Repeat for all nodes in the collector group if the adapter is configured to use a collector group.
      • Reattempt the 'Connection Validation' for the vCloud Director instance.
      • Hit 'Save' is validation succeeds.