Failed to upgrade VCF management lifecycle from 9.1.0 to 9.1.1 with the error: Cannot complete login due to an incorrect user name or password. [VCFMS-HEALTH-002]
search cancel

Failed to upgrade VCF management lifecycle from 9.1.0 to 9.1.1 with the error: Cannot complete login due to an incorrect user name or password. [VCFMS-HEALTH-002]

book

Article ID: 460786

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • When attempting to upgrade the VCF Fleet Lifecycle from version 9.1 to 9.1.1, the upgrade task fails at the "Component Stage Prechecks" step with the following error:
    Error Platform Health Check Error [platform-vmsp-platform-validate-resources-vsphere-resources : unable to create vSphere client: ServerFaultCode: Cannot complete login due to an incorrect user name or password.] [VCFMS-HEALTH-002]

     

  • Inspection of the vCenter Server STS log (/var/log/vmware/sso/vmware-identity-sts.log) revealed the following error message:
     YYYY-MM-DDThh:mm:ss.###Z INFO vmidentity-sts ## [vc@### threadName="tomcat-http--##" logger="com.vmware.identity.sts.ws.SOAPFaultHandler" corId="#########-####-####-####-########"] Returning a SOAP Fault with code: ns0:FailedAuthentication and description: Password of the user logging on is expired. :: Password of the user logging on is expired.
    :: User account expired: {Name: svc-vcfsp-vc-#####, Domain: vsphere.local}

Environment

VMware Cloud Foundation 9.1.1

Cause

  • The service accounts utilized by the VCF Services Runtime to authenticate with vCenter have expired.
  • This can be confirmed by checking the log file for the error 'Password of the user logging on is expired' in /var/log/vmware/sso/vmware-identity-sts.log:
    cat | /var/log/vmware/sso/vmware-identity-sts.log  | grep -i  "Password of the user logging on is expired"  | grep svc-vcfsp-vc

Resolution

  1. To resolve this issue, run the script service-account-remediation.sh in VCF Services Runtime authentication fails due to an expired or deleted vCenter service account
  2. Verify that the output of the script is all marked with the 'successfully‘ entry.
  3. Check /var/log/vmware/sso/svcaccountmgmt.log to ensure the following log message can be found:
    Password Reset successful for accountUPN :svc-vcfsp-vc-###@##@VSPHERE.LOCAL
  4. After confirming the script has been executed successfully, then retry the task in VCF Operations.