SDDC Manager upgrade fails with error VCENTER_ROOT_ACCESS_FAILED when only a management domain is deployed
search cancel

SDDC Manager upgrade fails with error VCENTER_ROOT_ACCESS_FAILED when only a management domain is deployed

book

Article ID: 463528

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • The SDDC Manager upgrade workflow fails in environments containing solely a management domain.

    Failed to SSH into VCenter using root credentials. SSH access to vCenter is necessary for upgrades. Validate root credentials stored in inventory is valid,validate SSH access is enabled for VCenter, validate credentials are not locked/expired VCENTER_ROOT_ACCESS_FAILED

  • The vCenter server root credentials stored in SDDC Manager are verified using the lookup_passwords utility.

  • Direct SSH login to the vCenter server from SDDC manager succeeds using the retrieved root credentials.

  • Exact error message in the /var/log/vmware/vcf/lcm/lcm-debug.log:

    ERROR vcf_lcm #### [sddcm@#### traceId="0000000000000000" spanId="0000" upgradeId="####"resourceType="THIRD_PARTY" resourceId="####" bundleElementId="####" threadId="Upgrade-1" class="c.vmware.vcf.secure.ssh.SshExecuter" method="<init>" line="227"] Unable to establish SSH session to host <vcenter-hostname>
    com.vmware.vcf.secure.ssh.common.SshClientException: <vcenter-hostname>: [ssh-connection]: Failed to get operation result within specified timeout: 30000 msec

Environment

VMware Cloud Foundation 9.1.1

Cause

During SDDC Manager upgrade in a VCF 9.1 environment where vCenter instances of management and workload domains are not linked and have dedicated Single Sign-On, when attempting to establish an SSH connection to a management vCenter instance, the upgrade process might fail.
This is a known issue in VCF 9.1: 
VCF Installer Known Issues

Resolution

Workaround:
  • Log in to the SDDC Manager appliance.

  • Edit the /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties file and add or modify the following parameter:
    lcm.vcenter.ssh.precheck=false

  • Restart all SDDC Manager services by using the following command:
    sh /opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh

  • Retry the SDDC Manager upgrade.