Commit a0b2f58
Fix Horizon crash on Memcached node failure
Horizon uses Django's PyMemcacheCache backend
to store session data.
When one of the Memcached nodes becomes unavailable,
Django raises an exception during session access,
causing Horizon to return HTTP 500 errors.
This patch adds 'ignore_exc': True to the cache OPTIONS
to make Django treat such errors as cache misses
instead of crashing.
This improves Horizon stability in high-availability
setups with multiple Memcached nodes.
Closes-Bug: #2106557
Change-Id: If8873eaec35c4d2e5b13cdb8bcefb96230c59b51
Signed-off-by: Michal Arbet <[email protected]>1 parent a940bab commit a0b2f58
File tree
2 files changed
+8
-0
lines changed- ansible/roles/horizon/templates
- releasenotes/notes
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments