Commit graph

42030 commits

Author SHA1 Message Date
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
Pavel Raiskup
4ffa8cd38e copr-be: update pyp2spec to the latest version 2024-11-25 05:12:20 +01:00
Kevin Fenzi
09e932080c rkhunter: adjust for f41+ journald.conf default
On Fedora 41 /etc/systemd/journald.conf isn't shipped by default anymore.
Instead /usr/lib/systemd/journalc.conf is the default
On RHEL and older Fedora's we can just not set this and it will
find the default one.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-24 14:55:13 -08:00
Kevin Fenzi
5b9d067a31 koji_builder: don't restart the old monolythic libvirtd
In Fedora libvirt switched to a collection of socket activated services
instead of a large single libvirtd service. Restarting that service
caused the socket activated ones to die and then libvirtd exited on
idle, leaving nothing handling virt connections.

So, lets stop trying to restart that and no need to notify other things
because they should idle out/restart on socket activation.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-23 08:56:43 -08:00
Kevin Fenzi
fbd38c1ff2 handlers: add virtnetworkd restart handler
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-22 19:07:37 -08:00
Kevin Fenzi
f5089257fd koji_builder: use iptables backend for libvirt
In f41+ libvirt defaults to using nftables if both it and iptables
are installed, but it doesn't seem to work with imagefactory/oz
virt instances and our iptables setup.
So, lets revert back to iptables for now.
We can switch back if we can fix the incompatiblity, switch builders
to nftables, or stop using oz/IF

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-22 19:01:31 -08:00
Adam Williamson
73db9ea127 Ensure python3-dnf is installed on Fedora 41+ hosts
dnf5 requires neither python3-rpm nor python3-dnf, so we cannot
assume they are installed (as they always were before). ansible's
package_facts needs python3-rpm (even in the latest upstream
version), so we at least need that. The ansible in rhel9 (which
is what's on batcave01 currently) does not support dnf5 at all,
so we need python3-dnf installed so it can use its dnf3/4
support. python3-dnf relies on python3-rpm, so we can just
check for and install python3-dnf. Once batcave01 is updated to
an ansible that supports dnf5 we won't need python3-dnf, but we
*will* still need python3-rpm.

Stuffing this in yumrepos.yml as it runs on everything, early,
and is packaging-related. We could make it a separate task but
then we'd need to make every playbook include it...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-22 11:21:41 -08:00
Kevin Fenzi
db0e3dc08b poddlers / staging: disable poddlers that are spewing lots to log01 until they can be fixed
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-22 10:22:35 -08:00
Kevin Fenzi
28c744658c bvmhost-a64: increase process limits further to avoid false positive nagios alerts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-22 09:31:39 -08:00
Tomáš Hrčka
307eb7ecc3 Update roles/fasjson/files/aliases.static 2024-11-22 16:52:39 +00:00
Mattia Verga
a8695c5c33 bodhi-stg: switch base images to F41
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-11-22 17:14:39 +01:00
Pavel Raiskup
2538a7e30f copr: drop references to de-registered (temp) AMIs 2024-11-22 14:05:18 +01:00
Kevin Fenzi
ef8a734d69 nagios: also make sure the service is running and enabled
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-21 12:53:00 -08:00
Kevin Fenzi
6a1c1e8d6b bkernel: token name has changed, adjust to new name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-21 09:44:20 -08:00
David Kirwan
edf3441fed
communishift: tidy up email template
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 16:16:43 +00:00
David Kirwan
0092d0d4a3
communishift: disable fasjson queries for the moment
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 16:07:48 +00:00
David Kirwan
ef45d81b72
batcave: python3-requests-kerberos package
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 16:02:40 +00:00
David Kirwan
4621257a14
communishift: wip replace hardcoded vars with variables
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 15:58:01 +00:00
Aurélien Bompard
8c12a87638
Replace Toddlers with Poddlers in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-11-21 16:56:07 +01:00
David Kirwan
afb27cc96d
communishift: wip cleanup email notification
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-11-21 15:54:30 +00:00
Aurélien Bompard
64390d2e44
Allow appowner of toddlers on poddlers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-11-21 16:38:29 +01:00
Kevin Fenzi
5e2e148f75 logdetective02: mark as not monitored by nagios
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-20 18:18:31 -08:00
Adam Williamson
1a537f38ce openqa/server: correct scratchrepo removal
d'oh. this has been broken for some time...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-20 17:27:57 -08:00
Kevin Fenzi
14998a31d8 bvmhost-a64: up nrpe process limits
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-20 17:17:50 -08:00
Kevin Fenzi
3a2623218d ipa client: filer out mysql user from ipa/ldap
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-20 16:48:40 -08:00
Adam Williamson
813c8a1c29 drop openqa_tap12_workers group as it's empty now
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-20 16:30:40 -08:00
Adam Williamson
708d7f8087 openqa: deploy a64-worker05 and 06 (to prod), cut down 04 count
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-20 16:17:14 -08:00
Kevin Fenzi
ae7be1e4e0 ipa: add a tag to fix the ipa re-writes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-20 12:42:36 -08:00
Kevin Fenzi
c10d2ac4e5 osbuild ppc64le: not external
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-20 12:09:41 -08:00
Jakub Kadlcik
388529d9d6 copr-be-dev: configure Pulp password 2024-11-20 16:36:22 +01:00
Pavel Raiskup
56db38f336 copr: one image late production promote (osuosl) 2024-11-20 15:41:25 +01:00
Pavel Raiskup
b654fa5183 copr: promote F41 builders to production 2024-11-20 14:08:32 +01:00
Lenka Segura
93c91aef87 toddlers, poddlers: run koji_block_retired after generating fresh json files
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-11-20 10:38:34 +00:00
Ondřej Budai
6d1c03d0eb osbuildapi-update: update the osbuildapi ipset atomically
Prior this commit, the script flushed the content of the osbuildapi
set before adding the newly resolved IP addresses into it. Even worse,
the DNS resolve for sso.redhat.com happened after the flush, so there
was no IP address for sso.redhat.com for quite some time (resolving
sso.redhat.com without caching takes 30 ms on my machine).

This commit fixes that by introducing a secondary ipset that is firstly
filled with the resolved IP addresses, and then its content is swapped
with the main set. This should hopefully reduce the likelihood of
random races.
2024-11-19 22:56:13 +00:00
Kevin Fenzi
160a909053 noc: install ipmitool as well
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-19 13:22:48 -08:00
Pedro Moura
3829655e4c Add f40/f41 test instances
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-11-19 20:17:16 +00:00
Pavel Raiskup
653881eb41 copr-builders-dev: bump fedora version 2024-11-19 18:44:34 +01:00
Pavel Raiskup
a65a9b7508 copr-dev: updated builder images (Fedora 39 -> 41) 2024-11-19 18:25:54 +01:00
Pavel Raiskup
d1ef9f9665 copr(s390x): double-check the ipv4 when preparing golden image
2a0fe49dfc
2024-11-19 14:53:15 +01:00
Pavel Raiskup
353b1357c7 copr(s390x): distribute libdnf5.yml to the preparation machine 2024-11-19 14:33:43 +01:00
Kevin Fenzi
54ed10d818 ibiblio05: fix duplicate netmask
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-18 19:53:44 -08:00
Kevin Fenzi
fba48119ee ibiblio05: allow linux-system-roles
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-18 19:52:27 -08:00
Kevin Fenzi
53c38cd023 Staging koji/buildvm's: move to f41
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-18 19:18:47 -08:00
Kevin Fenzi
78dc6356bb ibiblio05: rhel9 now, so enabled network-roles
We had this disabled because this was a rhel7 instance and couldn't run
linux-system-roles. Now it's 9, so re-enable.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-18 19:18:27 -08:00
Pavel Raiskup
8987db1c17 copr-hypervisor: run ansible in container
This is the way around outdated Ansible which chokes on F41 instances.
2024-11-18 18:44:36 +01:00
Aurélien Bompard
692b98ece0
name is a reserved variable
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-11-18 17:33:37 +01:00
Lenka Segura
102f58b74f toddlers, poddlers: Cron schedule for koji_block_retired
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-11-18 13:03:47 +01:00
Kevin Fenzi
2de0b6704f bvmhost-a64-01.stg: increase proc limits
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-11-16 11:00:26 -08:00
Pavel Raiskup
9356133de4 copr-be: libdnf5 hack through include 2024-11-15 19:57:57 +01:00
Pavel Raiskup
c67977feb1 copr: use the libdnf5 hack for local-image-update.yml (and centralize) 2024-11-15 19:52:43 +01:00