Crash already cleared w/ envoy-security@, they OKed this being filed as an issue
Title: Crash on cluster initialization/healthcheck when ipv6 disabled
Description
Current Behavior: Envoy crash on cluster initialization/healthcheck when probing a domain w/ an IPv6 address, if IPv6 is disabled at the OS level
Expected Behavior: Hopefully, Envoy could detect IPv6 unavailability and not attempt the IPv6 check, or should cleanly handle the failure and not crash.
OS: Reproduced in both RHEL-7.9.21 and RHEL-8.5.1
Envoy version: 1.20.1 (also reproduced with similar configs in 1.9.1)
Stand up RHEL instance (tested against 7.9.21 and 8.5.1)
Install envoy (tested against 1.20.1 and reproduced with similar configs in 1.9.1)
Create test envoy configuration expressing a LOGICAL_DNS cluster pointing to an IPv6-enabled endpoint (yahoo.com in this case, but any domain expressing an IPv6 address should work)
Crash already cleared w/ envoy-security@, they OKed this being filed as an issue
Title: Crash on cluster initialization/healthcheck when ipv6 disabled
Description
Repro steps
Detailed Steps
Config
Logs
Call Stack
See Logs above
Mitigations
The crash can be avoided by:
dns_lookup_family: V4_ONLY
However, it is somewhat brittle to rely on manually configuring
V4_ONLY
for each new cluster we add, so this issue seemed worth reporting.