1
0
Fork 0
forked from infra/ansible
Commit graph

46,619 commits

Author SHA1 Message Date
05ac1a1e77 [bodhi2] Add script to make flatpak repos public
The repos created through docker push are created as private by default.
This script will run every hour and sets any private repo visibility to
public.

This should be next step to finish
infra/tickets#11543

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-06-24 09:56:40 +02:00
2519e23c78
Add cluster monitoring to rabbitmq03 in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-06-24 07:39:05 +02:00
13c67bd1c2 proxies: bump max connections up more
Seems like there are a ton of really small connections and it starts
hitting the limit (although it never logs that it's out, I think because
they free up quickly).

See if this solves the transitory alerts we see.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 15:21:10 -07:00
280e9bbe54 proxy02.stg: add some secondary ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 15:20:25 -07:00
6a624f306b basessh: Use ListenAddress on hosts with secondary addresses.
If a host has a secondary ipv4 or ipv6 address, only have sshd listen on
the primary ip. This will allow hosts with secondary ips to use ssh port
on secondary ip's for other things.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 14:42:56 -07:00
c9b56e6358 proxy01.stg: use proper ipv6 format
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 14:32:04 -07:00
cda4b5e5a3 proxy01.stg: try an approach using a secondary ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 14:28:39 -07:00
9ce1351301 Revert "proxies / staging: move ssh to port 222"
This reverts commit a83380f64c.
2026-06-23 14:21:20 -07:00
cd7313952e Revert "also create a ssh_config for root with the non standard port"
This reverts commit 03631331d0.
2026-06-23 14:21:11 -07:00
03631331d0 also create a ssh_config for root with the non standard port
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 21:02:52 +00:00
a83380f64c proxies / staging: move ssh to port 222
This pr attempts to move sshd to port 222 on proxy01.stg and
proxy02.stg.

We want to do this (first here and then in prod) because we want to nat
in ssh from external and use haproxy to send that into
forge.fedoraproject.org. If we were using port 22 to connect here
it would conflict with forwarding it on to haproxy.

