Commit graph

8039 commits

Author SHA1 Message Date
František Zatloukal
d9f19e13d9 qa.fedoraproject.org: Drop redirect to wiki 2023-03-15 17:47:15 +00:00
Kevin Fenzi
db012e0f94 add proyectofedora.org domain to dns and proxies
This domain is already in the dns repo (unsigned).
So, this adds it to named.conf and adds it as an alias on the
fedoraproject.org site for now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-01 15:12:06 -08:00
Kevin Fenzi
90a5092834 proxies / staging: update wildcard cert with a new shiny one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-01 14:40:31 -08:00
Dusty Mabe
7627f7682a
compose-tracker: implement suggestions by yamllint 2023-02-27 10:23:07 -05:00
Dusty Mabe
424b882aad
fedora-coreos-pipeline: add Shilpi Das (shilpi-das1) 2023-02-27 09:59:15 -05:00
Dusty Mabe
ab3ecc3bd7
fedora-coreos-pipeline: add alert_users
Not all the users that have access to the pipeline need to get alerted
when things fail.
2023-02-27 09:59:15 -05:00
Dusty Mabe
d9dd564d30
compose-tracker: update instructions for deleting project
The staging node is now os_control_stg[0].
2023-02-27 09:49:54 -05:00
Jakub Kadlcik
b600748659 copr: add playbooks for copr-pulp and copr-pulp-dev instances 2023-02-26 22:11:13 +01:00
Kevin Fenzi
93043d8f74 proxies / openshift: add new cert for apps.ocp
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-19 08:46:42 -08:00
Kevin Fenzi
5c9a733da9 openshift / fedocal / staging: disable cron job in staging
The fedocal cron jobs fail in staging because they try to send to
'localhost' for smtp server. We could redirect them to use bastion, but
then people would get a bunch of reminders from prod and staging and get
confused by it. Ideally, fedocal would have a way to just print emails
to stdout instead of sending to SMTP server to use for testing them in
staging, but for now, until we have that just disable the cron job in
staging.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-14 09:04:21 -08:00
Aurélien Bompard
c17a563d9b
Deploy the new FMN to prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-02-14 13:39:38 +01:00
Aurélien Bompard
92a71abfe9
FMN: add a cron job
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-02-14 11:07:44 +01:00
Kevin Fenzi
ef2b0d9435 blockerbugs: by request drop adamw from blockerbugs monitoring
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 15:15:37 -08:00
Kevin Fenzi
ac1fc1d617 openshift / various apps: add myself to appowners/alert users
I like alerts. Do you like alerts?
I like getting them so I can fix things.
So, adding myself here to all these apps so I can tell when pods are
crashing or builds are failing or whatever. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:21:22 -08:00
Kevin Fenzi
d2c0673c1c linux-system-roles/seconday01: need user=root to find the right cron
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-07 13:50:04 -08:00
Jiri Kucera
f49f4a7ffd lsr-logs-clean: Add MAILTO to cron file
Set MAILTO for the particular cron file to the email address
of the Linux system roles community so any output from the log
pruning job going to stderr is reported to them. Send stdout to
/dev/null since it is not important.

Signed-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Jiri Kucera
dc8c275f09 Clean /srv/pub/alt/linuxsystemroles/logs
Add cron task that prune /srv/pub/alt/linuxsystemroles/logs.

Related: RHELPLAN-104620

Sign-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Kevin Fenzi
29dcdd6ce5 proxies: new *.id.fedoraproject.org cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-06 11:47:26 -08:00
David Kirwan
f65c1808de fas2discourse: Correct host target
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-02-06 14:06:34 +09:00
David Kirwan
a21dfeea4f fas2discourse: structure to deploy the fas2discourse-operator
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2023-02-06 13:22:22 +09:00
d0704659a7 docsbuilding: set alert_users list 2023-02-05 22:49:44 +00:00
Pavel Raiskup
c1335a72d9 copr: incremental backup to storinator, part 1
These scripts are based on my personal "Don't Delay Backups" project,
which is not yet available as a public role.
2023-02-04 20:29:21 +01:00
Kevin Fenzi
e1818e7a8c virthost: rkhunter is available for epel9 for a while now
Go ahead and install this on rhel9 virthosts as well.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-03 15:09:02 -08:00
Kevin Fenzi
b8bfba5f74 ipsilon: add collectd
No reason we shouldn't have collectd reporting here too.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-27 10:46:42 -08:00
Kevin Fenzi
da244a81df retrace: add quotes around username since it has a var in it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-26 18:27:42 -08:00
Kevin Fenzi
f0b98b904c Openshift apps: drop app owners that have left us
Before we enable any monitoring, we should clean up app owners some so
we do not spam people who arent around anymore and no longer care about
the app. ;)

