License assignment failure due to due to a misconfigured DNS record - VCF operations
search cancel

License assignment failure due to due to a misconfigured DNS record - VCF operations

book

Article ID: 453197

calendar_today

Updated On:

Products

VCF Operations VMware vSphere Foundation

Issue/Introduction

  • Assigning license task fails with the error message below: 

    Licenses could not be synchronized with the vCenter systems.

    Licenses could not be assigned to the selected vCenter systems.

  • The following error is logged in /storage/log/vcops/log/collector.log on the VCF Operations node: 

    Failed to get Entitlements [########-####-####-####-############] from License Server [########-####-####-####-############] with URL [<licenseserverfqdn>] with response [License Server returned unexpected status code: 503 and response Service Unavailable]
    }], data = com.vmware.cis.license.subscription.entitlement.entitlements.update_error_info => {reason=LICENSE_SERVER_FAILURE, license_server_failure_info=com.vmware.cis.license.subscription.entitlement.entitlements.license_server_failure_info => {connectivity_failure_reason=ENODNS, reason=UNKNOWN_HOST}}, errorType = ERROR

  • License Server FQDN is correctly configured in the vApp properties

  •  DNS forward and reverse lookups for vCenter resolve correctly when tested via root SSH from the VCF Operations console

  • Running nslookup from the VCF Operations node to the license server generates the error:

    root@<vcf-ops-hostname> [/]# nslookup licenseserver_hostname.example.com
    ;; communications error to <VCF Ops IP>#53: connection refused
    ;: communications error to <VCF Ops IP>#53: connection refused
    ;: communications error to <VCF Ops IP>#53: connection refused
    ;; no servers could be reached
  • License Server appliance shows Connectivity: Connected , but Hostname : <licenseserverfqdn> (Not Resolvable)
     

Environment

  • VCF Operations 9.x

  • VMware vSphere Foundation (VVF) 9.1

Cause

vCenter Server and VMware Cloud Foundation (VCF) Operations appliance is unable to resolve the Fully Qualified Domain Name (FQDN) of the license server to its corresponding IP address.

Resolution

Configure a forward (DNS) and reverse (PTR) lookup record for the license server.

Additional Information

Error "Licenses could not be synchronized with the vCenter systems" in VCF Operations

"Licenses could not be synchronized with the vCenter systems", unable to assign the vCenter license from VCF Operations

License assignment failure due to incorrect license server configuration in VCF 9.1