SDDC password operations fail with "Unable to retrieve entity type VCENTER from inventory" and Remediation Message "Check if inventory APIs are up and responding"
operationsmanager.log shows:
2024-08-27T13:23:00.864+0000 DEBUG [vcf_om,e63c478d4163e736,07e4] [c.v.v.p.helper.InventoryHelper,om-exec-14] Fetching details of Vcenter with resource ID: <Resource_ID> from Inventory.
2024-08-27T13:23:00.869+0000 ERROR [vcf_om,e63c478d4163e736,07e4] [c.v.v.p.u.d.NsxtManagerSsoUpdater.om-exec-14] Failed to update NsxT Manager with SSO credentials. {}
...
caused by: com.vmware.cloud.foundation.rest.commonsvcs.runtime.ApiException:
VCF 4.4.1.x
The vCenter ID referenced in the operationmanager.log does not exist in the vcenter table but is referenced in the platform_credentials table.
psql -h localhost -U postgres -d platform
select * from vcenter where id='<Resource_ID>';
select * from credential where entityid='<Resource_ID>';
delete from credential where entityid=''<Resource_ID>';
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh