Commit graph

42880 commits

Author SHA1 Message Date
Kevin Fenzi
47f297297b dhcp / rdu3: add power10 mgmt
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-02 15:26:50 -07:00
Adam Piasecki
715567cb9f openshift-apps: Move fedora-ostree-pruner deployment to prod
Moving deployment from staging only, to production.

See: https://github.com/coreos/fedora-coreos-pipeline/issues/1140
2025-05-02 15:01:48 +01:00
Adam Piasecki
c928a5ea8a openshift-apps: Move coreos-ostree-importer deployment to prod
Moving deployment from staging only, to production.

See: https://github.com/coreos/fedora-coreos-pipeline/issues/1140
2025-05-02 15:00:37 +01:00
Adam Piasecki
b20621cbb2 openshift-apps: Move coreos-koji-tagger deployment to prod
Moving deployment from staging only, to production.

See: https://github.com/coreos/fedora-coreos-pipeline/issues/1140
2025-05-02 14:59:46 +01:00
Adam Piasecki
ce2883f4f2 openshift-apps: Move coreos-cincinnati deployment to prod
Moving deployment from staging only, to production.

See: https://github.com/coreos/fedora-coreos-pipeline/issues/1140
2025-05-02 14:57:52 +01:00
Aurélien Bompard
49fddc0e98
CoreOS OSTree Importer: use the new RabbitMQ cert
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-05-02 13:19:11 +02:00
Greg Sutcliffe
5835b04785 Zabbix-stg: add placeholder macro dict to the correct group_vars 2025-05-02 08:55:51 +00:00
Kevin Fenzi
e76ba9a025 dhcp: fix some more rdu3 devices
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-01 13:43:18 -07:00
Kevin Fenzi
50bde2377a dhcp: fix duplicate address for autosign01/02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-01 13:19:20 -07:00
6cc10d504a
forgejo: wip valkey deploy
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-05-01 18:00:29 +01:00
Greg Sutcliffe
634f70c457
Zabbix-stg: Enable setting host-level overrides to template macros 2025-05-01 15:06:17 +01:00
Kevin Fenzi
b6bf597a91 riscv secondary koji: add manual script to generate builder keytabs
This script will generate a list of builder keytabs and place them on
the riscv secondary hub where they can be distributed to builders.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-30 09:44:39 -07:00
Aashish Radhakrishnan
9e4da177d7 fedora-ostree-pruner: update to fedora:42
xref: https://github.com/coreos/fedora-coreos-releng-automation/pull/204/commits/a8e6cdfdb0ad5219771d1a7dc29ac2a2304a2191
see: https://github.com/coreos/fedora-coreos-tracker/issues/1851
2025-04-30 15:55:50 +00:00
Aashish Radhakrishnan
bae1354d6d coreos-ostree-importer: update to fedora 42
xref: https://github.com/coreos/fedora-coreos-releng-automation/pull/204/commits/5cf5da2230bad0969649bba33a49fec9b72be62f
see: https://github.com/coreos/fedora-coreos-tracker/issues/1851
2025-04-30 15:55:50 +00:00
Aashish Radhakrishnan
47c2cfc8f6 coreos-koji-tagger: update to fedora 42
Ref: https://github.com/coreos/fedora-coreos-releng-automation/pull/204/commits/0c8971ba4f8da2d6ea55aad606aca200b84829d0
see: https://github.com/coreos/fedora-coreos-tracker/issues/1851
2025-04-30 15:55:50 +00:00
Aashish Radhakrishnan
9a3d2a7504 coreos-cincinnati: update to fedora:42
xref: https://github.com/coreos/fedora-coreos-cincinnati/pull/105
see: https://github.com/coreos/fedora-coreos-tracker/issues/1851
2025-04-30 15:55:50 +00:00
Michal Konecny
3d9bc5b494 [distgit] Fix the patch
The patch provided originally was made against the latest pagure code,
but we are not on the latest dev version. So I created the patch
directly for the source file deployed on src.stg.fedoraproject.org.
2025-04-30 15:09:25 +02:00
Michal Konecny
561d6b540d [distgit] Fix typo
Even with the CI this typo wasn't found till execution of the playbook.
2025-04-30 14:48:02 +02:00
Michal Konecny
5b0120cea9 [dist-git] Fix for api call token
There is a local fix on src.fedoraproject.org that is missing on
src.stg.fedoraproject.org. I provided the fix in
https://pagure.io/pagure/pull-request/5525 and this commit is adding it
as patch to ansible, so the change is permanent.
2025-04-30 12:36:11 +00:00
Michal Konecny
a0046b5b4b [distgit] Fixing ansible lint errors
This commit is fixing ansible lint errors for distgit role.

