SDDC Manager workload domain update tab gives following warning
Unable to compute applicability for drift Creates a Distributed Virtual Port Group to enable traffic isolation between management VMs and ESXi hosts
DEBUG [vcf_dm,68c##############4b,be45] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7200-exec-7] Handler Error Response: {"errorCode":"FAILED_TO_FETCH_APPLICABLE_DRIFTS_CONFIGURATION_REALIZED_CHECK_FAILED","arguments":["Creates a Distributed Virtual Port Group to enable traffic isolation between management VMs and ESXi hosts","[bf00####-####-####-####-########dee4]"],"message":"Unable to compute applicability for drift Creates a Distributed Virtual Port Group to enable traffic isolation between management VMs and ESXi hosts. Because configuration realized check failed on resources [bf00####-####-####-####-########dee4].","remediationMessage":"Please check logs and fix the failures of drift configuration realized checks. Then restart the service to trigger the configuration realized checks again and re-try the API. If this does not resolve the issue, please contact GSS.","referenceToken":"V####Q"}
ERROR [vcf_dm,0000000000000000,0000] [c.v.v.c.c.c.DvpgConfigurationDriftCheck,ForkJoinPool.commonPool-worker-751] Unhandled exception in DVPGConfigurationDriftCheck isConfigurationRealized for resource bf00####-####-####-####-########dee4.
com.vmware.vim.vmomi.client.exception.VmomiProtocolException: https://vcenter.example.com:443/sdk invocation failed with "com.vmware.vim.vmomi.core.exception.MarshallException: Missing value for managed object reference"
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:265)
Caused by: com.vmware.vim.vmomi.core.exception.MarshallException: Missing value for managed object reference
VMware Cloud Foundation
This issue is caused when MOB_ID of vDS (virtual Distributed Switch) is not present or incorrect in the sddc manager database.
psql -h localhost -U postgres -d platform -c "\x" -c "select cluster_id,vds_id from cluster_and_vds where cluster_id='bf00####-####-####-####-########dee4'"
Sample output
-[ RECORD 1 ]------------------------------------
cluster_id | bf00####-####-####-####-########dee4
vds_id | 1484####-####-####-####-########4ceb
psql -h localhost -U postgres -d platform -c "\x" -c "select id,name,source_id from vds where id='<vds_id from step#3>'
Sample
psql -h localhost -U postgres -d platform -c "\x" -c "select id,name,source_id from vds where id='1484####-####-####-####-########4ceb'"
Sample output
id | 1484####-####-####-####-########4ceb
name | sample-vds01
source_id |
Note: source_id is missing here
https://vcenter.example.com/ui/app/dvs;nav=n/urn:vmomi:VmwareDistributedVirtualSwitch:dvs-21:5288####-####-####-####-########546f/summary
Note: here dvs id is dvs-21
psql -h localhost -U postgres -d platform -c "update vds set source_id='<dvs id from step#5(a)(iv)> where id='<vds_id from step#3>'"
Sample
psql -h localhost -U postgres -d platform -c "update vds set source_id='dvs-21' where id='1484####-####-####-####-########4ceb'"
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh