HW-134096 - VMware Identity Manager Connector may fail to communicate due to config-state.json corruption
book
Article ID: 322679
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
VMware Identity Manager Connector may fail to communicate with the tenant nodes. This issue is observed when the config-state.json file gets corrupted. An error message similar to com.vmware.horizon.connector.utils.ServiceUtils - Failed to check service health: invalid MOL url this is seen in the /opt/vmware/horizon/workspace/logs/connector.log and/or /opt/vmware/horizon/workspace/logs/horizon.log
The UI will not load and the URL will be redirected to https://<vIDMFQDN>/hc/error
Corrupted config.json file also results in AD login failures
Version(s) affected
VMware Identity Manager 3.3.x
Environment
VMware Identity Manager 3.3.x
Cause
This may occur when the disk space is full.
Resolution
Our Product team has been notified and is working to address this issue in a timely manner. Please subscribe to this article to receive updates when they are available.
Workaround:
Before following the steps below, make sure to take a snapshot of the virtual appliance(s)
SSH to VMware Identity Manager Appliance(s) using root credentials. Change the directory to the location of the config-state.json file by running the command:
cd /usr/local/horizon/conf/states/<TENANT_NAME>/<WORKER_ID>
For example cd /usr/local/horizon/conf/states/VSPHERE.LOCAL/3001
Stop the service before doing anything.
service horizon-workspace stop
Back up the current configuration file by running the command:
mv config-state.json config-state.json.1
Copy application backup of the configuration file by running the command:
Start vIDM/Workspace service by running the command:
service horizon-workspace start
Go to Directory Setting and for each tab do the save operation by navitaging to Identity & Access Management > YOUR DIRECTORY > Sync Settings
Navigate each of the tabs and click on Save.
If the "Groups" page refuses to save due to an error about the Bind DN: come back to the directory settings, enter the Bind DN password, validate & save. Then come back to save the remaining tabs in Sync Settings.