/storage/var partition has reached 100% utilization, primarily caused by large Catalina logs accumulating in the /storage/var/loginsight/apache-tomcat/logs directory.com.datastax.oss.driver.api.core.NoNodeAvailableException: No node was available to execute the query
When checking the Cassandra node status using the command: /usr/lib/loginsight/application/lib/apache-cassandra-*/bin/nodetool-no-pass status , it shows that one or more nodes are down.
Aria Operations for Logs 8.18.x
The issue occurs due to the rapid growth of the Catalina logs, which results in the /storage/var partition becoming full. This log growth is caused by repeated Tomcat session loading failures when Cassandra is down. The Cassandra service becomes unavailable, preventing Tomcat from retrieving session data from the database. This leads to constant logging of session load failures, which quickly fills the catalina.log, ultimately making the UI inaccessible.
To resolve the issue and restore UI functionality, follow these steps in order:
NOTE: Kindly take snapshots on all the Aria Operations for logs nodes before performing the below operations.
service loginsight start
Clear Excessive Catalina Logs:
Navigate to the Catalina log directory:/storage/var/loginsight/apache-tomcat/logs
rm -f catalina.<YYYY-MM-DD>*.log or delete only the log which is occupying huge space.If the working log file (catalina.log) is consuming excessive disk space, it is not recommended to delete the file. Instead, you can safely clear its contents by running the following command:
echo > catalina.log
Start the Log Insight Service:
service loginsight start
Verify Log Insight Service Status:
After the restart, check if the Log Insight processes are running:
Check Cassandra Node Status:
Verify the Cassandra status on all nodes using the following command:
Ensure that the status is "UN" for all nodes.
If any node is not up, it is recommended to contact Broadcom Support for further assistance.