Commit Graph

4166 Commits

Author SHA1 Message Date
Greg Sutcliffe
140993b602 Zabbix: add zabbix_agent to some playbooks that are missing it
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-30 16:12:40 +01:00
Greg Sutcliffe
1e8dcc979e Zabbix: playbook cleanup
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-30 14:38:19 +01:00
Greg Sutcliffe
b26134a5b9 Zabbix: revert 56c8dcc832 as EPEL 10 has packages for Zabbix now
Also, this impacted bvm-s390 because thats a Fedora host and
"distrib < 10" is true for F42 :)

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-30 13:13:07 +01:00
Kevin Fenzi
0e2ee2ead0 releng-compose: install fedpkg for scripts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-23 17:38:27 -07:00
Pedro Moura
19f27e9eed removed easyfix from proxies-miscellaneous and sundries
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2025-07-22 22:22:06 +00:00
Greg Sutcliffe
75609617d3 Zabbix: Cleanup, defaults, and MGMT interface items
Fairly big commit, this does:
- Any host including zabbix_agent will now register iteself with the server
  This means we can drop auto-registration once it's tested
- Any host with a "bmc:" entry in host_vars will add items/triggers to monitor it
  This means we don't need separate "hosts" for the MGMT interfaces
- Reverted to a single base template
  The split ones were overkill, we can handle the builders with host macros
- Added defaults to the roles
  This lets us override the connection vars from host/group vars (useful for testing)
- Lint & minor cleanup

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-22 16:23:21 +01:00
Kevin Fenzi
1a3c1dc9e2 os-control: make sure butane is installed so we can make machine operator config changes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-18 09:59:49 -07:00
Greg Sutcliffe
1c9623a923 Zabbix: Use correct IDP/SAML urls and typo fixes
Also add a tag to the whole role so it can be easily selected in the playbook

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-17 12:36:29 +01:00
Kevin Fenzi
97dab9dcaf iscsi_client: readd role, apply to power10 host and switch guests to use it
This re-adds a iscsi_client role we had in iad2 back in in rdu3.
When then apply it to bvmhost-p10-01 to login and use a iscsi lun from
the rdu3 netapp. We then move the buildvm-ppc64le vm's to use this iscsi
volume instead of local storage.

As we reinstall those builders they will use the iscsi volume.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-16 15:19:56 -07:00
James Antill
a4aab5d51c log01: Install simple_message_to_bus for countme.
Signed-off-by: James Antill <james@and.org>
2025-07-16 11:10:56 -04:00
Greg Sutcliffe
286cc834a1 Zabbix: Comment zabbix-agent in server playbook, it's causing some issues I need to look at
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-15 16:08:48 +01:00
Greg Sutcliffe
a26d68ebec Zabbix: Refactor sync-noc-membership and add zabbix-agent to server playbook
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-15 12:29:51 +01:00
David Kirwan
1c0b3f2cac os-control: ensure kubernetes package is available on os-control(s)
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-07-08 10:45:00 +01:00
Kevin Fenzi
2de770d167 secondary01: switch to nfsv4 mounts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-06 09:32:34 -07:00
Kevin Fenzi
cb3d019169 compose-eln: also need the /pub mount here
We need this mount to sync eln composes out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-06 08:06:33 -07:00
Aurélien Bompard
ea26e54ca0 Drop the mirror_pagure_ansible_13 rabbitmq queue
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-04 18:40:04 +02:00
Greg Sutcliffe
08d3f43ab1 Zabbix: disable templates for now, revisit after DC move completed
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-04 16:16:34 +01:00
Adam Williamson
3fc124f048 Fix rabbitmq 'pungi' user creation on prod
I think @kevin inadvertently broke this in
f0663ae52f - he mixed up the names
of environments ('production' / 'staging') and Koji instances
('primary' / 'secondary'), just in this one case (it's correct
everywhere else). This is causing the pungi user not to be
created, and that means compose hosts can't publish messages.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-03 23:43:05 -07:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Aurélien Bompard
a0d4c1f6df Factor out in vars the openshift user ids
This should make it easier to change them in the next datacenter move.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-03 18:09:42 +02:00
Kevin Fenzi
1ddf40d2dc bodhi-backend: drop some more iad2 conditionals
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-03 06:46:19 -07:00
Aurélien Bompard
1244b24408 Activate the bodhi2/backend role for bodhi-backend in rdu3 too
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-03 15:42:55 +02:00
Kevin Fenzi
7855344443 pkgs: create a local pagure user.
Seems like we set this up many years ago for staging, but then we added
a comment to do it for prod and never did.

