Control Plane
FoundationDB Error
Symptom: FoundationDB error. All services that rely upon the FoundationDB key-value storage are offline or refuse to start.
- Ensure that IPv6 is disabled. To disable IPv6 follow these steps.
- Ensure sufficient disk space on the root partition on all control plane nodes. Free disk space can be checked with
df -h
. - If not enough free disk space is available, start by checking the Graylog, MongoDB, Elasticsearch containers. If those consume the majority of the disk space, old indices (2-3) can be deleted.
- Increase the root partition size.
- If you cannot increase the root partition size, remove any data or service non-relevant to the simplyblock control plane and run a
docker system prune
. - Restart the Docker daemon:
systemctl restart docker
- Reboot the node
Graylog Service Is Unresponsive
Symptom: The Graylog service cannot be reached anymore or is unresponsive.
- Ensure enough free available memory
- If short on available memory, stop services non-relevant to the simplyblock control plane.
- If that doesn't help, reboot the host.
Graylog Storage is Full
Symptom: The Graylog service cannot start or is unresponsive and the storage disk is full.
- Identify the cause of the disk running full. Run the following commands to find the largest files on the Graylog disk.
Find the largest files
df -h du -sh /var/lib/docker du -sh /var/lib/docker/containers du -sh /var/lib/docker/volumes
- Delete the old Graylog indices via the Graylog UI.
- Go to System -> Indices
- Select your index set
- Adjust the Max Number of Indices to a lower number
- Reduce Docker disk usage by removing unused Docker volumes and images, as well as old containers.
Remove old Docker entities
docker volume prune -f docker image prune -f docker rm $(sudo docker ps -aq --filter "status=exited")
- Cleanup OpenSearch, Graylog and MongoDB volumes paths and restart the services.
Cleaning up adjecent services
# Scale services down docker service update monitoring_graylog --replicas=0 docker service update monitoring_opensearch --replicas=0 docker service update monitoring_mongodb --replicas=0 # Remove old data rm -rf /var/lib/docker/volumes/monitoring_graylog_data rm -rf /var/lib/docker/volumes/monitoring_os_data rm -rf /var/lib/docker/volumes/monitoring_mongodb_data # Restart services docker service update monitoring_mongodb --replicas=1 docker service update monitoring_opensearch --replicas=1 docker service update monitoring_graylog --replicas=1