Commit graph

39201 commits

Author SHA1 Message Date
Mikolaj Izdebski
bdc999f4a9 Koschei: Add rolling update playbook 2023-06-28 14:26:43 +02:00
Mikolaj Izdebski
9688baed8d Koschei: sync staging memory limits with prod 2023-06-28 13:49:42 +02:00
Mikolaj Izdebski
c65a27997c Koschei: track all packages in staging 2023-06-28 13:38:33 +02:00
Mikolaj Izdebski
7b03bf0ffe koschei: run jobs with admin DB credentials 2023-06-28 13:14:22 +02:00
Mikolaj Izdebski
f1d497089e koschei: Update staging sync playbook 2023-06-28 12:59:16 +02:00
Lukas Holecek
a02810c7a9 resultsdb: Use healthcheck endpoint in probes 2023-06-27 17:37:16 +00:00
Aurélien Bompard
6ed2d3ab2d
Robosig: restart on config changes
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-27 18:23:40 +02:00
Aurélien Bompard
9784ace94c
Robosig: don't prefetch so that priorities can work their magic
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-27 18:17:40 +02:00
Kevin Fenzi
0fb53e0fba base: only compress logs on log01, not everything
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-27 08:31:31 -07:00
Aurélien Bompard
b24a2ecd41
FMN: update the database sync command
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-27 17:06:31 +02:00
Sandro
8592948038 Badges: Add Emma Kidney to tahrir.admins
Emma needs to take a look at how the current backend works.
She's working on the new UI.
2023-06-26 21:50:24 +00:00
Kevin Fenzi
e06db2465a base / iptables: fix last conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 13:27:06 -07:00
Kevin Fenzi
f1eaa5d773 base / iptables: simplify logic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 13:23:38 -07:00
Kevin Fenzi
03abad159d base / iptables: one more typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 13:04:43 -07:00
Kevin Fenzi
c5773c8c45 base / iptables: fix some syntax issues
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 13:04:15 -07:00
Kevin Fenzi
765363e04d base / iptables: fix protocol, use creates for commands
iptables -p is expecting all, not any.
And create a file to track when we have made the ipset.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 12:58:21 -07:00
Kevin Fenzi
fbe288a422 base / iptables: adjust conditional to not depend on datacenter for non iad2 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 12:52:25 -07:00
Kevin Fenzi
679f7f6f16 iptables: clean up osbuild and add a external block set scaffolding
Setup osbuild so it only needs to exist on the specific builders in the
osbuild channel, not all builders.
Also, setup things so we can add a blocklist that will block external
subnets/ip's if we need to do so. Currently it should just be an empty
set, but we can implement it as needed/desired starting with the ips we
already were blocking on just some hosts.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 12:41:07 -07:00
Kevin Fenzi
7c6fe8c5b8 koji_builder: setup a osbuild group for osbuild channel builders
We need only these builders to have this ipset to talk to the osbuild
api. All the rest do not need it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-26 12:41:07 -07:00
Aurélien Bompard
0913c6c0ca
Fix the python3_fact module
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-26 13:41:47 +02:00
Aurélien Bompard
3bc4b2f664
Add the topic auth for gitlab-centos
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-26 12:46:30 +02:00
Kevin Fenzi
a47ce6a3e0 backups: re-enable people02 backups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-23 10:50:07 -07:00
Jakub Kadlcik
53663c2d65 copr-frontend: make sure we have up-to-date tito on builders 2023-06-23 17:04:19 +02:00
Seddik Alaoui Ismaili
6b804b8b11 change archive format to xz for merged logs 2023-06-22 22:49:53 +00:00
Lukas Holecek
b513985390 resultsdb: Fix api pods running out of memory 2023-06-22 22:33:47 +00:00
Kevin Fenzi
8660a4d62f download-ib02: retire now that we have data moved
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 14:43:54 -07:00
Kevin Fenzi
25e06793ea download-ib01: move over to ibiblio02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 14:41:18 -07:00
Adam Williamson
2657d642a4 D'oh, messed up one thing (relvalconsumer queue names)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-22 23:32:33 +02:00
Adam Williamson
a5c322b4ee More cleanup on the openQA AMQP stuff
nirik and I went around and around a bit today and ended up back
where we started, but with a clearer understanding of where that
this. This explains it a bit better, and makes what's actually
going on in various places clearer with the use of appropriate
shared variables. This should not actually *change* anything at
all when deployed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-22 23:21:28 +02:00
Seddik Alaoui Ismaili
b79003cfda compress merged logs under /var/log/hosts 2023-06-22 20:50:46 +00:00
Kevin Fenzi
14eb1bc04e backups: disable people02 to fix the backup sync
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 13:09:53 -07:00
Joseph Marrero
dfbfed61e2 fedora-coreos-pipeline.yml: Add luyang 2023-06-22 15:39:19 -04:00
Kevin Fenzi
df8b56a408 notifs: add sysadmin-noc to sudo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 12:19:07 -07:00
Kevin Fenzi
b2a5d19443 directory.fedoraproject.org redirect: fix double slash
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 11:23:41 -07:00
Kevin Fenzi
d8580004c7 directory: redirect with url ( infra 11385 )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-22 10:57:01 -07:00
František Zatloukal
15c8754bd2 Revert "Blockerbugs: switch stg to update_versioneer branch"
This reverts commit bfb5745b4c.
2023-06-22 15:29:52 +02:00
Adam Williamson
fc84286f93 greenwave: enable Rawhide gating on openQA update tests
As per https://pagure.io/fesco/issue/3011 and
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/message/G2K2SMYN7ONOJEFQEMCDR7GK72MZQFYB/
this enables gating of Rawhide updates on the same set of tests
used to gate stable and Branched updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-22 11:36:54 +02:00
Kevin Fenzi
f20fef66c3 buildvm-ppc64le: rebalance ppc64le builders
Move to only 8 builders per bvmhost and move them around to make the
numbers come out to 32. Drop 34-40.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-21 15:12:14 -07:00
Kevin Fenzi
0772307af5 Revert "buildvm-ppc64le: try reenabling this nested feature"
This reverts commit 9938279f6b.

