1
0
Fork 0
forked from infra/ansible
Commit graph

352 commits

Author SHA1 Message Date
af80a6a3a0 secure-boot: clean up old bkernel role and add 2 more builders
We are no longer using the bkernel role (using the old card thats in
buildhw-x86-01), so this removes that role and mentions of it.

Also, because we are urgently building kernels all the time now,
add one more buildhw-x86 and one more buildhw-a64 to secure-boot channel
so we can build more/faster kernels.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-05-15 19:14:17 +00:00
665456d9d9
Add buildhw-x86-14 to inventory groups
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-05-12 10:07:03 +01:00
aaa3c9403f Add buildhw-x86-05/06/07
These are all old iad2 hardware we want to add as builders.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-04-29 17:39:29 +00:00
f713c3ad74 inventory / secure-boot: enable a64 builder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-03-20 12:43:57 -07:00
170ab3455d secureboot: setup permissions for new pesign
pesign needs to map the socket into the chroot/container, but also set
acls to allow the users in the container to use it. We setup a
secureboot group to map these builders and only run this setup on them.

For now buildhw-x86-02 is the only builder we want to enable.
Once we know it's working well we can retire the bkernel role and repave
buildhw-x86-01. buildhw-a64-02 will be added once we fix the aarch64
signing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-03-18 11:36:05 -07:00
b07c6c4ed9 buildhw-p10-01.stg: add second staging builder lpar
This adds another buildhw-p10 for staging on the second power10 server.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-14 11:56:14 -08:00
51665b4ed3 buildhw-p10-02.stg: add to builders_stg group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-11 19:29:44 -08:00
367b8a9a0f buildhw/stg: fix hostnames of stg p10 buildhw
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-03 16:31:49 -08:00
57f4a541a0 buildhw-p10-02.stg: add new power10 stg lpar
This isn't really a 'buildhw', but it's pretty close.
It's an lpar on a power10 box.

I'm making it a hw builder in staging because if we tried to make
it a bvmhost and put vm's on it, we would need to setup macvtap, which
would be fine, but extra complication where we don't really need it in
staging currently.

