Commit Graph

9204 Commits

Author SHA1 Message Date
Kevin Fenzi
7355a9349b logdetective01: add to cloud_aws group to get correct nagios checks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-29 14:21:01 -07:00
Kevin Fenzi
974428680d vmhost-x86-07: move vm's off and retire
vmhost-x86-07 is a ~6 yr old server that we need to move off of.
So, move the guests and retire it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-29 13:31:36 -07:00
Kevin Fenzi
4b21fd0ffe bvmhost-x86-08: remove from ansible to retire
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-29 11:23:48 -07:00
Kevin Fenzi
484ba1b632 odcs-backend-releng01: move to another vmhost so we can retire bvmhost-x86-08
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-29 11:12:07 -07:00
David Kirwan
765e619525 communishift: gitlabce
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-29 08:29:59 +01:00
Adam Williamson
4743c3fdce openqa/worker: transition all tap workers to NM-based setup
This seems to be working fine in testing, so let's deploy it
everywhere.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 14:54:03 -07:00
Adam Williamson
690a5eb951 openqa/worker: add NM-based tap setup and test on p09-worker01
network-scripts-openvswitch was removed in f40 and network-scripts
is going away in f41; we really need to get off using them.
This attempts to implement the same setup using NetworkManager,
based on a few different NM/ovs references, and the source of
openQA upstream's os-autoinst-setup-multi-machine . It might
need a bit of tweaking, so for now, we make it a separate task
and use it only on p09-worker01 for testing. This doesn't handle
tearing down the old network-scripts-based config as that's
pretty complex and will only need to happen once; I'll do it
manually before trying this out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 13:50:39 -07:00
Adam Williamson
2ea8ffa760 Ugh, fixup for previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 13:27:44 -07:00
Adam Williamson
ba9e0f04a0 Update openqa-p09-worker01 host vars
The interface name changed (thanks, 'predictable' names...sigh)
and this box *is* encrypted currently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-25 13:25:36 -07:00
Miroslav Suchý
c591394e66 set ansible user for logdetective01 2024-07-25 13:30:49 +02:00
Miroslav Suchý
cd280f399e set python path for logdetective
trying to address
[WARNING]: Unhandled error in Python interpreter discovery for host logdetective01.fedorainfracloud.org: unexpected output from Python interpreter discovery
[WARNING]: Platform unknown on host logdetective01.fedorainfracloud.org is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change the
meaning of that path. See https://docs.ansible.com/ansible-core/2.14/reference_appendices/interpreter_discovery.html for more information.
fatal: [logdetective01.fedorainfracloud.org]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "module_stderr": "", "module_stdout": "Please login as the user \"fedora\" rather than the user \"root\".\n\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 142}
2024-07-25 13:27:23 +02:00
Miroslav Suchý
9f29a94193 add playbook for logdetective
https://pagure.io/fedora-infrastructure/issue/12021
2024-07-24 16:45:19 +02:00
Nils Philippsen
c901eae7ae rabbitmq: Fix typo making sudo groups ineffective
This amends commit dbbf94a411.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2024-07-23 19:25:32 +02:00
Ryan Lerch
cebe9b9cb7 add communishift-forgejo project
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-07-23 08:50:26 +10:00
Kevin Fenzi
81a9f2ceaf bastion: add sysadmin-eln
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-22 07:54:37 -07:00
Adam Williamson
295c0ccb25 openqa: run aarch64 updates on prod too
Seems to be working fine on stg.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-19 17:22:59 -07:00
Adam Williamson
27ed0ce621 openqa: test running update tests on aarch64 on stg
We really ought to do this. Capacity and reliability are issues,
so I'm going to try it with a small set of core tests at first.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-19 09:59:51 -07:00
Kevin Fenzi
64c216b79d compose-eln01: not external
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-17 17:19:20 -07:00
Kevin Fenzi
33fe776dca compose-eln: add missing host/group vars
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-17 17:07:33 -07:00
Kevin Fenzi
08cb6c89ba compose-eln: move to another group to have different ipa access
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-17 17:03:39 -07:00
Kevin Fenzi
8cc74eab58 compose-eln01: create initial compose host for eln
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-17 16:57:06 -07:00
Kevin Fenzi
abb12e2421 vmhost-x86-cc03: try and add a br1 to mgmt network
We need to get onto the mgmt network from here so we can put the rdu-cc
noc on this vmhost. I am not sure if it's on eth2, but if not can adjust
it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-17 15:06:12 -07:00
Pedro Moura
2b6b610081 Update proxy02.stg from f39 to f40
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-07-17 17:40:17 -03:00
Kevin Fenzi
b34f14d81a buildhw-a64: fix ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-16 21:38:04 -07:00
Kevin Fenzi
33627c2ada bvmhost-a64s moving to buildhw
We have these 7 emags that were bvmhosts running 32bit arm builders.
Since we no longer need those, lets repurpose them as aarch64 buildhw.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-16 17:32:35 -07:00
Kevin Fenzi
34e1bb3e8d pagure: block some ips that are using too much resources
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-11 16:33:03 -07:00
Michal Konecny
2f1529f76e [mailman3] Disable sending e-mails on staging
This commit is setting both mailman and hyperkitty to devmode and doesn't allow
them to sent mails anywhere.

