Outage blip during site config changes
Bug #1881315 reported by
John Losito
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Content Cache Charm |
Fix Released
|
Critical
|
Haw Loeung |
Bug Description
I've been noticing quick outage blips during deployments against the content-cache charm. When rolling out a new site against the charm, all of the sites which are being served from content-cache become unresponsive for a second or two while the new configs get picked up. I've seen reports of others caching 4** errors while this is happening and they try to access the site.
This could be related to the haproxy bug. It might worth draining all current connections somehow before making the switch over.
Related branches
~hloeung/content-cache-charm:master
- Thomas Cuthbert (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 309 lines (+35/-32)7 files modifiedreactive/content_cache.py (+4/-1)
tests/unit/files/content_cache_rendered_haproxy_test_output.txt (+9/-9)
tests/unit/files/content_cache_rendered_haproxy_test_output2.txt (+1/-1)
tests/unit/files/content_cache_rendered_haproxy_test_output3.txt (+1/-1)
tests/unit/files/content_cache_rendered_haproxy_test_output_auto_maxconns.txt (+9/-9)
tests/unit/files/content_cache_rendered_haproxy_test_output_processes_and_threads.txt (+9/-9)
tests/unit/files/haproxy_config_rendered_test_output2.txt (+2/-2)
Changed in content-cache-charm: | |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in content-cache-charm: | |
assignee: | nobody → Haw Loeung (hloeung) |
status: | Confirmed → In Progress |
To post a comment you must log in.
Draining works for backends configured in content-cache, not when clients are hitting the content-cache units themselves.