“Duplicates found. You must unregister the extra endpoints.”/usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk --no-check-cert > /tmp/psc.txt less /tmp/psc.txt | grep -i "Service Type: " | sort | uniq -cVMware vCenter Server 8.x
To remove the stale entries identified, follow the steps below
/var/log/firstboot on the vCenter Server and run the command below to locate the Service ID for which a duplicate entry is detected:grep -i "Service ID" * | less
root@vcenter03 [/var/log/firstboot]# grep -i "d582####-####-####-####-149########" * | lessvsphere_ui_firstboot.py_22101_stdout.log:2020-07-27T05:19:52.469Z Service ID=d582####-####-####-####-149########vsphere_ui_firstboot.py_22101_stdout.log:2020-07-27T05:19:52.767Z Successfully performed tryupgrade operation for service d582####-####-####-####-149########
/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --id <Stale_Service_ID> --user 'administrator@sso_domain' --password 'sso_password' --no-check-cert
Note: Replace <Stale_Service_ID> with the UUID.service-control --stop --all && service-control --start --allReference Articles:
Script to remove stale service registrations from vCenter Server.
Possible duplicate entries in the Lookup Service Registration Database detected.
If the above steps in this KB do not resolve the issue, raise a support ticket with Broadcom support, selecting vCenter as the product.
Handling Log Bundles for offline review with Broadcom support.
Uploading files to cases on the Broadcom Support Portal
Creating and managing Broadcom support cases