Bug 1825923
| Summary: | Fluentd pod doesn't honor noproxy definition when using CIDR format and accessing using an IP address | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Oscar Casal Sanchez <ocasalsa> |
| Component: | Logging | Assignee: | Periklis Tsirakidis <periklis> |
| Status: | CLOSED NOTABUG | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.3.z | CC: | aos-bugs, jcantril, mburke, periklis |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-04 14:22:25 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: | |||
|
Description
Oscar Casal Sanchez
2020-04-20 13:45:08 UTC
*** This bug has been marked as a duplicate of bug 1777477 *** Hello, Do you need some extra data for evaluating this issue from my side? @Oscar Casal Sanchez TL;DR; To our call, I cannot reproduce the issue by setting a proxy e.g. HTTP_PROXY=http://squid.corp.redhat.com:8080 and excluding the CIDR for my target Elasticsearch on my cluster. I believe it's only an issue of the outdated version of curl (7.29 released 2013) on our pods and a combination of NO_PROXY and no_proxy. Hello, Thank you so much for your feedback and so much appreciate your help and time dedicated. I'll verify again if the issue is really affecting to fluentd and it's not a problem with the curl version that it's not taking care of the noproxy definition correctly. Let me some time to check and verify it. Regards, Oscar @Oscar TL;DR; Using an IP address for the elasticsearch endpoint will not work with an IP-based no_proxy setting with ruby. The elasticsearch endpoint needs to be defined as a hostname that ruby can lookup. See: https://github.com/ruby/ruby/blob/ruby_2_5/lib/uri/generic.rb#L1551 https://github.com/ruby/ruby/blob/ruby_2_5/lib/uri/generic.rb#L1541 https://github.com/ruby/ruby/blob/ruby_2_5/lib/uri/generic.rb#L1551 Closing this issue based on https://bugzilla.redhat.com/show_bug.cgi?id=1825923#c10 it's not a bug. Hello Periklis, Thank you so much for your time dedicated and bring our attention to the issue related to using the IP Address in the endpoint. In the documentation is indicated the next in one of the examples: "Add one or more endpoints: - ... - Enter the endpoint, either the server name or FQDN." It's indicating that it should be a server name of FQDN, but I believe that it should be more clear in a Warning indicating that it shouldn't be used an IP Address. Then, I'll open a different Bugzilla to highlight this point. Thank you, Oscar |