Following an upgrade of the VMware Cloud Foundation (VCF) Identity Broker, the VMware Identity Broker (VIDB) configuration for VCF Automation may be reported as 'Not configured' within the VCF Operations user interface. Additionally, Single Sign-On (SSO) logins to vCenter Server and VCF Automation will fail.
When verifying the configuration:
In VCF Operations > Manage > Fleet Management > Identity and Access > VCF SSO Overview, the Aria Automation Appliance SSO configuration is displayed as "Not Configured"
In the VCF Automation interface > Administration > Identity Providers, the VCF SSO configuration is missing, and only the OIDC configuration is visible.
"HTTP Status 400 - Bad Request" error.The vcops-bridge.log will display an Identity Provider (IDP) configuration conflict:
ERROR vcfops-bridge #### [ops@#### threadId="####" threadName="DistTaskCurrentConfigEnforcer" operationId=""] [com.vmware.vcops.bridge.server.vidb.configuration.ManagementComponentStateManager.handleVcfaConfiguration] - Error occurred while verifying VCFA auth source
org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request on PUT request for "<VCFA-FQDN>": "{"minorErrorCode":"VCD_50259","message":"A non-vIDB OIDC IDP has already been configured for Systemorg","stackTrace":"com.vmware.vcloud.api.rest.toolkit.exceptions.BadRequestRestApiException: A non-vIDB OIDC IDP has already been configured for System org\n\tat com.vmware.vcloud.api.rest.openapi.impl.vcf.vidb.VidbRegistrationApiHandler.validateNoExistingNonVidbOidcSettings(VidbRegistrationApiHandler.java:167)\n\tat
The ManagementAdapter.log reports secret expiration and endpoint unreachable errors:
ERROR ManagementAdapter #### [ops@#### threadId="####" threadName="TasksManager-TaskHandler-####" instanceId="####"] [(####) com.vmware.adapter.management.components.iam.task.oauthclient.OAuthAppClient.handleRetirePrimarySecret] - Failed to expire secret for client : org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request on POST request for "<VIDB-FQDN>": "{"errors":[{"code":"oauth2.client.secondary.secret.invalid","message":"OAuth2Client Secondary Secret is either Blank or Invalid for client id ####","parameters":{"name":"####"}}]}"
ERROR ManagementAdapter #### [ops@#### threadId="####" threadName="TasksManager-TaskHandler-####" instanceId="####"] [(####) com.vmware.adapter.management.components.iam.task.authsource.configurator.VCAuthSourceConfigurator.listAuthSource] - Failed to communicate with vCenter host <VC-FQDN> com.vmware.adapter.management.components.iam.exception.EndpointUnreachable: Cannot contact endpoint <VC-FQDN> at com.vmware.adapter.management.components.iam.client.ApiInvoker.invoke(ApiInvoker.java:101)VMware Cloud Foundation (VCF) 9.1
VCF Automation (VCFA) 9.1
VCF Operations (VCFO) 9.1
VCF Identity Broker (vIDB) 9.1.0.0100
vCenter Server 9.1
To resolve the secret mismatch and restore authentication functionality, the configuration must be re-registered on the affected components.
For vCenter Server:
Unjoin the vCenter Server from SSO.
Rejoin the vCenter Server to SSO.
For VCF Automation:
Delete the dangling vIDB integration from VCF Automation.Note: When the OIDC configuration is deleted, the user access is lost and old user privileges will be lost. This can be followed during initial setup but in case this is being configured after the solution has been deployed for sometime, inform the customer about the loss of privileges.
Allow 5 to 10 minutes to pass, then verify that VCF Automation is successfully configured with vIDB
Assign roles to vIDB accounts and groups within VCF Automation.Note: This step can be omitted if only native VCF roles are utilized.