Commit Graph

8765 Commits

Author SHA1 Message Date
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
Kevin Fenzi
718a84c645 db-koji01: move to rhel9 and postgresql 15
Set host vars to move to rhel9 on next reinstall and setup postgresql 15
module.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-01 10:36:52 -07:00
Kevin Fenzi
5ee0ec0c36 wiki to fedora 38
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-31 16:30:09 -07:00
Adam Williamson
6c7e6a3218 openqa: use updates-testing on prod and stg to get latest builds
The 2023-05 git builds look good on stg, and are now in u-t, so
drop the scratch repos on stg and enable u-t on prod so we get
the builds from u-t everywhere.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-30 09:21:31 -07:00
Adam Williamson
47953e6b52 Test new openqa/os-autoinst scratch builds on lab
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-26 16:09:04 -07:00
Kevin Fenzi
a780dc21a1 db-datanommer01: retire this database server
We moved to timescaledb over on db-datanommer02 a while back, so this vm
it just sitting there doing nothing. ;)
So, lets drop it off and save some resources.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-26 10:16:11 -07:00
Kevin Fenzi
26c6ffc0c9 virthost-rdu01 is no more
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-25 09:32:26 -07:00
Kevin Fenzi
30befc3ab9 inventory: no more ibms
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-22 10:29:27 -07:00
Kevin Fenzi
0111ccfe2d Retire old rdu2 space.
This space was in a networking cage thats going away and all the
machines there are old and out of warentee.
This space was intended for disaster recovery purposes.
For that now we have a internal vm that can access our mirrored netapp
storage, so we can sync anything off it we need to when iad2 is down.
I will be resetting up a batcave13 in another datacenter to allow us a
backup ansible/dns control host. bastion13/ns13/proxy13 will likely just
go away forever. download-rdu01 should be replaced by the new
download-cc-rdu01 once we have the new hardware in place for that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-22 10:09:34 -07:00
Kevin Fenzi
f5a2adf4db smtp-auth: use correct external ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-18 14:42:06 -07:00
Kevin Fenzi
ddfd50de03 smtp-auth-cc-rdu01: create new smtp auth relay
We need this to try and relay in emails.
It turns out to be bordering on impossible to do this sanely with our
current setup, so make a fedora vm that lets us use saslauthdb to have a
specific (small) list of users that can authenticate and relay emails
via bastion and out. We can't do this on rhel, because they don't build
the saslauthdb backend. We can't use any of the other backends because
they either don't work or would allow any fedora user to relay, which we
do not want.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-18 14:35:49 -07:00
Matěj Grabovský
e867ee01eb retrace: EOL F36 2023-05-18 10:44:45 +02:00
Kevin Fenzi
7441a49438 bastion01: need internal dns here so it can actually connect to things like batcave01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-17 18:12:53 -07:00