Unable to remediate the vCenter administrator password from SDDC manager with error 'Cannot connect to vCenter'
search cancel

Unable to remediate the vCenter administrator password from SDDC manager with error 'Cannot connect to vCenter'

book

Article ID: 427212

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • Unable to remediate the vCenter administrator password from SDDC manager with error 'Cannot connect to vCenter'
  • vCenter is reachable via ping from the SDDC, and there are no firewall restrictions between the two environments.
  • The system clocks on the SDDC and vCenter are out of sync, as confirmed by the date command output on both appliances.
  • From SDDC Manager /var/log/vmware/vcf/operationsmanager/operationsmanager.log, there is error log below

    at com.vmware.vcf.passwordmanager.validation.utils.CredentialsValidationTaskExecutor$1.call(CredentialsValidationTaskExecutor.java: XX

Environment

VMware Cloud Foundation 5.x

Cause

A time skew between the SDDC and vCenter is causing authentication failures, rendering it impossible to remediate the vCenter password.

Resolution

To resolve this issue, synchronize the system clocks across the environment. Follow these steps to align the time on both the vCenter Server Appliance (VCSA) and the SDDC Manager.

  1. Verify and Update Time on vCenter Server UI:
    Log in to the vCenter Server Appliance Management Interface (VAMI) at https://<vcenter-fqdn>:5480.
    Navigate to Time and verify the NTP Settings.

  2. Verify and Update Time on SDDC UI:
    Log in the SDDC Manager UI, click Administration > Network Settings.
    On the Network Settings page, click the NTP Configuration tab.

  3. Ensure the time difference between SDDC Manager and vCenter is less than 30 seconds.
  4. Return to the SDDC Manager UI, navigate to Password Management, and retry the vCenter administrator password remediation.