Commit 7d362bf
vault: Fix HAProxy backend healthchecks for standbys
In the previous HAProxy config for Vault, 200, 501 and 503 were treated
as healthy. This allowed for bootstrapping Vault via HAProxy, but made
standby backends appear as unhealthy, leading to a Prometheus alert. We
no longer bootstrap Vault via HAProxy, so we can treat 200 (active) and
429 (standby) as healthy.
Co-Authored-By: Dawud Mehmood <dawud@stackhpc.com>1 parent f593df7 commit 7d362bf
File tree
3 files changed
+12
-6
lines changed- doc/source/configuration
- etc/kayobe/environments/ci-multinode/kolla/config/haproxy/services.d
- releasenotes/notes
3 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments