Commit graph

41577 commits

Author SHA1 Message Date
James Antill
d7258e320e Add DNF countme nagios checks.
Signed-off-by: James Antill <james@and.org>
2024-06-27 17:35:23 +00:00
Michal Konecny
517d9b1426 [mailman3] Update the vars
Add the missing Fedora authenticator for OIDC and remove the 16Gb memory limit
as it's set in group_vars.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 17:30:20 +02:00
f4308fb4c3
firmitas: add namespace template
add template for deployment
add tempalte for namespace creation
add template for persistent volume claim creation
add tasks to apply each template
add playbook
Add default values for firmitas_pagure_apikey and firmitas_pagure_host
yamllint changes
add buildconfig task/template

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-06-27 16:21:59 +01:00
Kevin Fenzi
696f49465c mailman: just default to 32gb memory for mailman01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-27 08:16:29 -07:00
Michal Konecny
e82fc43981 [spamassassin] Don't daemonize the process on systemd machines
Running spamassassin with -d causes it to fail on systemd. Let's remove it.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 14:50:31 +00:00
Michal Konecny
80366bda57 [varnish] Fix the lists.fedoraproject.org
The lists are now returning 302 instead of 301. I forgot to change that in varnish.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 16:29:22 +02:00
Michal Konecny
61330941e4 [base/postfix] Set the missing required configuration value
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 14:55:31 +02:00
Michal Konecny
62b319cadb [mailman3] Fix the migration task
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 14:14:12 +02:00
Michal Konecny
84e83a16e1 [mailman3] Use the correct syntax for env
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 13:58:36 +02:00
Michal Konecny
08f990cf79 [mailman3] We need admin access to database for migrations
We didn't need that on staging, but on production the permissions are more
granular.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 13:47:20 +02:00
Michal Konecny
1d562201ed [mailman3] Use the same variable name everywhere
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 13:00:45 +02:00
Michal Konecny
897190bcc6 [mailman3] Fix for production deployment
Don't use the same name for variables in ansible-private and playbook.
Remove fedmsg.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 12:53:03 +02:00
Michal Konecny
133b62a69a [mailman3] Prepare for production migration
Update the var hosts and playbook before migration itself.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 10:14:18 +00:00
Michal Konecny
e97ec6d135 [mailman3] Fix missing import in sar script
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 10:14:18 +00:00
Nils Philippsen
205e2c9ed5 distgit/pagure: Set git directories as safe
This was fixed previously for pagure.io in the context of
paguremirroring. Turns out, it affects all kinds of git operations, so
document and move accordingly.

Fixes: releng#12181
Fixes: fedora-infrastructure#12010

Signed-off-by: Nils Philippsen <nils@redhat.com>
2024-06-27 11:21:19 +02:00
Nils Philippsen
0adf0869a6 distgit/pagure: Appease yamllint
Signed-off-by: Nils Philippsen <nils@redhat.com>
2024-06-27 11:21:07 +02:00
Kevin Fenzi
b1490df609 pagure.io: bump memory to handle load better
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 14:35:48 -07:00
Adam Williamson
a0a7e276a4 kerneltest: use my branch on stg to investigate errors
See https://pagure.io/fedora-infrastructure/issue/11952 , I'm
trying to get kerneltest / kernel-tests to work with OIDC auth
but getting "invalid input file" errors; need to deploy a
branch with the real errors behind that message logged at a
level we can see.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-26 12:57:51 -07:00
Kevin Fenzi
23318bb0d5 people: adjust some things new vm setup on rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 12:18:46 -07:00
Kevin Fenzi
a2a5d2917b people: adjust some things for rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 12:06:11 -07:00
Kevin Fenzi
c3f337e81c people: when when I fix when
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 11:56:18 -07:00
Kevin Fenzi
1627545f53 people: only install old planet on old people
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 11:52:38 -07:00
Kevin Fenzi
da99a573c2 people01: add a new people01 rhel9 server again
This will be installed, then we will sync data from people02 to it and
finally cut over to using it tomorrow in an outage.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 10:50:43 -07:00
Pedro Moura
a5b2891bde Add a deadline for cronjob and make it run every 20th minute
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-06-25 19:16:05 +00:00
Michal Konecny
1879102909 [mailman3] Use the correct syntax for jinja variable
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-25 09:30:41 +02:00
Aurélien Bompard
7f0370ea4d
Improve bugzilla2fedmsg logging and increase heartbeat
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-25 08:20:29 +02:00
Aurélien Bompard
60ee3db1fc
Log bugzilla2fedmsg at DEBUG level
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-25 00:34:06 +02:00
Kevin Fenzi
3d98cbbd03 fedimg: change staging bucket name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-24 14:47:30 -07:00
Kevin Fenzi
c1d34ab1d6 cloud-image-uploader: just set volume size to 6 for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-24 12:59:57 -07:00
Jeremy Cline
2e2d141320
fedora-image-uploader: Add AWS configuration for staging
This will enable AWS support on staging. It remains off in production.
2024-06-24 15:20:18 -04:00
Jeremy Cline
858ab494c3
Add AWS credentials to the cloud-image-uploader
For now, just re-use the fedimg credentials.

