Commit Graph

23 Commits

Author SHA1 Message Date
Kevin Fenzi
42bc4ea41a proxies / reverseproxy: try just always setting balancer_members and dropping the set facts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-05 11:47:17 -07:00
Kevin Fenzi
0e1d9f6ea7 proxies / reverseproxy: try some different logic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-05 09:30:58 -07:00
Kevin Fenzi
dc6b7697c1 proxies / reverseproxy: unset balancer_members after each template so it can get set right for the next one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-04 21:05:37 -07:00
Kevin Fenzi
52a8936914 proxies: rework reversepassproxy and mark all ocp4 / ocp3 apps
The ocp3 cluster is reachable/available via the vpn, so any proxy can
reach it.

The ocp4 cluster is (at least for now) only reachable/available from the
iad2 proxies (proxy01/proxy10).

There's a firefox bug that causes it to reuse h2 connections, and in
some cases try and request something of a non iad2 proxy that it can't
reach. To work around this in those cases we need to send a 421 back to
the client so it doesn't do that.

This moves that logic into the template so all ocp4: true hosts do this
by default. Also, we default the balancer nodes so we only have to
change them in one place if we remove/add a compute node.

Finally, we mark all the ocp3 apps with 'ocp4: false' so we know what
they are and can move them more easily.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 13:14:28 -07:00
Frank Ch. Eigler
c37d51d236 proxies/debuginfod: allow proxyopts
debuginfod can take O(60s) to run certain webapi queries, so the httpd
mod_proxy default timeouts are too short.  Introduce an ansible
variable "proxyopts", expanded into the httpd ProxyPass and
ProxyPassReverse configuration lines.  Default to "", but set it
with pretty generous limits for debuginfod only.
2021-04-08 20:58:52 +00:00
Patrick Uiterwijk
7fcd6b2afd Set tags correctly on the set_fact
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-09-28 19:09:29 +02:00
Patrick Uiterwijk
f3bdabd73a Word ordering is hard
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-09-28 19:01:25 +02:00
Patrick Uiterwijk
7dc41f8f16 Let's see if it's reversed?
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-09-28 18:55:21 +02:00
Patrick Uiterwijk
48bf3be669 Try quoting... It worked last time?
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-09-28 18:52:05 +02:00
Patrick Uiterwijk
3ffd179216 Simplify reverseproxy for openshift and setup SSL config for it
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-09-28 18:46:08 +02:00
Kevin Fenzi
058f6a84ec missed a few of these due to spacing 2017-04-13 18:35:43 +00:00
Kevin Fenzi
1effd347df Setup a proxyreload for httpd that looks for the ticketkey. If it's not there, assume the proxy is just being configured and don't reload httpd. 2016-12-01 21:36:07 +00:00
Patrick Uiterwijk
c0b7382df2 Allow to keep the host header through a setting
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-10 22:07:34 +00:00
Kevin Fenzi
7b8f1624bf Gte another reload place 2015-10-11 19:53:20 +00:00
Ralph Bean
cc8e08e90b proxy config for docs-backend. 2014-12-18 19:18:00 +00:00
Ralph Bean
36de1fb87b Try fully qualifying these. 2014-12-08 19:28:11 +00:00
Ralph Bean
671d1f9360 This isn't working. Try this. 2014-12-08 19:18:44 +00:00
Ralph Bean
e396051ff0 That didn't do it. 2014-12-08 18:05:25 +00:00
Ralph Bean
12c1bfacba It wasn't able to find any. Do you have to specify templates/? 2014-12-08 18:03:55 +00:00
Ralph Bean
d323e54053 Redundant slash. 2014-12-08 18:00:48 +00:00
Ralph Bean
f1b20d1a39 Let's try a with_first_found here to special case some entries. 2014-12-08 17:58:51 +00:00
Ralph Bean
2b558a478f Help debug. 2014-12-08 17:50:32 +00:00
Ralph Bean
30dfd807ba First try at a reversepassproxy role. 2014-12-08 15:40:15 +00:00