"Upgrade is requested for cluster <Cluster_ID> which is in failed state".Disconnected and root account as "--".svc-vcf-<host_shortname>) is missing in the Exception Users list. To validate, refer: Managing Exception Users in ESXi Lockdown Mode/var/log/vmware/vcf/lcm/lcm.log) will contain the log snippets for password validation precheck failing. YYYY-MM-DDTHH:MM INFO [vcf_lcm,69ba################2b5a3,c370] [c.v.e.sddc.lcm.audit.AuditScheduler,Scheduled-3] Last upgrade status for software type ESX_HOST and resourceId 1051d074-####-####-####-########e5f8 is: {"id":"2621","bundleId":"9e49.####-####-####-####-#######eed3","bundleElementId":"4e5d####-####-####-####-########c585","bundleElementOrder":1,"resourceType":"ESX_HOST","resourceId":"1051####-####-####-####-####e5f8","upgradeId":"1de1########-####-####-####-####fc30","upgradeStatus":"COMPLETED_WITH_FAILURE","upgradeError":{"errorType":"RECOVERABLE","stage":"ESX_UPGRADE_VUM_STAGE_PRECHECK","errorCode":"com.vmware.vcf.error.esx.password.validation.precheck.execution.failed","errorDescription":"Password validation execution failed due to <Host_FQDN>: Validation of password of ESXi host : Host_FQDN has failed####
Operations manager log in SDDC (path: /var/log/vmware/vcf/operationsmanager/operationsmanager.log) reports the Password validation cannot be performed when the host is in lockdown mode.
YYYY-MM-DDTHH:MM DEBUG [vcf_om,69aa################a546,df15] [c.v.v.p.s.PasswordExpirationService,om-exec-2] Expiry retrieval status : UNKNOWN , Diagnostic message : {"errorCode":"PASSWORD_VALIDATE_RESOURCE_NOT_SUPPORTED","arguments":["<Host_FQDN>"],"errorMessage":"Password validation cannot be performed when host <Host_FQDN> is in lockdown mode.","referenceToken":"######"}
SDDC manager requires svc-vcf-<host_shortname> service account to management operations like rotate, update, remediate or schedule on hosts. If this account is not included in the "Exception Users" list while Lockdown mode is enabled, the SDDC manager will not have necessary permissions to manage the host and hence the update process fails.
svc-vcf-<host_shortname> account exists in the host and it had Admin role privileges by running the following command in ESXi shell.
# esxcli system permission listPrincipal Is Group Role Role Description
------------------------- -------- ------- ----------------
svc-vcf-<host_shortname> false Admin Full access rights
svc-vcf-<host_shortname> account is present as seen in the above example, proceed to step-2.svc-vcf-<host_shortname> account is missing in the host, create the missing service account by following the KB: Missing SDDC Manager Service account for an ESXi host.
svc-vcf-<host_shortname> account to the 'Exception Users' list:Configure > System > Security Profile.Lockdown Mode, click Edit. Select Exception Users tab, add the service account "svc-vcf-<host_shortname>" and save changes.ERROR status, and change its status to ACTIVE.vcf user and switch to root by running command: "su -".host" table to find the host in ERROR state.# psql -h localhost -U postgres -d platform -c "select id,hostname,status from host where status!='ACTIVE'"
id | hostname | status
--------------------------------------+-------------+--------
1051####-####-####-####-########e5f8 | <Host_FQDN> | ERRORACTIVE by running the following command: # psql -h localhost -U postgres -d platform -c "UPDATE host set status = 'ACTIVE' where id = '<id_from_step-3c>';
Service account (svc-vcf-<host_shortname>) status in the SDDC password manager may continue to be in a Disconnected state after following Step-2 if its password is expired or updated out-of-band directly from the host. To resolve, follow the below steps to update the service account (svc-vcf-<host_shortname>) password:
Example:
"creationTime" : 173807#######,
"credentialType" : "SSH","entityId" : "18aa####-####-####-####-########d1da","entityType" : "ESXI","id" : "3995####-####-####-####-########47f3","modificationTime" : 173807#######,"secret" : "ad####################","serviceId" : "012b####-####-####-####-########d230","serviceType" : "SDDC_MANAGER","targetType" : "ESXI","username" : "svc-vcf-<host_shortname>"
svc-vcf-<host_shortname> account password in the ESXi host with the credentials retrieved ("secret" : "ad####################") in the above step and save the changes.Manage > Security & Users > Users.svc-vcf-* service account, click Edit, and set the password obtained in the step-I.pam_tally2 -u svc-vcf-<host_shortname> -r svc-vcf-<host_shortname> account in the SDDC manager with the previously obtained password (secret). Refer: Remediate Passwords.