Although various factors may be involved, the most likely cause of this is user error, as described in the Cause section of this article.
Note: Ensure to take a snapshot of the SDDC Manger before making any changes.
Workaround:
To resolve this, the missing values must be added to the credential table:
- Access the Platform database in Postgres with the following command:
psql -h localhost -U postgres -d platform
- Collect the serviceid from the SDDC Manager table:
select id from sddc_manager_controller;
- Update the affected values for the affected service account (replace values with those collected in step 2):
update credential set serviceid = 'id_from_step2' where username = 'esxi_service_account';
update credential set servicetype = 'SDDC_Manager' where username = 'esxi_service_account';
- Restart the LCM service with the following command:
systemctl restart lcm
- Retry the failed precheck in the SDDC Manager UI.