Note that currently the AWS support is not enabled so nothing makes use
of these credentials just yet.
2024-06-24 15:10:59 -04:00
Kevin Fenzi
a30087e431 data-analysis: fix syntax harder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-24 11:08:36 -07:00
Kevin Fenzi
d8eed2a4b8 data-analysis: quote variable
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-24 11:07:16 -07:00
Kevin Fenzi
108f7ad464 data-analysis: indention fix for state
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-24 11:05:18 -07:00
Stephen Smoogen
bad5871b19 Remove tabs and trailing whitespace.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-06-24 17:37:14 +00:00
Stephen Smoogen
705687562c Fix spelling erorr in playbook
For some reason I decided to smell absent as abscent. I need to take remedial English again.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-06-24 17:37:14 +00:00
Stephen Smoogen
8d17ae6c6b make sure that graphs actually generate, remove old files
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-06-24 17:37:14 +00:00
james02135
decfe3e771 Update centos-10-sync script to rsync
Signed-off-by: james02135 <james02135@hotmail.com>

Change DESTDIR to previously used directory, exlcude debug directory

Signed-off-by: james02135 <james02135@hotmail.com>
2024-06-24 17:33:24 +00:00
Michal Konecny
bba5d4340e [mailman3] Enable memcached before enabling hyperkitty
For `mailman-web compress` memcached have to be running.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-24 17:45:25 +02:00
Michal Konecny
29566b6a6f [mailman3] Fix the ValueError during deployment
It seems that setting `gatenews_every` to 0 is now throwing `ValueError`. Let's
keep this to default (5m) and just ignore the error.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-24 17:22:47 +02:00
Michal Konecny
fc5ee402bf [mailman3] Fix the jinja variable
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-24 17:04:05 +02:00
Michal Konecny
051650c710 [mailman3] Update default variables
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-24 16:19:46 +02:00
Aurélien Bompard
626a24d13a
Fix the selinux context of the copied files
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-24 09:02:24 +02:00
Kevin Fenzi
71b7104525 communishift: add eventbot project
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-21 10:39:05 -07:00
Michal Konecny
923ca456b0 [fedora-docs/translation] Fix yamllint issues
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 15:50:24 +02:00
Michal Konecny
94c9a21711 [fedora-docs/translation] Migrate to RHEL 9
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 14:27:36 +02:00
Michal Konecny
df67f2be1f [mailman3] Start and enable timers not services
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 14:00:11 +02:00
Michal Konecny
996cef7d22 [mailman3] Add missing tags to patch task
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 12:46:08 +02:00
Michal Konecny
0fbd79a26e [mailman3] Fix the patch file and how it is applied
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 11:55:10 +02:00
Michal Konecny
d0e06d1ab0 [mailman3] Add patch for django_mailman3
Till https://src.fedoraproject.org/rpms/python-django-mailman3/pull-request/2 is
merged let's apply the patch directly.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-21 09:09:34 +00:00