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.com
If 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 list
Sample 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