When using VMware Aria Operations with VMware Cloud Director (VCD), We might experience an issue where tenants are unable to access the Operations plugin through the VCD portal. The error message recorded in the web logs is:
"The tenantId of credential is not matching with the tenantId from session validation response
."
2024-08-22T09:09:31,421+0000 WARN [ajp-nio-127.0.0.1-8009-exec-4] com.vmware.vcops.platform.gemfire.GemfireFunctionExecutor.onServersWithExecTimeout - Function call UserAuthentication.authenticateUser failed :FunctionException: com.vmware.vcops.platform.gemfire.GemfireFunction$MethodInvocationException: AuthException: The tenantId of credential is not matching with the tenantId from session validation response.
org.apache.geode.cache.execute.FunctionException: com.vmware.vcops.platform.gemfire.GemfireFunction$MethodInvocationException: AuthException: The tenantId of credential is not matching with the tenantId from session validation response.
at com.vmware.vcops.platform.gemfire.GemfireFunctionExecutor$GemfireFunctionResultReceiver.getResult(GemfireFunctionExecutor.java:768) ~[vcops-platform-1.0-SNAPSHOT.jar:?]
at org.apache.geode.internal.cache.execute.util.SynchronizedResultCollector.getResult(SynchronizedResultCollector.java:43) ~[gemfire-core-10.0.1.jar:?]
VMware Chargeback 8.16
VMware Aria Operations 8.16
The issue arises when the user deletes and re-creates the adapter instance in VMware Aria Operations. The Chargeback Tenant View fails to load because the chargeback module uses the old adapter instance scopes. As a result, the plugin does not load correctly in VCD, and tenants are unable to access it.
Upgrade Aria Operations to Version 8.18:
Re-register the vCD Plugin:
Ensure that any adapter instances created or modified are properly configured and aligned with the current scopes required for tenant access.
If the issue persists even after upgrading, review the configuration settings and check for any discrepancies in adapter instance settings or credentials.