Better health checks for the caching layer

Bug #1891262 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Content Cache Charm
Fix Released
High
Haw Loeung

Bug Description

Hi,

The charm configures HAProxy to use the same health checks for both backends and the caching layer itself. These are usually not caching. It should instead set up some kind of health check location within the caching layer (nginx currently) and HAProxy check that. Or maybe that the port is up and that's all.

Related branches

Haw Loeung (hloeung)
Changed in content-cache-charm:
status: New → In Progress
importance: Undecided → Low
importance: Low → Medium
assignee: nobody → Haw Loeung (hloeung)
Revision history for this message
Haw Loeung (hloeung) wrote :

Could be done with Nginx' stub_status[1].

[1]http://nginx.org/en/docs/http/ngx_http_stub_status_module.html

Revision history for this message
Haw Loeung (hloeung) wrote :

Related, LP:1916078 exposing the stub status endpoint will make this easier as the HAProxy health-checks could hit that instead.

Haw Loeung (hloeung)
Changed in content-cache-charm:
importance: Medium → High
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: In Progress → Fix Committed
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.