Commit 00710a0
committed
OCPBUGS-61487: Add timer for Azure VIP routes reconciliation
During systemd daemon-reload (e.g., during MCO updates), the
openshift-azure-routes.path unit may miss file change events from
apiserver-watcher. This leaves the azure-vips nftables table empty
even when the API server is back up.
Fix by adding a periodic timer that triggers reconciliation every 30
seconds as a fallback. The path unit still provides immediate response
to file changes. Also wrap the service ExecStart with flock to prevent
concurrent executions when both triggers fire simultaneously.1 parent efc86f6 commit 00710a0
File tree
2 files changed
+13
-1
lines changed- templates/master/00-master/azure/units
2 files changed
+13
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
Lines changed: 12 additions & 0 deletions
| 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