Commit graph

338 commits

Author SHA1 Message Date
ce45b1775e
ocp: renew internal ingress certificates 2023-08-11 12:50:57 +02:00
Aurélien Bompard
74988bf1ff
Old FMN: update the heartbeat location
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-26 11:32:52 +02:00
Kevin Fenzi
36b489bce2 haproxy: adjust content size to 503 page
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-04 07:50:02 -07:00
0ece2dfe06
use fedoraproject favicon everywhere it's needed 2023-04-03 13:35:55 +02:00
Kevin Fenzi
b1b0923af0 openshift 3.11: raise a glass!
Our openshift 3.11 cluster(s) served us long and well.

Now we have everything finally moved to the openshift 4 clusters (fas2
was the last holdout). We can finally retire this. :)

🎉🥂

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-28 13:08:01 -08:00
Kevin Fenzi
99eab71b2e haproxy: install socat for dynamic stats/control of haproxy
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-06 12:22:35 -07:00
Kevin Fenzi
1e304a8467 haproxy: revert adding workers, as these were masters all along
We added more to the api and machine-config, but those only go to
control nodes, not compute nodes. Just revert this section entirely, it
was a bad idea and we shall never speak of it again. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-03 14:59:28 -08:00
Kevin Fenzi
9eed96e3d6 proxies: open ocp4 api port in both stg and prod
This fixes ticket 10521.

Basically we want to just open the api. It requires auth to do anything
and other openshift instances have it available, so it shouldn't
hopefully expose us to too much risk. With ocp3 the api was part of the
normal port/web flow, but with ocp4 it's a seperate port.