It also introduces two new addition to skip list as the structure of our
ansible repository doesn't adhere to ansible standards.

The errors that will be now skipped are:
- role-name[path] - we have plenty of roles that have sub-roles inside
  them and we need to access them
- var-naming[no-role-prefix] - variables for roles are not usually
  prefixed correctly in our repository and forcing people to change that
  will introduce more issues than what it solves
2025-04-30 10:07:35 +00:00
Greg Sutcliffe
3965fb9a04
zabbix-stg: add missing tag to needed set_fact 2025-04-29 20:46:37 +01:00
James Antill
2e3f4fa81c Add the main nft_block_rules addition to bastion template.
Signed-off-by: James Antill <james@and.org>
2025-04-29 15:05:29 -04:00
Kevin Fenzi
35eadbbf4b bastion: move these to block rules too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-29 11:40:13 -07:00
Kevin Fenzi
ebffcee73c nftables: create a block rules section and move pagure blocks to it
Before the custom rules was actually intended to _allow_ more things
on a particular host. Putting those blocks in there was useless because
custom rules were applied _after_ all the allowed ports, so it wasn't
really blocking anything.

This moves them to a block_rules applied before the ports are allowed
Also move pagure's to that new rule list.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-29 11:36:20 -07:00
Jeremy Cline
0571feb2ce fedora-image-uploader: deploy as multiple containers
In the beginning, this just handled Azure images. Now it does Azure,
AWS, GCP, and containers. Currently, it processes images serially, which
is mostly okay. However, it does mean that whatever service is handled
last has to wait for all the others to succeed before it starts, and it
also means if any of the handlers for their respective platform fail, it
retries *all* the images again. For most things this is a no-op (or a
few inexpensive calls), but it does have to re-download the image from
Koji to checksum it.

This adds an AMQP message queue for each content type we handle, and
produces a fedora-messaging config for each content type. The deployment
is now made up of 4 containers: azure-image-uploader,
aws-image-uploader, container-image-uploader, and
google-cloud-image-uploader. They only differ in the secrets injected
into them and the fedora-messaging config file they use. The end result
is that images should be available faster and its more resilient to
remote services being down.

Finally, it's worth noting that this bumps the warning threshold for
queue sizes. It can take some services (Azure and AWS) upwards of 30
minutes to replicate the images around the world, and since we subscribe
to _any_ compose status changes, it's not unreasonable for 5-10 messages
to stack up when we hit a compose change that is "FINISHED" with images.

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-04-29 18:25:08 +00:00
Kevin Fenzi
240aa7b8e0 bastion: add sysadmin-riscv
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-29 09:10:06 -07:00
Pavel Raiskup
21ff721f5a Revert "copr-builders: override fedora rawhide ppc64le mock config"
This reverts commit fec5b5beb3.  No longer
needed as up2date openssl-libs are already in the default fedora:rawhide
image.
2025-04-29 12:53:09 +02:00
Kevin Fenzi
174789bad7 base: try and handle undefined external
Right now we have to add external to everything in iad2, but most of it
isn't external at all. This way we can just assume it's not external if
it's not defined and just define it on the ones where it's true.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-28 12:27:23 -07:00
Simon de Vlieger
1e777285e6 koji: image-builder for production
Enables the `image-builder` plugin from `koji-image-builder` in the
production environment for both the koji hub, and the koji builder
(kojid).

