copr icon indicating copy to clipboard operation
copr copied to clipboard

Create a pool of builders that have more storage

Open xsuchy opened this issue 1 year ago • 2 comments

Follow up of https://github.com/fedora-copr/copr/issues/3267

We have powerful builders, but this adds "only" CPU and RAM. But not storage. We have a hardcoded option to mock config to use 140GB for storage using tmpfs https://pagure.io/fedora-infra/ansible/blob/main/f/roles/copr/backend/files/provision/files/mock/site-defaults.cfg#_18 We must pass an option allowing powerful builders to use more storage.

xsuchy avatar May 20 '24 07:05 xsuchy

There's the on_demand_powerful tag configured in Ansible, which is coming from Frontend's configuration. Then, we need to have a tool that would be able to modify the Mock configuration when on_demand_powerul tag is used.

praiskup avatar May 22 '24 12:05 praiskup

Alternatively, we could bump the storage +10G everywhere.

praiskup avatar May 22 '24 12:05 praiskup

I am reopening because the aarch64 builders don't seem to have this done:

nvme1n1     259:1    0  160G  0 disk 
├─nvme1n1p1 259:5    0   16G  0 part /var/lib/copr-rpmbuild
└─nvme1n1p2 259:6    0  144G  0 part [SWAP]

praiskup avatar Nov 19 '24 17:11 praiskup

s390x seems better:

vda    252:0    0  320G  0 disk 
├─vda1 252:1    0   16G  0 part /var/lib/copr-rpmbuild
└─vda2 252:2    0  304G  0 part [SWAP]

praiskup avatar Nov 19 '24 17:11 praiskup

It seems like I forgot to define it for aarch64 in pools.yml or the config file in copr-rpmbuild (but probably the pools.yml)

nikromen avatar Nov 20 '24 12:11 nikromen

hm, after the holidays and sick leave it fixed itself? :D

aarch64

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 18G 0 disk ├─nvme0n1p1 259:2 0 100M 0 part /boot/efi ├─nvme0n1p2 259:3 0 1000M 0 part /boot └─nvme0n1p3 259:4 0 16.9G 0 part /var /home / nvme1n1 259:1 0 320G 0 disk ├─nvme1n1p1 259:5 0 16G 0 part /var/lib/copr-rpmbuild └─nvme1n1p2 259:6 0 304G 0 part [SWAP]

nikromen avatar Jan 20 '25 11:01 nikromen

ok I missed the non-spot powerful pools. This fixes it: https://pagure.io/fedora-infra/ansible/c/5f10a45efb2f1f03f485ab72fd77950667df08b7?branch=main

nikromen avatar Jan 20 '25 14:01 nikromen