The purpose of this KB is to provide the steps to re-create the missing service account on an ESXi host, if it already exists on the SDDC Manager.
Note: If the service account does not exist on the SDDC Manager as well, please use the following KB instead: Missing ESXi service accounts in SDDC Manager after Bringup
Failed to update vSAN LSOM settings on the host esxi_shortname.example.com
Failed to connect to esxi_shortname.example.comIf the host has been rebuilt/reconfigured and then re-added to the vCenter without going through the decommission / commission process from the SDDC Manager, the service account may be missing on the ESXi host.
esxcli system account listSample output:
[root@esxi_shortname:~] esxcli system account list
User ID Description Shell access
-------------- ----------------------------------------- ------------
root Administrator true
dcui DCUI User true
vpxuser VMware Workstation administration account true
cloudadmin ESXi User true
lldpVim-user ESXi User true
mux_user ESXi User true
da-user ESXi User true
nsx-user ESXi User true
Since the svc-vcf-esxi_shortname account is missing, manually re-create the service account on the ESXi host.
NOTE: Confirm if the service account is missing from SDDC. If it is present in the SDDC Manager, use its password credentials in the Step 2 below when recreating the service account:
Retrieve the service accounts credentials from SDDC Manager
esxcli system account add --id svc-vcf-esxi_shortname --password '<password>' --password-confirmation '<password>'esxcli system permission set --id svc-vcf-<esxi_shortname> --role Admin[root@esxi_shortname:~] esxcli system permission list
Principal Is Group Role Role Description
-------------- -------- -------- ----------------
svc-vcf-esxi_shortname false Admin Full access rights
VCF service account management issue is fixed in VCF 5.2.4 and also will be part of future 9.1.x release.
To download VMware Cloud Foundation (VCF) version 5.2.4, log into the Broadcom Support Portal