VMware Aria Operations for Logs primary node UI unavailable after upgrading to 8.10
search cancel

VMware Aria Operations for Logs primary node UI unavailable after upgrading to 8.10

book

Article ID: 317861

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • You receive page not found for the VMware Aria Operations for Logs (formerly known as vRealize Log Insight) primary node UI after upgrading from 8.8.2 to 8.10
  • The worker node(s) UI(s) are still available
  • This can occur when upgrading directly, or through vRealize Suite Lifecycle Manager
  • VMware Aria Operations for Logs is (or has at one point been) integrated with vIDM
  • You see entries similar to the below in /storage/var/loginsight/apache-tomcat/logs/localhost.log:
2022-10-31 15:55:22,712 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] Exception sending context initialized event to listener instance of class [com.vmware.loginsight.web.bootstrap.Bootstrapper]
java.lang.IllegalArgumentException: Invalid arguments
        at com.vmware.loginsight.aaa.vidm.OAuthClient.getInstance(OAuthClient.java:33) ~[auth-lib.jar:?]
        at com.vmware.loginsight.aaa.vidm.VIDMDirectoryProvider.<init>(VIDMDirectoryProvider.java:40) ~[auth-lib.jar:?]
        at com.vmware.loginsight.web.bootstrap.Bootstrapper$BootstrapImpl$1.makeVidmProvider(Bootstrapper.java:222) ~[classes/:?]
[......................]
2022-10-31 15:55:22,725 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] Exception sending context destroyed event to listener instance of class [com.vmware.loginsight.web.bootstrap.Bootstrapper]
java.lang.NullPointerException: null
        at com.vmware.loginsight.web.bootstrap.Bootstrapper$BootstrapImpl.access$100(Bootstrapper.java:181) ~[classes/:?]
        at com.vmware.loginsight.web.bootstrap.Bootstrapper.contextDestroyed(Bootstrapper.java:90) ~[classes/:?]
        at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4811) [catalina.jar:8.5.82]


Resolution

This issue is resolved in vRealize Log Insight 8.10.2 (build number 21145187)

Workaround:
To work around the issue:
  1. Download the Bootstrapper.tar.gz  file attached to this article
  2. Using SCP software such as WinSCP or FileZilla, copy the file to the /tmp directory of the primary node
  3. SSH to the primary node as root
  4. Stop the Log Insight service
systemctl stop loginsight
  1. Change to this directory
cd /usr/lib/loginsight/application/3rd_party/apache-tomcat-8.5.82/webapps/ROOT/WEB-INF/classes/com/vmware/loginsight/web
  1. Backup the old files to the root directory
mv bootstrap ~/bootstrap_old

Note: This backup file can be removed after some time, once the cluster is confirmed to be healthy
  1. Make a new directory and navigate there
mkdir bootstrap && cd bootstrap
  1. Extract the Bootstrapper.tar.gz file
tar xzf /tmp/Bootstrapper.tar.gz
  1. Start the Log Insight service
systemctl start loginsight

Note: Wait several minutes to allow the service to come up, and then verify the availability of the primary node's UI
  1. Re-configure the vIDM Integration from Administration->Configuration->Authentication->VMware Identity Manager
  2. Restart the Log Insight service on the primary node once more, and verify the availability of the UI after several minutes
systemctl restart loginsight


Additional Information

The steps in this article are specific to upgrades to VMware Aria Operations for Logs (formerly known as vRealize Log Insight) 8.10. 

If you encountered this issue patching to an 8.8.2 hotfix, please perform the steps in 
vRealize Log Insight UI inaccessible after applying Hotfix1 8.8.2-20363999 (89714) first, and then return to run the steps in this article.

Attachments

Bootstrapper.tar get_app