Commit graph

41,854 commits

Author SHA1 Message Date
43fa9928d6 dns: adjust crypto policy to be idempotent
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-13 10:30:51 -07:00
a018c15c33 dns: all nameservers are rhel9 now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-13 09:44:13 -07:00
2195560ccb koji_hub: enable trigger_new_repo for sidetags
This will cause new sidetags to do a newrepo on creation instead of
waiting for a request for them. It's not strictly needed, but it allows
older workflows that use wait-repo to continue to work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-11 10:35:50 -07:00
f842d785d8 Revert "[ipa/server] Add KRA role to replicas as well"
This reverts commit 03f57303e2.
2024-10-11 18:00:55 +02:00
03f57303e2 [ipa/server] Add KRA role to replicas as well
This should prevent error during backup:

```
Error: Local roles CA do not match globally used roles CA, KRA. A backup done on this host would not be complete enough to restore a fully functional, identical cluster.
```

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 16:55:35 +02:00
0e12908828 [ipa/server] Improve confirmation message
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 16:01:05 +02:00
207ad8f313 [ipa/server] Make the removing replication agreement real
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 15:36:01 +02:00
89a2b057a9 [ipa/server] Let's check what is being executed first
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 14:59:54 +02:00
10dc944bbf [ipa/server] Retrieve admin ticket before removing agreement
Removing the replication agreement needs admin kerberos ticket. Let's obtain one
before removing the replication agreement.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 14:12:20 +02:00
141c44fe5b [ipa/server] Remove the replication agreement before installing replica
The replica install will fail otherwise.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 13:46:39 +02:00
7c296fed36 [ipa/server] Add missing tags and remove debug output
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 13:05:43 +02:00
ad52399ecf [ipa/server] Save the results to other hosts in run
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 12:56:51 +02:00
76c167eba6 [ipa/server] Remove the when condition from pause
It seems that the pause module skips every host if the first one is skipped by
when condition.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 12:45:13 +02:00
f7a8e2ecb1 [ipa/server] Run the confirmation dialog for every machine
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 12:23:08 +02:00
3425914190 [ipa/server] Save the confirmation for other hosts
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-11 11:57:37 +02:00
30ab628cb6 koji_hub: do not try and remove repos on non default volumes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-10 15:59:49 -07:00
9449e2dc3f koji_hub: do not send buildSRPMFromSCM to createrepo channel
Long ago we sent buildSRPMFromSCM tasks to createrepo channel because we
didn't want s390x (which wasn't in that channel) to do them. However,
with koji 1.35.x these tasks obey the noarch_arches tag value as to
which arch they run on. This means we would need to add s390x and
ppc64le to createrepo for them to always work.

So, instead lets drop this hub policy for buildSRPMFromSCM and then they
will just get default channel and obey noarch_arches as is expected.
If s390x proves too slow at these tasks, we can just remove it from
noarch_arches or come up with another plan.