If I removed anyone here who is still around and does care, we can
easily add you back in.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-26 17:19:33 -08:00
02cb912277 lint fix 2023-01-27 00:08:30 +00:00
96c64b7ee4 docsbuilding: add alerting 2023-01-27 00:08:30 +00:00
caa4f85ed2 ocp_monitoring: move rules to openshift/project role 2023-01-27 00:08:30 +00:00
Adam Williamson
fea60aab95 Bodhi: try and do critical path data generation in openshift
The previous attempt to have staging Bodhi use grouped JSON
critical path data didn't work because we did it in the backend
(i.e. the composer), not the openshift pods where the web UI
and the consumers run.

We need at least the web UI and consumer pods to have the
critpath data, as both those pods may create updates (Bodhi
decides if the update is critical path at creation time). This
attempts to handle that by having a daily openshift cron job
that runs a simple container with the necessary packages in it,
checks out the script, and runs it. It's run on a persistent
storage volume which is also mounted by all the Bodhi pods in
the place where Bodhi will look for the data.

The cron job frequency is temporarily set to once an hour; this
is so it will run soon after initial deployment. Once it has
run once we can cut it back to once a day.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-26 11:52:28 -08:00
Adam Williamson
95e4480d4c Bodhi: revert broken backend critpath generation bits
This doesn't work - it puts the critical path data on the
'backend', which is not where we need it to be. We need that
data in the openshift pods, there's another commit alongside
this one which tries to do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-26 11:52:28 -08:00
66726137ae websites: add alerts for pod/job/build errors 2023-01-25 22:41:39 +00:00
Kevin Fenzi
921add1320 dns: adjust conditionals for dns servers using rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:07:50 -08:00
Jakub Kadlcik
07ed75c445 copr: upgrade also python3-copr-common on copr-keygen 2023-01-24 16:23:06 +01:00
Kevin Fenzi
be19611e01 pagure: fix conditional in playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 12:26:42 -08:00
Kevin Fenzi
d44bc3991c pagure: handle stunnel bundled cert in letsencrypt renews
This commit removes the old tasks to try and create a cert/intermediate
bundle file for stunnel in favor of just doing it when we renew/get the
cert. It also fixes stunnel to use the correct bundled cert.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 11:55:13 -08:00
Adam Williamson
8445bb6e26 bodhi: switch to grouped JSON critical path data on staging
This switches the Bodhi staging instance to use (and regularly
update) its own grouped critical path data, instead of consuming
the data from PDC that is non-grouped and irregularly updated by
releng. If this works out well, we'll also apply it to prod.
This requires Bodhi 7 or higher.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-19 14:07:47 -08:00
Kevin Fenzi
d4bcf3b670 communishift: add communishift-planet for working on new planet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-19 12:32:39 -08:00
Kevin Fenzi
3574e037a3 wiki / staging: make sure to mount attachments dir in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-16 14:20:31 -08:00
Michal Konečný
b7e5056a4e [notifs-backend] Fix YAML syntax
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-16 16:09:56 +01:00
Michal Konečný
00bb6a3634 [notifs-backend] Update FMN playbook
Remove redis from playbook, it's no longer used. We are using memcached instead.
Start the services automatically after deployment.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-16 15:58:59 +01:00
Kevin Fenzi
4d7c02510f more vim spew fixing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:57:04 -08:00
Kevin Fenzi
47cf07184e wildcard-2023.fedoraproject.org: new wildcard ssl cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:48:40 -08:00
Kevin Fenzi
4b262d7ada apps.ocp.stg new certs for 2023
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-08 18:26:33 -08:00
Kevin Fenzi
31f11df469 koschei: increase timeout from 30s to 180s to allow loading larger queries
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-08 11:12:00 -08:00
Stephen Smoogen
69ba9efed8 Move to using new certs for fedorapeople
Get new certs per instructions
Put new certs in ansible_private from letsencrypt
Change the cert name in configs to 2023 to show different from 2017 one.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2023-01-05 12:50:34 -05:00
David Kirwan
b33aa64cde fas2discourse: Create playbook/role
Create task to generate keytab
2022-12-21 10:09:54 +09:00
Kevin Fenzi
5ca2b2eb36 os.fedoraproject.org / app.os.fedoraproject.org: remove more old openshift 3.11 cluster stuff
It may be that having this on some of the proxies is causing problems
because it's trying to ping the old openshift 3.11 cluster and filling
up apache slots with it. We do not need this stuff anymore, so remove
it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-16 10:15:27 -08:00
David Kirwan
e4b47ff35c communishift: testing venv workaround for dependency issues
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-15 15:36:35 +09:00
David Kirwan
2378c9cf35 communishift: testing venv workaround for dependency issues
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-15 15:21:59 +09:00