summaryrefslogtreecommitdiff
path: root/src/migration-scripts/system
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2026-11-05 16:21:57 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2026-11-09 13:09:17 +0200
commit6668b84c70ec7d9b6c9f8aae852c341797e3a084 (patch)
tree9fbeb0391e28d24d074057d3af6c5e1609f51e1d /src/migration-scripts/system
parent1f1bc06c2645c9cc2675298ce3ad72e1e29a1bc4 (diff)
downloadvyos-1x-6668b84c70ec7d9b6c9f8aae852c341797e3a084.tar.gz
vyos-1x-6668b84c70ec7d9b6c9f8aae852c341797e3a084.zip
load-balancing: T9466: Fix listen-address check for VRF, link-local and new IPv6 addresses
The listen-address check ignored the HAProxy VRF. An address on an interface in that VRF was reported as not assigned. With "vrf default" the port check always failed. Changing the VRF only reloaded HAProxy, so it kept running in the old VRF. HAProxy cannot parse a link-local address with its "%interface" scope. The commit passed, but HAProxy failed to load the config. A new IPv6 address cannot be used until duplicate address detection finishes. Adding it together with the listen-address, as on every boot, was refused as "port used by another service". Now: - addresses and ports are checked inside the HAProxy VRF, and "default" means no VRF - HAProxy restarts when its VRF changes - a link-local address is passed to HAProxy as "bind <address> interface <interface>"; one without an interface is refused - the check waits until a new IPv6 address can be used
Diffstat (limited to 'src/migration-scripts/system')
0 files changed, 0 insertions, 0 deletions