This also adds new workers to haproxy. I can drop that part if it's
controversal, but it should be fine I would think.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-03 22:29:37 +00:00
Kevin Fenzi
c520b42230 datagrepper has moved to openshift. Remove old ansible remnants.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-21 11:44:13 -08:00
Mark O Brien
dab8886bb7 remove unnecessary task
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-11-04 15:51:05 +00:00
David Kirwan
d7f5be0ebb metrics-for-apps: updating api-int CA cert for ocp4
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-09 12:52:18 +09:00
David Kirwan
b778a45d6c metrics-for-apps: Remove temporary ocp4 bootstrap machine from haproxy
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-08 12:35:48 +09:00
David Kirwan
4e8fa0e687 metrics-for-apps: add ocp4 prod CA cert to haproxy
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-08 12:32:42 +09:00
Kevin Fenzi
6ce2275510 haproxy: ocp cluster is only in iad2
If we push this to all proxies (as we have), they will fail to start
haproxy because they cannot resolve the internal ocp iad2 hosts. ;(

The ocp clusters should only apply on the iad2 haproxy nodes, not all
proxies. Also fix logic on the staging one to apply in staging instead
of just production.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-04 10:51:00 -07:00
David Kirwan
9f39d76e2c metrics-for-apps: Adding inventory/groupvars/changes for ocp prod
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 01:37:34 +00:00
Kevin Fenzi
3bdb267ad4 staging: rename the ocp cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 15:53:34 -07:00
Kevin Fenzi
5e6ab492a5 haproxy: tweak filename for ocp certs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-19 16:13:33 -07:00
Kevin Fenzi
ee60a42ccb haproxy: check in a temp prod ocp ca pem so playbooks do not fail
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-17 17:15:29 -07:00
David Kirwan
773bb63e35 metrics-for-apps: CA cert for the ocp4 staging cluster
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-17 10:26:56 +09:00
David Kirwan
6de8b73b9a metrics-for-apps: hotfix rename ocp4 staging CA cert
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-16 11:04:59 +09:00
David Kirwan
63b493fe31 metrics-for-apps: hotfix rename ocp4 staging ca certificate
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-16 10:51:33 +09:00
Kevin Fenzi
ffe6484549 haproxy: use env_short here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-13 16:39:02 -07:00
Kevin Fenzi
73bb20bb13 Revert "haproxy: adjust names on files to use .stg"
This reverts commit 8b1f44206d.
2021-08-13 16:37:13 -07:00
Kevin Fenzi
8b1f44206d haproxy: adjust names on files to use .stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-13 13:25:25 -07:00
David Kirwan
55185861c8 metrics-for-apps:
- Updating apache proxy config to handle ocp4 CA cert
- place ocp4 CA cert on proxies
- add ocp4 stg ca cert to haproxy/files

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-13 20:02:38 +00:00
David Kirwan
b7be2d3c40 metrics-for-apps: commeting out the bootstrap node for ocp4stg
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-11 12:46:46 +09:00
Kevin Fenzi
38fa66b00b Revert "metrics-for-apps: commenting out ocp4 bootstrap node from proxy configs"
This reverts commit 849b729578.
2021-08-10 19:31:42 -07:00
David Kirwan
849b729578 metrics-for-apps: commenting out ocp4 bootstrap node from proxy configs
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-11 10:14:18 +09:00
Kevin Fenzi
ad2d0a4a4e haproxy: Try dropping ssl here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-10 18:02:45 -07:00
Kevin Fenzi
ecbda7c851 haproxy: add staging ocp cert for api-int
haproxy needs to terminate ssl for the api part of the ocp cluster.
We can't do this in apache without listening for non standard ports and
that could be a mess, so terminate ssl here and talk into the cluster

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-09 10:51:13 -07:00
David Kirwan
d78d1070f8 metrics-for-apps: terminate tls for api/api-int in haproxy
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-08-09 17:48:38 +00:00
Kevin Fenzi
63eb9d6765 haproxy: fix typo in backend name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-27 13:22:56 -07:00
Kevin Fenzi
abec29acf4 ocp / staging: add posts for control plane behind haproxy and open proxy firewalls
Put the api ports that ocp4 needs behind haproxy (with bootstrap node)
and open them to just the ocp4 machines on the proxies.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-27 13:19:16 -07:00
Pierre-Yves Chibon
2b46beed2c fedocal: drop everything related to fedocal in VM
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-06-23 17:30:27 +02:00
Kevin Fenzi
f23fd1b7a1 totpcgi / 2fa: remove old totpci and files and roles.
Note: there are still some calls here in old fas in openshift, but we
will remove those when we remove old fas (likely as soon as zodbot is
ported over to noggin).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 13:00:56 -07:00
Kevin Fenzi
3a26611841 haproxy: add ipa03 into the mix as a backup behind ipa02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 09:55:58 -07:00
Kevin Fenzi
368bfaef01 haproxy: adjust content length for new text in 503 message
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 09:43:45 -07:00
Kevin Fenzi
80079bec37 503: adjust wording on the service not available doc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-17 16:40:25 +00:00
Kevin Fenzi
14c486b41d haproxy: adjust content-length
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-12 13:38:48 -07:00
Kevin Fenzi
e4d7627ce8 haproxy: disable notifs-web02 until it's ready
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 17:40:18 -07:00
Kevin Fenzi
e82d21eefd haproxy: decrease chances of marking ipsilon down
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-31 09:36:13 -07:00
Aurélien Bompard
b8e6754f97 Use a VM for Ipsilon in prod too
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-23 16:55:38 +00:00
Pierre-Yves Chibon
25ff2bea69 haproxy: let's assume zabbix is up for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-18 10:11:12 +01:00
Pierre-Yves Chibon
7d1fbba00d haproxy: be more flexible for zabbix
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-17 17:04:21 +01:00
Pierre-Yves Chibon
23c7ef8c20 haproxy: zabbix returns either 200 or 401 - maybe this way?
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-17 16:49:43 +01:00
Pierre-Yves Chibon
36de1196e1 haproxy: zabbix returns either 200 or 401
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-17 16:45:58 +01:00
Pierre-Yves Chibon
ea9d107ef8 haproxy: zabbix now returns 401
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-17 16:40:32 +01:00
Pierre-Yves Chibon
b3a0df510d haproxy: fix the path where haproxy check for zabbix
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-17 15:58:50 +01:00
Pierre-Yves Chibon
157e8029a8 haproxy: add support for zabbix in haproxy but stg only
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-17 10:34:30 +01:00
Aurélien Bompard
aace9bb2cc
New certificate for IPA in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-12 11:39:24 +01:00