fix: drop TCP bind addresses the host does not have #1

Merged
jonas merged 1 commit from jonas/fix-bind-absent-addresses into master 2026-10-28 19:22:30 +00:00 AGit
Owner

A stale ha_tcp_services[].bind address (e.g. after removing a NIC) makes HAProxy exit on bind() failure during start or reload, taking every listener down. The role now resolves bind addresses against the host's IPv4 addresses, keeps the existing ones and warns about dropped entries; a service left with no usable address still fails the play. README documents ha_tcp_services including this behaviour, CHANGELOG has an Unreleased entry.

A stale ha_tcp_services[].bind address (e.g. after removing a NIC) makes HAProxy exit on bind() failure during start or reload, taking every listener down. The role now resolves bind addresses against the host's IPv4 addresses, keeps the existing ones and warns about dropped entries; a service left with no usable address still fails the play. README documents ha_tcp_services including this behaviour, CHANGELOG has an Unreleased entry.
fix: drop TCP bind addresses the host does not have
Some checks failed
Lint + Tag / tag (pull_request) Has been cancelled
Lint + Tag / format (pull_request) Has been cancelled
0bca627f3f
A stale ha_tcp_services[].bind address (e.g. after removing a NIC) makes
HAProxy exit on bind() failure during start or reload, taking every listener
down. Resolve the configured addresses against the host's IPv4 addresses and
keep only the existing ones, warning about the dropped entries. A service left
with no usable bind address still fails the play.
jonas merged commit 1a2cbb1250 into master 2026-10-28 19:22:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
roles/ha!1
No description provided.