Turns out this isn't supported in virt-install, which is why I removed
it. ;)
2023-06-21 11:45:06 -07:00
Kevin Fenzi
9938279f6b buildvm-ppc64le: try reenabling this nested feature
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-21 11:40:39 -07:00
Adam Williamson
5a7591a618 openqa AMQP: mark the users as not publish-only
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 13:33:54 +02:00
Adam Williamson
be953e0be4 Dangit, went too far. Only the scheduler should be set that way
Sigh. Sorry, this stuff is hard to keep straight in my head.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 13:26:16 +02:00
Adam Williamson
b50fa6a477 openqa amqp: fix stg-on-prod queue names
so, this was working before somehow, but it was pretty clearly
wrong. We were using queues owned by openqa.stg on the prod
rabbitmq instance for the cases where the openQA "stg" consumers
need to listen to prod queues. This can only have been working
with an openqa.stg user on prod, which seems wrong. Instead,
these three consumers should do it the way the relval and
relvalami consumers do - use a queue owned by the "openqa" user,
but with a suffix so they have a different queue from the actual
prod queue. The upshot of this is that in the configs, we should
go from:

amqp_url = "amqps://openqa:@rabbitmq.fedoraproject.org/%2Fpubsub"
...
queue = "openqa.stg_scheduler"

- which is weird and I have no idea how it ever worked - to:

amqp_url = "amqps://openqa:@rabbitmq.fedoraproject.org/%2Fpubsub"
...
queue = "openqa_scheduler_stg"

- which seems much more sensible.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 13:15:38 +02:00
Adam Williamson
bedeaaa8f7 openqa messaging config - add back a missing leading slash
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:36:27 +02:00
Adam Williamson
e3a4908ae0 ...so close...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:27:03 +02:00
Adam Williamson
31f4668476 openqa: tweak rabbit user creation stuff...
ugh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:25:21 +02:00
Adam Williamson
085e6e0828 unquote sent_topics
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:07:15 +02:00
Adam Williamson
9953afa06e openqa etc: fix up and improve AMQP messaging configuration
This is triggered by
https://pagure.io/fedora-infrastructure/issue/11375 , but the
changes are rather extensive. Unfortunately, some of the
relevant files got messed up by the alphabetical sort thing that
got run on several group variable files a while ago, so that
confuses the diff a bit - I had to unwind those changes to make
the files readable again in order to make these changes.

Ultimately the goal here is to make the config more consistent
and more functional - the variables used and their names should
be more consistently related to what they're actually *for*,
which I didn't entirely understand when setting this up. So
we have variables for the username being used in each case and
we use that variable where we're referring to the username, for
instance. This should also make the whole thing about the cases
where listeners on the openQA stg/lab instance need to listen
to prod messages clearer, too. It also makes the user creation
clearer by doing it explicitly, just once per user, instead of
haphazardly doing it implicitly through the queue definitions.

And finally it should also actually fix 11375, by giving the
appropriate write permissions to each user.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-21 12:04:55 +02:00
František Zatloukal
bfb5745b4c Blockerbugs: switch stg to update_versioneer branch 2023-06-20 16:09:10 +02:00
František Zatloukal
f477927139 Revert "Revert "Blockerbugs: switch to ubi9""
This reverts commit d8c9093ca8.
2023-06-20 14:44:56 +02:00