Commit graph

8777 commits

Author SHA1 Message Date
Kevin Fenzi
3db3d12e29 batcave01/bastion: add sysadmin-osbuild
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-10 15:45:48 -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
Kevin Fenzi
a47ce6a3e0 backups: re-enable people02 backups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-23 10:50:07 -07: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
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
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
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
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
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
Adam Williamson
c40ecfef1d openqa: also listen for ODCS state change messages
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 18:12:56 +02:00
Pavel Raiskup
21be6fd294 copr: use smtp-auth-relay for all hosts 2023-06-19 11:08:23 +02:00
Pavel Raiskup
bee7b64fe5 main.cf files need to be moved before we claim they are templates
Revert "postfix: install main.cf as template"

This reverts commit 57f75cbcab.
2023-06-19 10:39:39 +02:00
Pavel Raiskup
8d891f9b32 smtp-auth-relay: reset main.cf
The postfix_group is used on multiple places.
2023-06-19 10:26:46 +02:00
Pavel Raiskup
19bfd92e3b copr: fill smtp_auth_relay password correctly 2023-06-19 10:13:53 +02:00
Pavel Raiskup
82205131b7 smtp_auth_relay: new role, use by copr-dist-git-dev for now 2023-06-19 10:10:43 +02:00
Kevin Fenzi
2be84b22aa db-koji01: adjust to afffect current performance tuning
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-16 12:03:24 -07:00
Kevin Fenzi
3daedbd42f smtp-mm-osuosl01: add more memory here to see if that gets it to install
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-15 19:37:53 -07:00
Kevin Fenzi
2cc5d18042 smtp-mm-osuosl01: move to rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-14 16:38:00 -07:00
Kevin Fenzi
1c187bf308 download: update mirror acls for tier2 mirror
Received on the mirror-admin list.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-14 10:16:47 -07:00
Kevin Fenzi
11d24676b9 smtp-mm-cc-rdu01: move to new virthost
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-13 17:37:52 -07:00
Kevin Fenzi
d24435450b smtp-mm-cc-rdu01: move to rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-13 16:53:17 -07:00
Kevin Fenzi
a67ddb2267 smtp-mm-ib01: adjust variables
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-13 15:56:47 -07:00
Kevin Fenzi
f7c738a514 smtp-mm-ib01: move to rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-13 15:53:45 -07:00
Kevin Fenzi
3a5c8c63d4 download-ib02: create a temp download host on new virthost so we can sync data to it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-12 10:28:57 -07:00
Kevin Fenzi
d0968906bf ibiblio02: fix duplicate variable
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-08 10:04:41 -07:00
Kevin Fenzi
199e58faf6 ibiblio02: do not specify ipv6 prefix twice
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-08 09:23:31 -07:00
Kevin Fenzi
b9190670cb ibiblio02: adjust connection settings
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-08 09:20:33 -07:00
Kevin Fenzi
bfd7518efd ibiblio: use linux-system-roles/networking on new servers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-08 09:16:39 -07:00
Pavel Raiskup
8ce78aaca3 copr-be: Promote Fedora 38 builders to production 2023-06-08 17:30:30 +02:00
Pavel Raiskup
860f0ed488 copr-be-dev: move builder images to F38 2023-06-08 13:58:53 +02:00
Kevin Fenzi
8e50b0ebda virthosts: increase process limit on new servers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-07 18:44:14 -07:00
Kevin Fenzi
1a9d6577be ibiblio02: reindent network_connections and sort more readably
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-07 16:16:48 -07:00
Kevin Fenzi
793a658d92 ibiblio02: adjust connection settings
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-07 16:11:36 -07:00
Kevin Fenzi
4f63381843 ibiblio02: add new virthost at ibiblio
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-07 15:46:00 -07:00
Kevin Fenzi
10a6a0a18b download-cc-rdu03: how about rhel9?
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-06 14:45:37 -07:00
Kevin Fenzi
521606e11e download-cc-rdu01: readd on new virthost
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-06 13:30:38 -07:00
Kevin Fenzi
3b3f720557 vmhost-x86-cc03: revive with new name and hw.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-06 08:51:03 -07:00
Kevin Fenzi
19f22845b2 db-koji01: some more tweaking to get better perf and stability
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-03 08:14:30 -07:00
Kevin Fenzi
ae69299c20 db-koji01: back off on config to get things working again
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-02 18:26:11 -07:00
Kevin Fenzi
eb3801edc7 postgresql_server: split out postgres15 config and tweak
db-koji01 is our only postgresql 15 install so far, but split out the
config from the 12 one we are using on RHEL8 to avoid making changes
there.

Also, lets try tweaking things:
- I am bumping cpus up to 88
- Tweak max workers/etc
- Try a higher i/o level since this db server is running on a virthost
  with ssds.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-02 17:59:12 -07:00
Nick Bebout
b9a3928f5c Add IPv6 for mirror.usi.edu, remove old IPv4 address no longer needed 2023-06-02 09:43:45 -05:00
Kevin Fenzi
c559d543a2 db-koji01: set memory and max memory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-01 15:03:00 -07:00