This is needed in todays rdu3 setup. The pagure user needs to be local
so it can sudo with the local sudo config instead of the ipa sudo
config.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-02 14:46:56 -07:00
Kevin Fenzi
0b9c751c8a kojipkgs: mount ostree nfs volumes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-01 21:33:59 -07:00
Aurélien Bompard
68748ce3c9 Pagure: the rabbitmq server is in a different datacenter actually
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-01 10:58:44 +02:00
Aurélien Bompard
84b5af0ff4 Fix typo
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-01 10:29:28 +02:00
Aurélien Bompard
65cbd6395d Ipsilon: do the IPA configuration in RDU3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-01 10:02:21 +02:00
Kevin Fenzi
b79fb4122b sundries: add apache role so apache user is present for later roles
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-30 16:31:59 -07:00
Aurélien Bompard
07bee7f2f4 Make distgit use its own RabbitMQ user
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-07-01 00:53:22 +02:00
Michal Konecny
0328532987 [mailman3] Remove IAD2
There are a lot of things still pointing to IAD2, let's redirect them to RDU3.
2025-06-30 20:27:53 +02:00
Aurélien Bompard
24afcc8bd4 Fix zodbot deployment on value01.rdu3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-30 11:11:55 +02:00
Kevin Fenzi
a130888041 bastion / rdu3 / openvpn_server: setup ccd files for rdu3 bastion openvpn
This deploys a new set of ccd files to bastion*rdu3 for openvpn.
Right now bastion01.iad2 is the vpn hub/server for all connections.
Once dns is changed and clients restarted, they will connect to
bastion01.rdu3.

These ccd files swap the iad2 for rdu3 servers.
So, for example now 'wiki01.vpn.fedoraproject.org', or 'wiki01' as the
proxies call it, will go to wiki01.iad2.fedoraproject.org.

After the dns switch and client reconnects here,
wiki01.vpn.fedoraproject.org/wiki01's ip will be claimed by
wiki01.rdu3.fedoraproject.org instead and wiki01.iad2 will get a dynamic
ip (or will be just turned off).

This will allow us to more easly move services from proxies.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 08:12:44 -07:00
James Antill
ca73a63415 koji_builder: Don't need rdu3 contacting iad2.
Signed-off-by: James Antill <james@and.org>
2025-06-27 21:23:37 -04:00
Kevin Fenzi
032f6ecc60 buildhw: simplify bkernel role conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 17:22:10 -07:00
Kevin Fenzi
d7337acea8 buildhw: adjust syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 09:08:23 -07:00
Kevin Fenzi
f6b20ead52 buildhw: adjust syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 09:03:47 -07:00
Kevin Fenzi
09aeba8d02 buildhw: fix quoting
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 08:48:17 -07:00
Kevin Fenzi
46cb427235 buildhw-x86-01.rdu3: set this rdu3 buildhw to be a bkernel for now
This machine has a smart card in it for secure boot signing,
so use it for now for the dc move and then we will move to
the new signing setup that can just use (select) buildvm's and
sigul.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 08:24:00 -07:00
Kevin Fenzi
4964230bcb postgresql: add db-openqa01.rdu3 to playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 08:05:10 -07:00
James Antill
22671c8758 koji-hub: Move koji_hub role to after /mnt/fedora_koji mount.
Signed-off-by: James Antill <james@and.org>
2025-06-27 09:52:04 -04:00
Aurélien Bompard
64cebd0d91 Add collectd on rabbitmq03 in rdu3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-27 15:33:33 +02:00
Kevin Fenzi
12d4cb8003 nagios_server: try and fix auth on noc01.rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-26 18:34:19 -07:00
James Antill
ab88aa04ab Add db*rdu3 to the hosts of mailman tasks.
Signed-off-by: James Antill <james@and.org>
2025-06-26 20:00:31 -04:00
James Antill
984034109d Add koji01.rdu3 to koji-hub sshfs host list.
Signed-off-by: James Antill <james@and.org>
2025-06-26 19:07:48 -04:00
Kevin Fenzi
1dfad6322f oci-registry: fix parens
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-26 15:17:23 -07:00
Kevin Fenzi
4328514bad oci-registry: staging is a string
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-26 15:15:48 -07:00
Kevin Fenzi
92463feebc oci-registries: also mount storage in rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-26 15:06:29 -07:00
Kevin Fenzi
2963c34b6e db-riscv-koji01.rdu3.fedoraproject.org: update postgresql playbook for new name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-26 09:58:04 -07:00
Greg Sutcliffe
d1da84d5fc ipsilon: more cleanup of playbook for db var
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-06-26 16:07:48 +01:00
Greg Sutcliffe
edea947e86 ipsilon: let db host come from group_vars
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-06-26 15:59:37 +01:00