Note that we still need to actually get networking folks to make the nat
mapping and we still need to add haproxy config to send it into forge in
openshift, but this is the first step we need to get working before we
can do those things.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 21:02:52 +00:00
242cb123a0 people / jflory7 quota increase ( issue 13430 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-23 13:57:07 -07:00
6273dafdf2 add fail_msg to assert in roles/openshift/app-actions
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2026-06-23 19:30:22 +00:00
9d21d55364 fix lint errors
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2026-06-23 19:30:22 +00:00
642b7afdf3 feat(openshift): add restart for openscanhub + reusable role
Assisted-by: gpt-5.5 in Codex
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2026-06-23 19:30:22 +00:00
Jiri Kyjovsky
09a329eeb6 copr-anubis: allow all non-get requests
Relates: https://github.com/fedora-copr/copr/issues/4110
2026-06-23 13:43:34 +02:00
e748dc2f85 Forge staging: Add 'fedora' label to all fedora-N runners
There are six global 'fedora' runners in staging forgejo, each with a
different label. This makes it awkward to create workflows as you have to
arbitrarily tie them to a single runner for no very good reason. If we
give them all the 'fedora' label you can just set your workflow to run on
'fedora' and it will run on any available runner.

Also, at least for the quality org, our prod runners have the 'fedora' label,
so if the global staging runners have the same label, we can reuse workflows
between staging and prod.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-23 11:38:29 +00:00
b00e0aaf59
RabbitMQ: private keys need to match the certs, duh
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-06-23 11:01:06 +02:00
83a81d1ece
Restart RabbitMQ when the cert change
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-06-23 10:49:55 +02:00
f550f61788
Update the RabbitMQ cluster monitoring on staging
- split off the template into a node template and a cluster template
  (that only needs to be instanciated on one node)
- add certificate expiration monitoring in the cluster template

This is only on staging for now.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-06-23 10:35:20 +02:00
c42bde9860
RabbitMQ: use the old server certs in staging for now
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-06-23 10:34:47 +02:00
60a2cbec78
RabbitMQ: add the staging suffixes to users and queues
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-06-23 10:28:58 +02:00
Gordon Messmer
6a7d6431e0 gpu01: grant GPU access to all users 2026-06-22 21:15:39 +00:00
Gordon Messmer
a099f7e370 gpu01: grant GPU access to approved user groups 2026-06-22 21:15:39 +00:00
2c85bbbdf1 readd communishift-happinesspackets ( ticket #13238 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-22 13:46:15 -07:00
bca0d4843a
Zabbix: use non-vpn server target for maintainer test hosts
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-22 16:00:23 +01:00
2610b16219
Zabbix: add CS10 package defaults
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-22 15:54:50 +01:00
a574775086
Zabbix: use correct and not-typoed server target for maintainer_test hosts
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-22 15:44:08 +01:00
474152f472
Zabbix: use correct server target for maintainer_test hosts
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-22 15:35:53 +01:00
34bba84c4a
Zabbix: use correct server target for logdetective hosts
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-22 15:27:29 +01:00
cfea78b9cc koji / hub: fix scm_repository name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-21 20:39:18 -07:00
e493015497 koji / hub: allow forge.fedoraproject.org/releng/kiwi-descriptions.git
This repo moved to forge so allow that and drop the no longer used
kickstarts repo as well as pagure.io.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-21 17:47:28 -07:00
47e4cedcff Define openqa_env_prefix for servers
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-21 00:11:49 +01:00
49f42faa1b openQA etc: use a single-cert CA cert file for staging rabbitmq (#13422)
See infra/tickets#13422
for details on this. It seems like rabbitmq staging has been
switch to the 'new' CA cert, and the consumers don't actually
read/trust both certs in the combined CA cert file, only the
first (old) one, so they don't trust the new one. This should
deploy and use a new file with only the new CA cert in it. We
copy it out of the private repo for convenience but it's not
actually private, hence the 0644 perms.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-20 14:39:13 +02:00
7c8d8a1794 Revert "openQA: try using old pki cert/key on staging"
This reverts commit 293930446b. It
doesn't look like it helped.
2026-06-20 11:19:24 +02:00
293930446b openQA: try using old pki cert/key on staging
I'm having auth issues on openQA staging, I believe it *may* be
to do with the changes Aurelien made in
6fe8b98de21747dc16d59dcf5096da719a541296 . Let's see if using the
old key and cert helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-20 11:14:30 +02:00
03b0d89442 rabbitmq: add weblate user to send translation messages
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-19 09:01:42 -07:00
ecac04bf27 Whoops, add the openQA distgit reporter queue to the playbook
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-19 14:14:13 +02:00
73a749e915
Zabbix: add 100 to postfix queue triggers for smtp-mm
spammers are making the queues longer, lets allow a bit more headroom

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-19 13:11:56 +01:00
97bd28d71e copr-be: retry libvirt pool-refresh few times
This was causing headaches @ vmhost-copr03-p09 (some unspecified
disk-performance issues).  Let's try the operation several times.
2026-06-19 13:34:48 +02:00
6de0108ef7 openQA dist-git PR test result reporting config (staging)
This *should* configure a new queue and consumer for openQA to
report dist-git PR test results back. It's all a bit speculative
ATM, may need some tweaking. Mostly applied only on staging for
now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-19 13:25:02 +02:00
d4ae9f8244 Fix all my message queues to be non-exclusive and durable
AI caught that I've been cargo-culting a dumb message queue
config around from somewhere or other forever. Non-durable,
exclusive, and auto-delete is just about the worst config for a
queue you want to survive transitory issues like the server or
client going down or whatever. This might actually explain the
occasional issues we have with test results not showing up in
resultsdb, even.

This brings the config in line with most other message queues in
infra.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-19 13:15:18 +02:00
bc5be205b7
Zabbix: add an hour to the web-data triggers to give the crons time to run
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-19 11:52:31 +01:00
ef5567d8c0
Zabbix: add an hour to the MariaDB backup trigger to give the daily cron time to run
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-19 11:42:15 +01:00
3191e90c16
Zabbix: add zabbix_agent to places where nagios_client is used
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-19 11:41:51 +01:00
dd8d677a83 Revert "greenwave: disable gating on FreeIPA replica tests on Rawhide"
This reverts commit 0002bf4f26. I've
tweaked openQA to always softfail the tests on Rawhide for now, so
we no longer need to special-case the gating.
2026-06-19 10:24:03 +02:00
0002bf4f26 greenwave: disable gating on FreeIPA replica tests on Rawhide
See https://bugzilla.redhat.com/show_bug.cgi?id=2490607
We have found a bug in FreeIPA replica enrolment with the
OpenSSL 4 update. However, the bug is tricky to fix and the update
is massive and maintaining its side tag is very painful. As a
very exceptional case, we're disabling gating on these tests so
the update can be merged without causing all subsequent updates
to fail gating. We will endeavour to fix the bug and re-enable
normal gating service ASAP.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-19 00:52:33 +02:00
83f050747d Add communishift copr project ( ticket 13409 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-18 15:20:46 -07:00
20575cc5ff
📧 roles(fasjson): Update matrixadmin@ to use FAS group sponsors
This commit updates the `matrixadmin@fp.o` email address alias to now
use the `commops-wg-matrix` sponsor membership for the people who will
automatically receive email to the Matrix admin email. This is one step
to somewhat simplify membership of the email alias to a FAS-backed
mechanism for tracking and updating the sponsors.

Of course, sponsors cannot be updated in Noggin at the moment, so this
requires an IPA FAS admin to update the sponsor list for membership, but
this is an interim step for now.

Additionally, the `cle-managers@fp.o` email alias is added, which
ensures that key members of the CLE Team management will receive comms
to this email address, in the event that a key person from Fedora Infra
is on PTO, unavailable to respond, and to ensure delegation of access in
case of the "lottery factor".

People impacted by this change: @gwmngilfen @jasonbrooks @shaunm @blc
@smilner @ancarrol @jbley @mattdm

Signed-off-by: Justin Wheeler <jwheel@redhat.com>
2026-06-17 22:32:07 +02:00
92ac345388
Zabbix: adjust ping threshold for proxy30 & 38
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-17 11:28:55 +01:00