Bug 1575585
| Summary: | RFE : Haproxy does not resolve ipv6 resolvable hostnames in the backend section. | |||
|---|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Sangam <sababu> | |
| Component: | haproxy | Assignee: | Ryan O'Hara <rohara> | |
| Status: | CLOSED ERRATA | QA Contact: | Brandon Perkins <bperkins> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rh-haproxy18 | CC: | pasik, redhat-bugzilla, robert.scheck, tborcin | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | 3.3 | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | rh-haproxy18-haproxy-1.8.17-1.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1576047 (view as bug list) | Environment: | ||
| Last Closed: | 2019-06-11 12:01:34 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1576047 | |||
|
Description
Sangam
2018-05-07 11:07:15 UTC
(In reply to Sangam from comment #0) > Additional info: > Note from customer referring to github page : > ================================================= > https://discourse.haproxy.org/t/haproxy-fails-to-start-with-invalid-address- > when-using-ipv6-resolvable-name-in-the-backend/526 > + quote from github: > Recent systems can resolve IPv6 host names using getaddrinfo(). This > primitive > is not present in all libcs and does not work in all of them either. Support > in > glibc was broken before 2.3. Some embedded libs may not properly work either, > thus, support is disabled by default, meaning that some host names which only > resolve as IPv6 addresses will not resolve and configs might emit an error > during parsing. If you know that your OS libc has reliable support for > getaddrinfo(), you can add USE_GETADDRINFO=1 on the make command line to > enable > it. This is the recommended option for most Linux distro packagers since it's > working fine on all recent mainstream distros. It is automatically enabled on > Solaris 8 and above, as it's known to work. Right. I was just talking with upstream about why USE_GETADDRINFO was not set for the 'linux2628' target in the Makefile. We're talking about adding an additional make target that defines USE_GETADDRINFO, but in the meantime the quick/easy solution is to add it to the make command in the spec file. Simple fix. *** Bug 1576047 has been marked as a duplicate of this bug. *** Cross-filed case 02135416 in the Red Hat customer portal. What's the target timeframe for getting this addressed in rh-haproxy18? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1436 |