SDDC Manager Pre-Check Fails for “Cluster Inventory Sync Check” with the error – “Cluster Mor id cannot be null or empty”
book
Article ID: 316008
calendar_today
Updated On:
Products
VMware Cloud Foundation
Issue/Introduction
Symptoms: While running the SDDC Manager pre-checks, the pre-checks fail for “Cluster Inventory Sync Check” with the error – “Cluster Mor id cannot be null or empty”.
Cause
If vSphere cluster create workflow fails because of any reason, the VCF inventory will not have source_id populated for the cluster.
Resolution
Take snapshot of SDDC Manager VM
SSH to SDDC Manager using vcf and su to root
Connect to platform database
psql -h localhost -U postgres -d platform
Fetch all the details for the cluster and note the cluster ID.
select * from cluster;
Verify whether the “source_id” is present for the cluster or not.
If the “source_id” is not present, login to vCenter GUI, navigate to the cluster (red box towards the left) and note the “source_id”(ClusterComputeResource) from the URL (red box towards the right).
Update the “source_id” using this command:
update cluster set source_id=’<source id gathered from step 6>’ where id=’cluster ID’;
Run the pre-checks again, everything should be in order now.
Additional Information
Impact/Risks: SDDC Manager can't load any of the clusters, due to which we can't continue with any of the upgrades.