Below are some symptoms that you can see because of the ACS Health not being available
1. Certain sections of the UI may not function properly without ACS being operational.
In System Diagnostics > ACS Health, the following error is displayed:
"Error when connecting to the application."
Due to this ACS health issue:
Error Code: LCMVIDM71059 or LCMVIDM71091
"Failed to promote default configuration user as an admin. Retry after providing necessary details."
"Failed to promote local user to tenant admin on vIDM host xxxxx.xxxx.xxxxx.com. Exception message: vIDM GET Association Ruleset failed with status code: 404."
2. When attempting to access the 'Roles' tab within the admin UI the following error is shown:
"An unexpected error has occurred. Please try again later."
The accesscontrol-service.log file under /opt/vmware/horizon/workspace/logs shows the following error:
2024-08-21 20:25:17,972 GMT ERROR accesscontrol (localhost-startStop-8) [;;;] org.springframework.boot.SpringApplication - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [com/vmware/vidm/accesscontrol/db/DbDataStoreAutoConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by XX.XX.XX.XX (XX.XX.XX.XX) since 8/19/24 5:50 AM
2024-08-21 20:25:17,982 GMT INFO accesscontrol (localhost-startStop-8) [;;;] com.vmware.vidm.common.http.context.listener.AbstractBootstrapServletContextListener - Shutting down micro service
3. When attempting to update the certificate for vIDM through Aria Suite Life Cycle Manager you will see the below error:
"Ensure that ACSHealth is up for node vIDM_fqdn
"
VMware Identity Manager 3.3.x
There is a lock on the Access Control Service database table preventing the service from starting properly.
To resolve this issue we need to remove the ACS database change lock
NOTE - Please ensure valid backups / snapshots are taken prior to performing the steps below
service horizon-workspace stop
cat /usr/local/horizon/conf/db.pwd
psql -U postgres saas
select * from saas.ACS_DATABASECHANGELOGLOCK;
update saas.ACS_DATABASECHANGELOGLOCK set locked='f', lockgranted=NULL, lockedby=NULL where id=1;
\q
service horizon-workspace start
Access the admin UI once again. The ACS health should now also show GREEN and the related issues should be resolved.
/opt/vmware/vpostgres/current/bin/psql -U horizon saas
select * from ACS_DATABASECHANGELOGLOCK;
update ACS_DATABASECHANGELOGLOCK set locked='f', lockgranted=NULL, lockedby=NULL where id=1;