Upgrading VMware Cloud Foundation (VCF) or performing Lifecycle Management (LCM) pre-checks may fail due to identity service drift failures. This typically results in a configuration realized check failure that blocks further management operations in the SDDC Manager UI.
When navigating to the Updates tab for a Workload Domain in SDDC Manager, the following red banner appears:
Retrieving configuration updates failed. Unable to compute applicability for drift WorkspaceOneBrokerConfigDrift. Because configuration realized check failed on resources [####-####-####-####]. Please check logs and fix the failures of drift configuration realized checks.
[FAIL] ##NO_HOSTNAME##[FAIL] 3rd party/Orphaned service registrations./var/log/vmware/trustmanagement/trustmanagement.log on vCenter: Failed to get a access token on host #### for tenant HWS[FAIL] 3rd party/Orphaned service registrations or [FAIL] ##NO_HOSTNAME##.This issue is caused by stale or orphaned service registrations lingering in the vSphere Lookup Service database across the Enhanced Linked Mode (ELM) SSO domain. When SDDC Manager runs background drift polling, these malformed entries (such as ##NO_HOSTNAME##) cause authentication requests to route incorrectly, preventing token acquisition for the identity broker.
Prerequisites:
root access to the Management vCenter.Step 1: Purge Orphaned Lookup Service Endpoints
root.lstool.py utility to unregister the stale service IDs flagged by VDT: /usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --id <ORPHANED_ID> --user '[email protected]' --password '####' --no-check-certvmdir replication to synchronize the directory across all linked vCenters.Step 2: Restart Services
vmon-cli -r lookupsvc
vmon-cli -r vc-ws1a-broker
vmon-cli -r trustmanagement
vmon-cli -r stssystemctl restart domainmanagerStep 3: Verification
[PASS].