Description

Sometimes Contrail Analytics Cassandra db size becomes huge thereby filling the entire disk space, though analytics TTL settings are in place in analytics_collector_1.

Sample TTL values.

analytics_data_ttl=48

analytics_config_audit_ttl=168

analytics_statistics_ttl=48

analytics_flow_ttl=2.

Symptoms

Contrail Analytics Cassandra db size (/var/lib/docker/volumes/analytics_database_analytics_cassandra/) is huge filling the entire disk space, though TTL settings are present.

Solution

Most of the time this happens because docker container is not responding and restarting docker container "analytics_database_cassandra_1" will fix this issue. Old analytics data will get flushed once the container is restarted.

Modification History

2024-11-26 : Article Created