New health check endpoint for load balancers to use
Load balancers can either monitor metadata (e.g. ubuntu/dists/*) or pool files, which are proxied to the real archive servers. Unfortunately, most can only check one thing so if the other is having issues, it is not taken offline and still being used.
The new health check endpoint checks a few things and reports back OK if all are healthy and fine. This means load balancers can just hit this one endpoint and will take it offline if any of the components are experiencing issues.
Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/health-check-endpoint/+merge/397547 Reviewed-by: Barry Price <barry.price@canonical.com> Reviewed-by: Benjamin Allot <benjamin.allot@canonical.com>