Bug 1837458
| Summary: | Container health checks fail to honor no_proxy CIDR notation | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Cody Swanson <cswanson> |
| Component: | openstack-tripleo-common | Assignee: | Cédric Jeanneret <cjeanner> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 16.2 (Train) | CC: | amcleod, amoralej, bdobreli, cjeanner, cswanson, dmacpher, emacchi, joflynn, kecarter, m.andre, mburns, slinaber |
| Target Milestone: | ga | Keywords: | Triaged |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-common-11.6.1-2.20210528132130.7599a38.el8ost.1 | Doc Type: | Release Note |
| Doc Text: |
The no_proxy notation needs to be explained in a clearer way. Comma-separated list of hosts which do not use a proxy, if one is specified.
The only wildcard is a single * character, which matches all hosts, and effectively disables the proxy.
Each name in this list is matched as either a domain which contains the hostname, or the hostname itself. For example, local.com would match local.com, local.com:80, and www.local.com, but not www.notlocal.com.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-09-15 07:07:50 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
Cody Swanson
2020-05-19 13:48:50 UTC
Sooo..... the issue is: there isn't any real support for the no_proxy for CIDR notation. No RFE, nothing. no_proxy should even be a *domain* if we read the current state of the art and examples..... Since the healthchecks are using cURL, we depend on their way to handle those variables and options. For the records, wget doesn't support CIDR notation afaik. There are endless discussions about this on different issue trackers, but no real things is done so far. Since nothing properly describes the format NOR the way to handle those no_proxy, proxy_http and proxy_https variables (no RFE), everyone is doing it on their own and, of course, we have nice divergences. So, as already said in different places, I'm not really sure WHAT we should do: 1. document that nope, CIDR notation aren't supported (and won't be) 2. implement our own thing in go, python, perl, haskell, whatever and maintain it 3. push for cURL or wget to implement something supporting CIDR notation (this suppose they handle the no_proxy as an IP address instead of a STRING, which is the case right now) I would frankly go for the 1, since it seems to be the overall consensus at least at the tooling level... Cheers, C. Some updates: - moving to 16.1, since it's still a thing - setting target milestone to z3, since it's a trivial doc update - moving to MODIFIED - no code is needed, only a doc update - adding some doc text content for the Doc Team to review Quick update: I'm currently trying to get a python script replacing cURL upstream: https://review.opendev.org/c/openstack/tripleo-common/+/771422 But it will be hard to get it in, since cURL is probably the most efficient and fastest app we can get for such a check..... Let's see how it goes but I'm not really optimistic. Reassigning to 16.2 due to the patch landing early. 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 (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement 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/RHEA-2021:3483 |