Aria Operations for logs 8.x
/var/log/vmware/loginsight/runtime.log:
[2025-01-02 22:12:27.163+0000] ["BucketManager-thread-1"/###.###.##.## WARN] [com.vmware.loginsight.ingestion.BucketManager] [Archiving bucket BucketId(uuid:#######-####-####-####-############, createTime:1735854481872) failed after 5 retries. Retiring it anyways.]
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
java.io.IOException: Disk quota exceeded
[2025-01-02 22:31:07.251+0000] ["BucketManager-thread-1"/###.###.##.##
WARN] [com.vmware.loginsight.ingestion.BucketManager] [Archiving bucket BucketId(uuid:#######-####-####-####-############, createTime:1735855602081) failed after 5 retries. Retiring it anyways.]
Follow the below steps to remove the buckets that are stuck on archiving state from the Aria Operations for Logs inventory.
1. Reboot the Aria Operations for Logs node to clear the stuck buckets in the archiving state.
2. If rebooting does not resolve the issue, proceed with manually deleting the buckets that are stuck on archiving state:
a. Shut down vRLI Daemon service by running the command:systemctl stop loginsight
b. Verify that the service is not started by running the command:systemctl status loginsight
c. Identify a location on the appliance with sufficient space for the bucket file.
For example, use /tmp to represent the path with sufficient space for the remainder of the instructions. Delete the bucket altogether, or create a copy of the bucket file by running the command:cp -r /storage/core/loginsight/cidata/store/<Bucket-ID> /tmp/
NOTE: Replace the Bucket-ID with the uuid value from the runtime.log
For example:cp -r /storage/core/loginsight/cidata/store/6a884d03-ec8e-44d9-8c36-ebfb283ebd6c /tmp/
d. Remove the buckets one by one from the bucket index by running the command:cd /usr/lib/loginsight/application/sbin
./bucket-index <Bucket-ID> delete
For example:cd /usr/lib/loginsight/application/sbin
./bucket-index 6a884d03-ec8e-44d9-8c36-ebfb283ebd6c delete
e. Start up the vRLI Daemon service by running the command:systemctl start loginsight