Commit 5340e67
committed
feat(neutron): use oslo.healthcheck for readiness probe
The neutron-server readiness probe now targets the oslo.middleware
/healthcheck endpoint instead of the API root /. This routes the
probe through a uWSGI worker and enables graceful draining by creating
/var/lib/neutron/healthcheck_disable to remove a pod from Service
rotation without restarting it. The liveness probe is intentionally
left on the uWSGI stats endpoint (port 1717), which is served by the
master process, so a dependency outage cannot trigger a restart storm
across neutron-server pods.
Assisted-by: Claude Opus 4.8
Change-Id: I09a4e7c4b4f174c463797094e72acec8b706d0ee
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>1 parent d03dd06 commit 5340e67
3 files changed
Lines changed: 20 additions & 1 deletion
File tree
- neutron
- templates
- releasenotes/notes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
| 1340 | + | |
1340 | 1341 | | |
1341 | 1342 | | |
1342 | 1343 | | |
| |||
1368 | 1369 | | |
1369 | 1370 | | |
1370 | 1371 | | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1371 | 1377 | | |
1372 | 1378 | | |
1373 | 1379 | | |
| |||
2527 | 2533 | | |
2528 | 2534 | | |
2529 | 2535 | | |
| 2536 | + | |
2530 | 2537 | | |
2531 | 2538 | | |
2532 | 2539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments