Administrators may encounter failures when attempting to log in to vCenter Server or manage object tags. This issue typically presents with an error regarding identity provider fetching or an internal server error during tag operations. These symptoms often appear 90 days after the deployment or the last service restart.
An error occurred while fetching identity providers. Try again later. If the problem persists, contact your administrator.Internal Server Error. /usr/lib/vmware-invsvc and /etc/vmware-invsvc may be missing or the service is not listed in service-control --status.vmware-trustmanagement service is in a Stopped state./var/log/vmware/sso/websso.log, the following exception occurs: com.vmware.identity.samlservice.ExtIdpNotFoundException: Exception while processing External login request : No External IDP configured.com.vmware.cis.authz/privilege.This issue is caused by a race condition during the automated 90-day internal service account rotation. The utility script svcaccount_prestart_util.py incorrectly handles dependencies for the trustmanagement, sts, and lookupsvc services, preventing the vmware-trustmanagement service from starting. In vCenter 9.0, the legacy Inventory Service (invsvc) has been integrated into this new trust management architecture.
This issue is resolved in vCenter 9.0.2. Log in to the Broadcom Support Portal to download this patch, depending on your entitlement, VMware vSphere Foundation or VMware Cloud Foundation.
cp /usr/lib/vmware/site-packages/cis/svcaccount_prestart_util.py /root/svcaccount_prestart_util.py.backup
sed -i "s/AUTHZ_OPERATIONS_NOT_SUPPORTED_SVCACCOUNTS = \['sts', 'serviceaccountmgmt', 'vpxd-svcs-user', 'cis-license'\]/AUTHZ_OPERATIONS_NOT_SUPPORTED_SVCACCOUNTS = \['lookupsvc', 'trustmanagement', 'sts', 'serviceaccountmgmt', 'vpxd-svcs-user', 'cis-license'\]/" /usr/lib/vmware/site-packages/cis/svcaccount_prestart_util.py
service-control --stop --all && service-control --start --all
cp /root/svcaccount_prestart_util.py.backup /usr/lib/vmware/site-packages/cis/svcaccount_prestart_util.py
service-control --stop --all && service-control --start --all
This can occur 90 days after the vCenter is deployed. The issue comes from a race condition affecting trustmanagement, sts, and lookupsvc services during an occurrence of internal service account rotations.