Commit graph

26111 commits

Author SHA1 Message Date
Gregory Bartholomew
524a4c901e websites: add multilingual support to the error document handling
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-04-07 22:03:34 +00:00
Josef Skladanka
9f04ee6386 Testdays - mount secret volume 2025-04-07 12:12:21 +02:00
Josef Skladanka
2351b7a46f Testdays - mount secret volume 2025-04-07 12:07:19 +02:00
Josef Skladanka
d42c254ee4 Testdays - envvars 2025-04-07 12:00:08 +02:00
Josef Skladanka
b6a6aa5821 Testdays - try OIDC 2025-04-07 11:52:26 +02:00
Greg Sutcliffe
f5475063e6 Zabbix-stg: disable user-management until we can upgrade to 3.3.0 2025-04-04 16:31:47 +01:00
Lenka Segura
a39db46926 poddlers: Add IPA config changes
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2025-04-04 14:46:52 +02:00
Greg Sutcliffe
655f2dc58f Zabbix-stg: minor fixes to API config 2025-04-04 12:25:57 +00:00
Carl George
9e8f4dcf6a mirrormanager: use epel-z prefixes for minor version EPEL repos
https://pagure.io/epel/issue/324

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-04-03 14:29:31 -05:00
Carl George
a15e378443 bodhi_backend: publish EPEL 10.1 to 10.1 paths
https://pagure.io/epel/issue/324

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-04-03 14:29:31 -05:00
654260ceff [pagure stg] disable new projects from being created
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-04-03 18:50:47 +10:00
Miroslav Suchý
26666dbf8f bump up number of reserved instances 2025-04-03 10:19:06 +02:00
Greg Sutcliffe
7f60fdf690 Zabbix-stg: More base server config
This adds:
- Matrix media type
- User for a Matrix bot
- Trigger using Matrix & the bot
- PSK configuration, using the PSK file already deployed
- 2 base templates
  - a general one suitable even for Koji
  - a dependant one for all other hosts
- Autoregistration config to use the new base template