newRepo distRepo in this policy was pointless, koji automatically does
these tasks with channel=createrepo, so no need to specify it here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-10 15:59:49 -07:00
aaf3e97fe7 greenwave: gate updates on container build and aarch64 tests
We added tests of container building and a subset of container
and server tests on aarch64 a couple of months back. These have
now been running long enough it should be safe to add them to
the gating config (all pending updates should have had these
tests run against them if appropriate).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 14:21:05 -07:00
james02135
da83441a7b
Add el9 to PATHS
Signed-off-by: james02135 <james02135@hotmail.com>
2024-10-10 10:58:16 +01:00
8ff1e6d9f7 koji / production: upgrade config to 1.35
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-09 15:55:30 -07:00
James Antill
e9fb7a9d50 Wait for 30m for reboot to come back.
Signed-off-by: James Antill <james@and.org>
2024-10-09 18:05:12 +00:00
2083a05dac Make NBDE device configurable, fix it on single-disk openQA hosts
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 17:32:40 +00:00
0a8303b3bd openqa-a64-worker04: bump load threshold again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 10:01:49 -07:00
18e8b51c87 openqa-a64-worker04: bump back to 35 workers
We've got a big backlog of queued aarch64 tests, looks like 20
just wasn't enough :/

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 09:20:45 -07:00
Robby Callicotte
fb9a032a89 Added EPEL tags policies to package_list. 2024-10-09 15:57:12 +00:00
967dc9ab91 zabbix: drop changes to /run dir
This was just added to help debug some startup problems, so we can drop
it now. Also, it causes the playbook to be non idempotent (ie, this task
runs and changes everytime the playbook it run, causing a lot of noise
in the check/diff runs).
/run/zabbix should get created by systemd, so no need to muck with it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-09 08:52:25 -07:00
Lenka Segura
c7b8abd284 Add group_modify into ACLS dist
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-10-09 11:38:56 +02:00
2c4f88659e dhcpd: add openqa-a64-worker03
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-08 18:15:48 -07:00
11971f0bb0 Revert "openqa-p09: use md0 as the device for nbde"
This reverts commit 5a7c8491db.
2024-10-08 17:37:01 -07:00
5a7c8491db openqa-p09: use md0 as the device for nbde
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-08 17:34:29 -07:00
c351df2da3 dhcpd: add openqa-p09-worker01/02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-08 17:06:02 -07:00
380b0df57d dhcpd: add openqa-a64-worker02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-08 16:50:45 -07:00
a31716efb5 set openqa_nbde in lab as well as prod
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 15:51:45 -07:00
bddb4cd703 db-openqa01: on postgresql15 now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-08 15:46:17 -07:00
11814c789a db-openqa01: move to rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-08 15:17:59 -07:00
68af8cadda Try to prepare openQA worker host vars for redeployment
We intend to use disk encryption and udev network interface
naming on all hosts with the re-deployment, so this attempts to
set up for that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 14:37:44 -07:00
f40ad8262a koji_builder / mock site defaults: remove filelists option
An explicit provides for /usr/libexec/platform-python was added to
platform-python in RHEL 8.

https://access.redhat.com/errata/RHSA-2024:6975

This solves the original reason for needing the filelists option, so it
should be safe to remove.  This will make bootstrap chroot creation
faster for all builds, not just EPEL 8.

https://pagure.io/releng/issue/12199

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-10-08 20:13:58 +00:00
Jeremy Cline
38fa375e0a fedora-image-uploader: add configuration for prod container uploading
We've finally ironed out the issues in stage with this, so this is the
configuration to enable it in production.

This should be rolled out in conjunction with disabling the bash script
that currently handles image pushes.
2024-10-08 20:10:00 +00:00
8eaea992dd [release-monitoring] Switch log level back to INFO
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-08 17:08:38 +02:00
9aa32b4af1 rsnapshot-push: 1-hour SSH timeout before ending the backup session
The default timeout on the Copr Backend server is set to 60 seconds,
which can sometimes trigger the cancellation of the backup process.
2024-10-07 15:51:05 +02:00
59824e4d8b [ipa/server] Use the prompt output for all servers
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 15:14:31 +02:00
f5ae5a017f [ipa/server] Save directly the value of the check
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 14:48:21 +02:00
35bba8046d [ipa/server] Add missing tags
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 14:36:18 +02:00
883cff055f [ipa/server] Ask for confirmation for all hosts
Ansible `pause` module is only running once per playbook. This is a hacky way to
make it run for each host.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 12:30:23 +00:00
2f550bde13
firmitas: move certlist.yml to location with writeaccess
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-07 13:02:32 +01:00
aee21c9e3e
firmitas: point the config at the correct location of the certlist.yml
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-07 12:45:36 +01:00
8c8303bf7a
firmitas: update the certlist.yml template
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-10-07 12:31:48 +01:00
93ba5efa32 [ipa/server] Don't run ipa-replica-install for master node
When introducing the new validation mechanism I accidentally removed check for
ipa_initial from ipa-replica-install. This commit is adding it back.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 12:52:09 +02:00
83d4dc9546 [ipa/server] Add confirmation prompt for ipa-replica-install
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 10:32:09 +00:00
6f8005c392 [ipa/server] Change how the check for ipa-replica-install is being done
As found on in https://pagure.io/fedora-infrastructure/issue/12149 the current
method of checking if the ipa-replica-install have to be executed is not
reliable enough.

Let's instead check for log file that is created during the installation. This
will need manual intervention in case the ipa-replica-install needs to be run
again, but it will be much more reliable otherwise.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 10:32:09 +00:00