I tested that from web UI and using `mail` command on the machine.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-11 09:30:42 +02:00
Kevin Fenzi
99514bbad0 koji / staging: move hub and builders in staging to fedora 40
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-09 13:32:12 -07:00
Michal Konecny
d18af55419 [fedorapeople] Remove people02 from host_vars
Host no longer exists

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-04 15:58:25 +00:00
Michal Konecny
14ee2219b6 [mailman3] Move the staging/prod vars to respective group_vars
This will make the mailman playbook much cleaner. Thanks @arrfab for the idea.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-04 10:11:05 +02:00
Adam Williamson
07f6d5967e Revert "Try new openQA scratch build out on lab"
This reverts commit b75517e07d. I
totally forgot I changed how we deploy scratch builds now. Sigh.
2024-07-03 20:42:25 -07:00
Adam Williamson
b75517e07d Try new openQA scratch build out on lab
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-03 18:48:45 -07:00
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.

found entries for the fedora ami's for the original cloud and removed
those entries also.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-07-03 22:20:30 +00:00
Michal Konecny
f1b6be6e9c [mailman3] Add more memory to staging instance
Mailman3 is a hungry beast, let's give her more food.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-03 11:09:07 +02:00
Kevin Fenzi
df10e1c315 sundries01: move to rhel9 in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 15:09:57 -07:00
Kevin Fenzi
2397e3fbc4 mirrormanager: remove no longer needed nagios check for frontend
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 14:37:55 -07:00
Kevin Fenzi
f37e5e52e0 mirrormanager: some leftover inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 14:02:53 -07:00
Kevin Fenzi
acd7bf10ca mirrormanager: some leftover inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 14:01:10 -07:00
Kevin Fenzi
e838841868 mirrormanager: retire vm's now that it's moved to openshift
Lets retire these rhel7 vm's from ansible/running.
I will be saving off the disks and xml for all of the vm's, so in the
event we need to bring something back or look at something, we can do
so.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 13:44:04 -07:00
Kevin Fenzi
9064d0c26b sundries / staging: move sundries01.stg to rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 13:11:33 -07:00
Michal Konecny
c609ecb432 Revert "Add IPs to blocked_ips"
This reverts commit d4ee518e5d.
2024-07-01 18:15:00 +02:00
Michal Konečný
d4ee518e5d Add IPs to blocked_ips
There are two IPs hammering pagure.io, so let's stop that.

Signed-off-by: Michal Konečný <michal.konecny@pacse.eu>
2024-07-01 09:29:01 +00:00
Kevin Fenzi
4bcbc54efa people: retire people02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-27 15:38:03 -07:00
Michal Konecny
517d9b1426 [mailman3] Update the vars
Add the missing Fedora authenticator for OIDC and remove the 16Gb memory limit
as it's set in group_vars.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 17:30:20 +02:00
Kevin Fenzi
696f49465c mailman: just default to 32gb memory for mailman01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-27 08:16:29 -07:00
Michal Konecny
133b62a69a [mailman3] Prepare for production migration
Update the var hosts and playbook before migration itself.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 10:14:18 +00:00
Kevin Fenzi
b1490df609 pagure.io: bump memory to handle load better
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 14:35:48 -07:00
Kevin Fenzi
da99a573c2 people01: add a new people01 rhel9 server again
This will be installed, then we will sync data from people02 to it and
finally cut over to using it tomorrow in an outage.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-26 10:50:43 -07:00
Kevin Fenzi
71b7104525 communishift: add eventbot project
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-21 10:39:05 -07:00
Kevin Fenzi
b42db65710 wiki: move to f40
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-18 13:54:42 -07:00