This is based on the earlier enablement in staging where I've
succesfully tested some builds and it didn't seem to bring down all of
the staging instance.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-04-28 18:58:22 +00:00
Kevin Fenzi
29abcd1cd9 people: increase quota for svashisht
See ticket https://pagure.io/fedora-infrastructure/issue/12525

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-28 11:53:20 -07:00
Kevin Fenzi
5be96729ca builders/builders_stg: not external
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-28 11:26:03 -07:00
Kevin Fenzi
fb2a8a82d6 releng-compose: add troubleshoot group for non sudo access to debug ostree issue with kinoite
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-28 11:03:08 -07:00
Pavel Raiskup
43b8ee52d8 copr-hypervisor: try to go back with iptables
VMs fail to boot for some reason, and per recent #copr Matrix discussion
this might be the thing.
2025-04-28 18:51:38 +02:00
Jiri Kyjovsky
e07d13ee4e copr: virtlogd rotate logs for hypervisors
Configure virtlogd to rotate logs older than 30 days. The default config
does not delete anything since we log to a lot of small files which are
ignored by the max size to rotate in default virtlogd config.
2025-04-28 18:10:12 +02:00
Lukas Brabec
9531326ca5 Testdays - use proper OIDC client secrets 2025-04-28 16:51:15 +02:00
Patrik Polakovič
bdc169d3c7 Add Fedora version variable to the playbook
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-04-28 12:18:58 +02:00
Kevin Fenzi
3a9f0cbfbb Revert "proxies: re-enable koji endpoints"
This reverts commit 5a72566502.

The bots are back, close these endpoints. :(
2025-04-26 12:24:59 -07:00
Kevin Fenzi
baade64038 drop iad2 external boolean
I think this is not needed because we actually test for iad2 in
inventory_hostname and in fact it overrides the groups that set it to
true, making them all come up false. ;(

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-26 10:24:43 -07:00
Kevin Fenzi
8302ff44cd pagure: widen ai blockage
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-26 09:04:10 -07:00
Kevin Fenzi
bea41a6732 koji / staging sync: increase sequences to be higher than prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-25 09:15:08 -07:00
Kevin Fenzi
4da0ff7c4d koji / sync staging: drop removed warn arg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-25 09:06:23 -07:00
Kevin Fenzi
ca12850f5a osuosl: drop br0 interface requirement
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-24 15:41:14 -07:00
Pedro Moura
f5d43ceedc Remove tmpwatch temporarily
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2025-04-24 22:32:35 +00:00
Noel Miller
5cc9bc15e8 change: add nomiller@redhat.com as an alias for podcast@fedoraproject.org
I have taken over as the new host of the fedora podcast. I need access to the podcast@fedoraproject.org email address.
2025-04-24 22:24:11 +00:00
d30cfdd2cf websites: disable fedoraproject sync on-demand 2025-04-24 22:19:30 +00:00
Kevin Fenzi
d3d07df333 torrent: try switching port range syntax to the nftables one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-24 15:07:17 -07:00
James Antill
c063b94af3 Add nftables.bastion for smtp stuff.
Signed-off-by: James Antill <james@and.org>
2025-04-24 21:55:25 +00:00
Kevin Fenzi
a2d6cf7dd4 nftables / osuosl: fix interface for ssh connections
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-24 14:09:02 -07:00
Kevin Fenzi
7c670efbfe openqa: do not do the nftables switch on these until we have more time for testing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-24 13:51:09 -07:00
Kevin Fenzi
4d4365cdf5 nftables: add defined check for nft_nat_rules and set it also [] by default
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-24 13:17:03 -07:00