Connection to vCenter Server or Aria Suite Products from Usage Meter Fails with Error: 'Credential Verification Failure'
search cancel

Connection to vCenter Server or Aria Suite Products from Usage Meter Fails with Error: 'Credential Verification Failure'

book

Article ID: 399437

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

  • Usage Meter is unable to establish a connection to the vCenter Server using either the IP address or FQDN. The connection attempt fails with the error: "Credential Verification Failure"
  • The nslookup command for the vCenter IP address does not return a valid response, indicating a failure in name resolution.
  • Error in the collection-vcenter-error.log located at /opt/vmware/cloudusagemetering/platform/logs/
    ####-##-## 13:58:47.889 ERROR --- [####-#-######-#] com.vmware.um.vcsession.VCSession : VCSession login for server 4 failed with class com.sun.xml.ws.client.ClientTransportException com.sun.xml.ws.client.ClientTransportException: HTTP transport error: org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)
  • While adding Aria Suite Lifecycle Manager under Usage Meter UI > Management > VCF Operations Fleet Management > Aria Suite Lifecycle Manager shows below errors

"There was an error connecting to the VCF Operations fleet management to validate the credentials" and  "Failed to connect to endpoint : ##########################:443. Please provide correct endpoint"

Environment

vCloud Usage Meter 4.8

VCF Usage Meter 9.0.x

Aria Suite Products 8.18.x

Cause

The issue is caused by a failure in reverse DNS resolution when Usage Meter attempts to connect to the vCenter Server.

Resolution

To resolve the issue, follow the steps below to bypass the reverse DNS lookup by manually adding the vCenter Server or Aria Suite Products entry to the Usage Meter appliance's hosts file:

  • Take a snapshot of the Usage Meter appliance to preserve the current state.
  • Remove the vCenter Server or Aria Suite Products from the Usage Meter web UI that is showing the "Credential Verification Failure" error.
  • SSH into the Usage Meter appliance as the root user.
  • Open the hosts file for editing using:
    • vi /etc/hosts
  • Add the vCenter Server or Aria Suite Products entry in the following format:

    • If the vCenter Server does have a FQDN, use:
      # Begin /etc/hosts (network card version)
      
      ::1         ipv6-localhost ipv6-loopback
      127.0.0.1   localhost.localdomain
      127.0.0.1   localhost
      # End /etc/hosts (network card version)
      127.0.0.1 xyz.xyz.local
      <vCenter_IP>    <vCenter_FQDN>
      <vRSLCM_IP>   <vRSLCM_FQDN>
      <Aria_Operations_IP>   <vAria_Operations_FQDN>

       

    • If the vCenter Server does not have a FQDN, use:
      # Begin /etc/hosts (network card version)
      
      ::1         ipv6-localhost ipv6-loopback
      127.0.0.1   localhost.localdomain
      127.0.0.1   localhost
      # End /etc/hosts (network card version)
      127.0.0.1 xyz.xyz.local
      <vCenter_IP>    vc-<V-C-I-P>.local
      
      Example:
      xx.xx.xx.xx  vc-xx-xx-xx-xx.local
  • Save and exit the file by typing:
    • :wq!
  • Reboot the Usage Meter appliance to apply the changes:
    • reboot -f
  • After the appliance reboots, log in to the Usage Meter UI as usagemeter.
  • Re-add the vCenter Server or Aria Suite Products and click Save.