Commit graph

41563 commits

Author SHA1 Message Date
Miro Hrončok
e0a7231ec6 Switch the weekly FTBFS reminders to F40
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
2024-07-26 15:11:02 +00:00
Adam Williamson
4743c3fdce openqa/worker: transition all tap workers to NM-based setup
This seems to be working fine in testing, so let's deploy it
everywhere.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 14:54:03 -07:00
Adam Williamson
762b23ef7d openqa/worker tap-setup-nm: tweak some quoting, drop tunctl
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 14:06:52 -07:00
Adam Williamson
690a5eb951 openqa/worker: add NM-based tap setup and test on p09-worker01
network-scripts-openvswitch was removed in f40 and network-scripts
is going away in f41; we really need to get off using them.
This attempts to implement the same setup using NetworkManager,
based on a few different NM/ovs references, and the source of
openQA upstream's os-autoinst-setup-multi-machine . It might
need a bit of tweaking, so for now, we make it a separate task
and use it only on p09-worker01 for testing. This doesn't handle
tearing down the old network-scripts-based config as that's
pretty complex and will only need to happen once; I'll do it
manually before trying this out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 13:50:39 -07:00
Adam Williamson
2ea8ffa760 Ugh, fixup for previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 13:27:44 -07:00
Adam Williamson
ba9e0f04a0 Update openqa-p09-worker01 host vars
The interface name changed (thanks, 'predictable' names...sigh)
and this box *is* encrypted currently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 13:25:36 -07:00
Kevin Fenzi
b11d59d934 toddlers: disable pdc_import_compose plugin as pdc is going away
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-25 12:29:15 -07:00
Aurélien Bompard
c3cf83f3a5
Badges: add a config value that will be needed in the next update
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-25 16:16:00 +02:00
Aurélien Bompard
a431c7e919
Badges: upgrade the DB on redeployments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-25 15:53:41 +02:00
Michal Konecny
85351ee90d [release-monitoring] Update anitya config
Switch log to debug and add thread id information if available.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-25 15:51:07 +02:00
Jiri Podivin
f19c9f0edb Add CUDA drivers and other utils 2024-07-25 15:38:05 +02:00
Michal Konecny
8e7f84edbc [toddlers] Disable koji_block_retired toddler
koji_block_retired is currently generating a lot of error messages. Let's
disable it for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-25 11:41:45 +00:00
Miroslav Suchý
99c6d88b9d use become for logdetective 2024-07-25 13:34:26 +02:00
Miroslav Suchý
c591394e66 set ansible user for logdetective01 2024-07-25 13:30:49 +02:00
Miroslav Suchý
cd280f399e set python path for logdetective
trying to address
[WARNING]: Unhandled error in Python interpreter discovery for host logdetective01.fedorainfracloud.org: unexpected output from Python interpreter discovery
[WARNING]: Platform unknown on host logdetective01.fedorainfracloud.org is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change the
meaning of that path. See https://docs.ansible.com/ansible-core/2.14/reference_appendices/interpreter_discovery.html for more information.
fatal: [logdetective01.fedorainfracloud.org]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "module_stderr": "", "module_stdout": "Please login as the user \"fedora\" rather than the user \"root\".\n\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 142}
2024-07-25 13:27:23 +02:00
Miroslav Suchý
95b189002b fix logdetective playbook 2024-07-25 13:21:45 +02:00
Michal Konecny
d67ebdffd2 [toddlers] Remove configuration for koji_block_retired
This is not needed anymore as we are using configuration options from shared section.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-25 12:01:29 +02:00
Michal Konecny
100c0a0428 [toddlers] Enable distgit_bugzilla_sync again
The fix for distgit_bugzilla_sync is in place, let's enable it again.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-25 12:00:50 +02:00
Seddik Alaoui Ismaili
781ea8411d update podcast target redirect url 2024-07-24 23:59:59 +02:00
Kevin Fenzi
7a10d32e16 compose-eln01: fix nfs mounts that are needed here
We need to have koji and ftp mounts here in order to compose and sync
out data.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-24 09:11:14 -07:00
Aurélien Bompard
d06ba5e10a
monitor-config: fix deploymentconfig mount
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-24 16:55:18 +02:00
Miroslav Suchý
9f29a94193 add playbook for logdetective
https://pagure.io/fedora-infrastructure/issue/12021
2024-07-24 16:45:19 +02:00
c4b397b98d
firmitas: Update cert location in myconfig.py file
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 15:18:22 +01:00
6456eabaee
firmitas: update command/entrypoint in deployment
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:45:28 +01:00
25b782ea9d
firmitas: ensure the contents of the slurped file is stored in var
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:35:07 +01:00
54003d7b5e
firmitas: reuse slurp, remove b64encode
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:30:47 +01:00
d324d3b40d
firmitas: retry loading files into vars using lookup file
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-24 14:26:52 +01:00
Aurélien Bompard
141fde08f1
Fix the keytab path in monitor-gating
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-24 14:59:54 +02:00
Michal Konecny
c2d9c9a41e [toddlers] Disable distgit_bugzilla_sync toddler
The toddler is currently failing with an error. Let's disable it for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-24 14:50:27 +02:00
Michal Konecny
2142d1c739 [poddlers] Enable new toddler in poddlers
PagureFASGroupsSync is for syncing FAS groups with pagure groups, where FAS is
the source of truth.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-24 14:03:44 +02:00
Michal Konecny
1b0fc1c5cb [toddlers] Principal config value needs to be a string
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-24 13:34:48 +02:00
Michal Konecny
5d6416548b [toddlers] Put the host in correct section
This needs to be when secret.yml template is being processed not where the
keytab is being processed.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-24 13:26:47 +02:00
Michal Konecny
fea6be66e6 [toddlers] Provide the correct variable values for principal
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-24 13:17:34 +02:00
Michal Konecny
cabd6b7385 [mailman3] Set logging level for database to warning
The database log is really big even on info level, let' set it manually to
warning to save space and don't generate GB of logs.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-24 10:49:12 +02:00
Nils Philippsen
c901eae7ae rabbitmq: Fix typo making sudo groups ineffective
This amends commit dbbf94a411.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2024-07-23 19:25:32 +02:00
Aurélien Bompard
1cb613d3bd
W2FM: upgrade the DB on redeployments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-23 16:57:21 +02:00
Michal Konecny
25eb4bdba6 [toddlers] Path needs to be string
The keytab value needs to be string otherwise the toml parser is failing with
Invalid value error.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 16:28:38 +02:00
Michal Konecny
8f4b7d055a [toddlers] Add missing topics to playbook
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 16:09:12 +02:00
Michal Konecny
3eb894a631 [toddlers] Remove the principal config variable
I didn't realized that openshift will still process all the templates variables
even if they are commented out.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 15:58:12 +02:00
2a8d2538c0
firmitas: fix directory paths for config templates
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-23 14:55:17 +01:00
57ca9d90b5
firmitas: ensure template directory created first
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-23 14:51:31 +01:00
4a444490c6
firmitas: add ENV to myconfig.py location
add secret mount to deployment

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-23 14:48:10 +01:00
Michal Konecny
cf24f3595b [toddlers] Comment out the offending config line
This line is causing the playbook to file as the `service` and `host` variables are
not set anywhere. I already set the `service` variable to value `toddlers`, but
I'm not sure what is expected in `host`, let's comment it out for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 15:17:59 +02:00
Michal Konecny
7c838342cd [toddlers] Fix the failing playbook
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 14:53:37 +02:00
Michal Konecny
846ec7f6ca [toddlers] Add cron job for pagure fas group sync
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 14:37:25 +02:00
Michal Konecny
6812767362 [toddlers] Add configuration for new toddler
The new toddler for syncing pagure groups with FAS groups needs some additional
configuration.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-23 13:37:12 +02:00
Aurélien Bompard
d3fdcbe9b6
Fix some names
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-23 10:58:13 +02:00
Aurélien Bompard
7c64d97c95
Indentation
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-23 10:55:28 +02:00
Aurélien Bompard
448d26f4cf
First attempt at a webhook2fedmsg deployment
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-07-23 10:35:58 +02:00
Kevin Fenzi
29a5149356 waiverdb: temp use the test image from stg as it has all the fixes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-22 19:45:32 -07:00