01 will be created once we reconfigure the one thats currently serving
as bvmhost-p10-01. Which will happen after we move 1/2 the builders
off to a new bvmhost-p10-02 lpar on this same second power10.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-03 16:29:11 -08:00
62ca3a6f7b buildhw_rdu3: make sure buildhw-a64 are in this group to get correct nftables rules
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-10-02 15:16:09 -07:00
df4369a4cd buildhw-a64-03 to 07: also add to inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-10-02 14:06:34 -07:00
6c990442c9
Added buildhw-x86-08.rdu3.fedoraproject.org
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-09-04 14:43:45 +01:00
1b6daba47b
Added buildhw-x86-09.rdu3.fedoraproject.org to inventory too
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-09-03 16:29:40 +01:00
4ac40e1cc3
Add buildhw-x86-10.rdu3.fedoraproject.org
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-09-02 14:39:46 +01:00
ce54370f13
Add buildhw-x86-12.rdu3.fedoraproject.org
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-09-01 13:10:36 +01:00
29b3da86d5 buildvm-a64-48: drop for now
bvmhost-a64-05 has less memory than 01-04, so fewer buildvm's on it.
However, even with that it sometimes is OOM killing one.
So, lets drop 48 for now to give it more free memory.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-13 12:00:35 -07:00
43d29fc0bf
Added buildhw-x86-13.rdu3.fedoraproject.org - in the other places
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-07-24 15:58:13 +01:00
ff15dbd044 buildhw-x86-04: provision
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-21 14:17:04 -07:00
7d98656f2b buildvm-a64-41 to 48: add 8 more aarch64 buildvms
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-21 12:20:41 -07:00
f6e453b0ff bvmhost-a64-05: add another aarch64 bvmhost
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-18 12:14:52 -07:00
b04d0d372f readd bvmhost-p09-05 in rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-14 11:19:30 -07:00
233ec96688 inventory: drop non existant machines
These are various machines that are not yet deployed, or no longer exist
in rdu3 (though they did in iad2). This should clean up nagios
a fair bit and when/if we redeploy these we can add them back in.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-09 10:26:51 -07:00
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
d204be1d72 inventory: clean up runroot and osbuild groups for rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-02 07:55:01 -07:00
8c69141111 inventory: add buildhw-x86 to buildhw group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 15:08:33 -07:00
0f43b66635 buildhw-x86-02/03.rdu3: initial configuration as builders.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 15:03:53 -07:00
842fc58fbb buildvm-ppc64le.rdu3: add to base group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 13:04:27 -07:00
dc140eecbf buildvm-ppc64le.rdu3: deploy ppc64le builders in rdu3
Note that these don't do nested virt due to the way we have the host
setup. We are working on changing that, but for now, this should work
fine for normal builds. Only parts of composes that need nested virt
will fail for a week or so until we get a power9 moved to the new dc
or reconfigure a power10 box.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 12:59:44 -07:00
bdf5aaf084 buildhw-x86-01.rdu3: add to correct groups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-27 16:53:33 -07:00
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
58b96e53a5 riscv stuff: move to rdu3
This sets up a compose/db/koji for riscv in rdu3.
Along with the two x86 builders.
Once this is deployed, need to sync database over and upgrade it,
then switch dns and it should be back.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-26 09:52:43 -07:00
eb0237711d builders / rdu3: add a pile of x86 and a64 builders, with some x86-riscv
It should be ok to deploy these before koji exists there.
kojid won't start without intervention, so we should be able to deploy
and start it when koji is ready.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-23 16:58:20 -07:00
67a4fbabb4 bvmhost-a64: fix some mac addresses
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-23 14:50:24 -07:00
fd50d8b840 bvmhost-a64-01.stg: add to right group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-23 14:39:30 -07:00
8b7515d710 bvmhost-a64: add to correct group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-23 14:23:56 -07:00
63b3d333d6 bvmhost-a64 for rdu3
Here's the 4 bvmhost's for rdu3 + one staging one.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-23 14:22:10 -07:00
0041df060c inventory: fix up buildvmhost groups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-21 13:32:52 -07:00
7d0b266757 inventory rework to split rdu3 and iad2 more
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-21 13:05:49 -07:00
7842e1d593 builders: add rdu3 groups and modify rdu3 builder nftables to allow rdu3 things
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-20 17:44:17 -07:00
7b27738df0 buildvm-ppc64le-01.rdu3: this needs to be in the base group too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-20 11:37:20 -07:00
a55002a81f buildvm-ppc64le-01.rdu3: try and install an initial ppc64le builder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-20 11:34:48 -07:00
0818814ab7 inventory: add p10 in a few more places
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-19 14:59:29 -07:00
987aad289e inventory: rework things to have iad2 and rdu3 groups for most everything
This will allow us to use a group_vars/rdu3_production/staging to set
variables for all those hosts and more clearly allow us to see whats in
which datacenter (hopefully).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-19 12:17:50 -07:00
ae1a0c4800 buildvm-ppc64le-osbuild: drop these for now as they are not currently needed
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-19 09:57:26 -07:00
bd21aa17c5 add riscv x86 builders
We want a pair of x86_64 buildvm's to do tasks that don't need to be on
a riscv instance (create/newrepos, etc).

So adjust playbooks and add them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-02-06 15:19:13 -08:00
James Antill
9e32ac422e Remove bvmhost-a64 01-02, 07-13, 19-24.
Signed-off-by: James Antill <james@and.org>
2025-01-28 21:47:30 +00:00
7b34fecdcc buildvm-s390x-20/21: drop one s390x builder and add memory to another
webkitgtk is unable to finish building on the current builders, so
lets drop one and add memory to another. Will make 20 the only one in
the heavybuilder channel for it. Hopefully this will get it to complete.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-26 12:31:13 -08:00
ce619b259d buildvm_s390x: add missing hosts to inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-10 10:53:33 -08:00
82a8e8dbc9 buildvm_s390x: cleanup and add 7 new builders.
We no longer need to keep any config around from boston, so nuke that.
All the buildvm's are now kvm, so we don't need a seperate group/config
for that, so remove it.

Consolidate the variables down to buildvm_s390x group and only have ip
address for host vars.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-10 10:50:25 -08:00
0e22ff8ede Remove buildhw-a64-21, 22, 23, 24 and add openqa-a64-worker01, 05 and 06
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-11-05 16:46:03 +00:00