Repeated Access Issue in Aria Operations for logs
search cancel

Repeated Access Issue in Aria Operations for logs

book

Article ID: 402191

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • When trying to log in to Aria Operations for Logs as the admin user, after entering the credentials, the result is an infinite reload loop as per the screenshot:

  • The log file: /storage/core/loginsight/var/cassandra.log contains entries similar to the following:
    Harmless error reading saved cache /storage/core/loginsight/cidata/cassandra/saved_caches/keyCache-f.db 

Environment

Aria Operations for Logs 8.18.x.

Resolution

  1. Take a snapshot of all nodes in the cluster as per How to take a Snapshot of VMware Aria Operations for Logs
  2. SSH the affected node using root credentials and stop the loginsight service with the following command:

    systemctl stop loginsight

  3. Create a new directory and move the contents of saved_caches to this new directory with the following commands:

    mkdir /storage/core/loginsight/error_files
    mv /storage/core/loginsight/cidata/cassandra/saved_caches /storage/core/loginsight/error_files

  4. Recreate the directory:

    mkdir /storage/core/loginsight/cidata/cassandra/saved_caches


  5. Start the loginsight service:

    systemctl start loginsight

  6. Repeat steps 1 to 5 on each node that shows the same exception in the Cassandra logs.

  7. Ensure all the nodes are on UN status by running the following command on the Primary node:

    nodetool-no-pass status


    If not, SSH into each affected node using root credentials and force Cassandra services to start by running this command:

    /usr/lib/loginsight/application/sbin/li-cassandra.sh --startnow --force


    Note:
    When nodetool status is UN on each node, continue to step 8.


  8. Repair the Cassandra cluster with the following commands:

    nodetool-no-pass flush
    nodetool-no-pass repair

  9. Once the repair is complete, stop Cassandra on all nodes (access each node using root credentials) and start Aria Operations for Logs Daemon by trying the commands below:  

    /usr/lib/loginsight/application/sbin/li-cassandra.sh --stopnow --force
    systemctl start loginsight

     

     

Additional Information