Known issues
Valhalla build failures often stem from insufficient server resources, leading to out-of-memory issues.
556 2024/06/18 09:20:21.315258 POST /route HTTP/1.1
2024/06/18 09:20:21.31655 [INFO] Received Loki Request 556
2024/06/18 09:20:21.31996 [WARN] 400::No suitable edges near location request_id=556
556 2024/06/18 09:20:21.320837 400 252
To resolve this, halt and restart the container, ensuring to remove volumes. Trigger a rebuild of Valhalla by either executing the job in AWX or directly on the server.
Explore the Valhalla repository: https://github.com/Attracs/docker-valhalla
For manual intervention, inspect the docker-compose file at /etc/docker-valhalla-nightly. Then execute the following commands:
#ssh to the server or use gcloud compute ssh
ssh username@attracs.tms.nightly.1
# Navigate to the directory containing the docker-compose file
cd /etc/docker-valhalla-nightly
# Stop all services and remove volumes
sudo docker-compose down -v
# Start all services in detached mode
sudo docker-compose up -d
# Tail the logs of a specific container
sudo docker logs -f valhalla-1-nightly