vCenter adapter integration using cloud proxy fails with error "use correct username and password"
search cancel

vCenter adapter integration using cloud proxy fails with error "use correct username and password"

book

Article ID: 399739

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Adding a vCenter adapter instance fails with the error message "Use Correct Username and Password" when attempting to use a Cloud Proxy as the collector.
  • The same error may be encountered when using a Collector Group that includes the problematic Cloud Proxy.

  • The vCenter credentials being used are validated as correct and work successfully when using another Cloud Proxy or an Analytics node as the collector.

Environment

Aria Operation 8.18.x

Cause

The issue occurs because the Cloud Proxy was not fully initialized or encountered a service issue during its initial setup. This can lead to a mismatch in security keys.

 

Resolution

Please resolve the issue by following the workaround steps below:

  1. Manually update the cluster_master_key.txt file on the Cloud Proxy from the VMware Aria Operations Master node.

    • Take a snapshot of the Problamatic Cloud proxy. 
    • SSH to the Master VMware Aria Operations node.

    • Copy the content of the master key file:

      cat /usr/lib/vmware-vcops/user/conf/cluster_master_key.txt
      
    • SSH to the problematic Cloud Proxy.

    • Update the content of the cluster_master_key.txt file using the content copied from the master node, and save the file.

      vi /usr/lib/vmware-vcops/user/conf/cluster_master_key.txt
      
  2. Reconfigure the vCenter adapter instance. The connection should now validate successfully.

If the issue persists, redeploying the Remote Cloud Proxy has been validated to resolve the issue.