Create a pool of builders that have more storage
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.
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.
Alternatively, we could bump the storage +10G everywhere.
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]
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]
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)
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]
ok I missed the non-spot powerful pools. This fixes it: https://pagure.io/fedora-infra/ansible/c/5f10a45efb2f1f03f485ab72fd77950667df08b7?branch=main