This is all scoped to staging via a new include in main.yml
2025-04-02 17:30:59 +01:00
David Kirwan
01a5c40b69
Forgejo: disable postgresql ha chart, add variable for crunchydata operator
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-04-02 14:35:28 +01:00
David Kirwan
71d3f4079f
forgejo: Create postgresql operator config and secret
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-04-02 07:58:27 +01:00
Kevin Fenzi
5a44707cf4 koji_builder: install linux-firmware, not kernel-firmware
kernel-firmware is the old provide and it's no longer provided by newer
versions of linux-firmware. This is causing our builders to downgrade to
an older linux-firmware, then dnf-automatic just updates it the next
time to the newer one (because it's a security update).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-01 13:54:51 -07:00
Aurélien Bompard
46a8152c61
Deploy journal2fedmsg to prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-01 12:05:17 +02:00
Aurélien Bompard
394b92cb19
simplify the config file using a variable
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-01 11:47:42 +02:00
Adam Williamson
a23c9df05a Make ipsilon static config file public (staging), clean it up
The only secrets in this file, AFAIK, are the client secrets.
Most of those are already defined as secret variables for the
plays in this repo that deploy the services to use.

So instead of duplicating most of the secrets, and keeping this
file in the private repo where we can't do PRs and editing it is
awkward, let's just make all the client secrets be variables,
and make this file public.

For all the cases where a secret wasn't already defined as a
variable, I've added it, so this should work as-is.

Note that the use of `flask_oidc_dev_stg_oidc_client_secret`
twice is not an error in this PR; that secret was reused for
the staging community blog client config. I have reported this
at https://pagure.io/fedora-infrastructure/issue/12161#comment-963303 .

This also removes the client configurations for several services
which no longer exist.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-31 23:07:01 +00:00
Michal Konecny
80adc4e729 [ipa/server] Don't ask for user input
As the pause module is only executed on first machine in the group I
decided to rather remove it completely.

This means that the replica will only be reinstalled, if the machine
isn't master node and the /var/log/ipainstall.log doesn't exist.

If somebody wants to re-install the replica they just need to remove
/var/log/ipainstall.log and the playbook will do the rest.
2025-03-31 15:44:16 +02:00
Michal Konecny
40136bda42 [ipa/server] Don't ask for reinstall in some cases
Don't ask for reinstall when this is master node or the install log is
already created.
2025-03-31 15:17:48 +02:00
David Kirwan
f8adba6df3
forgejo: add postgresql operator config, secret
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-03-31 10:55:46 +01:00
Jakub Kadlcik
42853033ba logdetective: allow http and https in the firewall 2025-03-28 23:37:33 +01:00
Jakub Kadlcik
abee7a2c5f logdetective: install certbot package 2025-03-28 23:37:33 +01:00
Adam Williamson
5da2faac67 openqa/server: allow OAuth2 authentication, enable on lab
OpenID support in FAS is going away. openQA has OAuth2 support.
I've tested this config to work with manual edits on lab, now
ansiblizing it (for lab only to start with).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 13:40:57 -07:00
Adam Williamson
4cd3765cd0 ipsilon: drop obsolete config for beaker and dead bugzillas
We haven't had a beaker since 2018 or so, and none of these
various staging/test/dev bugzilla instances exist any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 18:04:30 +00:00
Lukas Holecek
6426d72854 waiverdb: Remove unnecessary image build 2025-03-28 17:55:33 +00:00
Kevin Fenzi
1d882f1aee matrix clients: update well-known endpoints for new element call
Per EMS support, updating these to allow clients to use
the new element call setup.

See:
https://matrix.org/blog/2025/03/21/this-week-in-matrix-2025-03-21/#dept-of-voip-call-me-hand
and
https://ems-docs.element.io/books/element-cloud-documentation/page/ems-server-with-custom-domain

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-28 10:02:32 -07:00
David Kirwan
df246f9ffc
forgejo: add the template for creating the PostgresCluster
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-03-28 14:10:33 +00:00
Aurélien Bompard
17cd3edbc7
Create missing dir
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-28 14:50:37 +01:00
Aurélien Bompard
292c7f6c6e
Deploy journal-to-fedora-messaging on IPA (staging for now)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-28 12:37:56 +01:00
Aurélien Bompard
9c5d4f0768
Repair logging in rabbitmq
We had set the wrong file context for log files.
This changes is followed by these commands:

- `ansible -m command rabbitmq\* -a 'semanage fcontext -d -t var_log_t "/var/log/rabbitmq(/.*)?"'`
- `ansible -m command rabbitmq\* -a 'restorecon -v -R /var/log/rabbitmq'`

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-03-28 12:10:47 +01:00
Lukas Holecek
2a49ea6cea resultsdb: Make logs more verbose and include user-agents 2025-03-28 07:14:56 +00:00
Kevin Fenzi
b462a186ee batcave / ansible_server: pin 2 collections that we want specifc versions of.
We want to pin to these versions as the ones that get pulled in by other
collections are too new and don't support our ansible-core version.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-27 12:30:54 -07:00
Michal Konecny
c3dac79544 [mailman3] Another missed variable rename
Fixing failing CI is not easy
2025-03-27 13:56:08 +00:00
Greg Sutcliffe
e2f51bea3b resultsdb: Another bump to MPM Worker config to improve stability 2025-03-27 13:42:46 +00:00
Michal Konecny
3eec83ec9a [mailman3] Fix the incorrect variable names 2025-03-27 13:50:25 +01:00
Michal Konecny
a807fb3d4f [mailman3] Create gunicorn configuration file
To make changing the gunicorn configuration more easily let's move
configuration values from systemd service to separate configuration
file.

The file will live in /etc/mailman3/gunicorn.conf.py.
2025-03-27 13:01:13 +01:00
Greg Sutcliffe
9f431805ec nagios: Update authorized user lists 2025-03-26 21:16:13 +00:00
Michal Konecny
1459e74b5a [pagure] Tweak the performance of httpd server
Today the pagure started to be unresponsive. After few hours of
debugging we narrowed the issue to worker limit. We tweaked the value to
something that should be more responsive and it helped.

Here is the PR to make the change permanent.

Thanks @gwmngilfen and @nphillip for help with that.
2025-03-26 14:03:34 +00:00
8778ac0afd forgejo: disable non-admin users being able to make orgs
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-03-26 15:28:10 +10:00
Jakub Kadlcik
6d9ff9b5f2 backend: add trailing slash if needed
Otherwise we can redirect to something like this:

https://console.redhat.com/api/pulp-content/public-copr-stage@copr/TEST1742912352410340284-storage-pulp/fedora-41-x86_64/
2025-03-25 19:44:25 +01:00
Jakub Kadlcik
a6b86224fb copr: rename STG pulp domain 2025-03-25 15:01:07 +01:00
Jakub Kadlcik
22b6e9e2fe copr-be: use production pulp instance but stg domain 2025-03-25 14:09:11 +01:00
d20ff483b9 forgejo: try max_repo_limit
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-03-25 20:14:25 +10:00
Jakub Kadlcik
0fac971004 copr-be: start using Pulp certs also for STG
We still need to fix the base_url
2025-03-25 10:42:27 +01:00
Jakub Kadlcik
661ddacb55 copr-be: install pulp certificates also on STG 2025-03-25 10:17:23 +01:00
Timothée Ravier
c4710ce336 roles/bodhi2/new-updates-sync: No sync for PPC64LE Atomic Desktops
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-03-24 16:18:17 +00:00
Jeremy Cline
7a64016377
fedora-image-uploader: Enable GCP image uploads in production
Configure uploading images to Google Cloud.

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-03-24 11:23:14 -04:00
Greg Sutcliffe
a982fa3f44 resultsdb-ci-listener: Return to using correct git repo for app source 2025-03-24 11:16:03 +00:00