Symptoms
vRealize Log Insight UI becomes inaccessible when the hotfix is applied.If it is a multi-node cluster, the primary node is upgraded while the rest of the nodes are stuck in the "Upgrade in progress" state.While trying to access the vRealize Log Insight through the primary node's FQDN/IP, it shows the error "Page not found".The UI is accessible through the worker node's FQDN/IP.However, the vRealize Lifecycle Manager shows the status of a successful upgrade.The following errors are observed in the /storage/core/loginsight/var/runtime.log files:
[2022-09-27 11:07:59.331+0000] ["BucketManager-thread-1"/<IP> ERROR] [com.vmware.loginsight.daemon.notifications.AlertNotifierService] [Failed to find current leader.][2022-09-27 11:08:05.645+0000] ["localhost-startStop-1"/<IP> ERROR] [com.vmware.loginsight.config.VIDMAuthenticationConfig] [Failed to decrypt VMware Identity Manager OAuth Client Secret]
Purpose
The purpose of the article is to inform the reader of the issue, and resolve the inaccessibility of the vRealize Log Insight UI.
Resolution
This issue is resolved in vRealize Log Insight 8.10.2 (build number 21145187).
Workaround
To work around the issue:
SSH to the affected Log Insight node as rootChange to the Log Insight config directory
cd /storage/core/loginsight/config
Take a backup of the latest config file
cp loginsight-config.xml#x loginsight-config.xml#x.origNote: Replace x in the above command with the highest numerical value of the files in the directory, indicating it is the latest version of the file
Using a text editor, open the latest config file, removing the entire <auth-method value="vidm"> section as highlighted beneath
Save and close the file.Restart the Log Insight service
service loginsight restart
The UI should load after a short timeRe-configure the vIDM Integration from Administration->Configuration->Authentication->VMware Identity Manager
Note: The above work around will not persist reboots - so it is advised to upgrade to 8.10 after following the steps in this article, and then follow VMware Aria Operations for Logs primary node UI unavailable after upgrading to 8.10 (90257) for a work around which persists reboots.