[osd][alert] limited /assets - idea: ask EngInfra for slow+cheap storage from central server for /assets/fixed only
/assets on osd is recently quite full. E.g. see #70885 . There are some ideas how to use storage more efficiently and also use our own "storage server". What might be a good intermediate solution (in parallel) would be to ask EngInfra for slow+cheap storage from central server for /assets/fixed only as the fixed assets are likely used by less jobs and we can live with a bit less performance.
- Create ticket to ask EngInfra for slow+cheap storage, e.g. on netapp next to existing fast+expensive storage that we currently use (AFAIK)
- Use new storage for specific mount point on /var/lib/openqa/share/factory/
- Based on
/assets> find . -maxdepth 3 -type d -name 'fixed' ./factory/hdd/fixed ./factory/iso/fixed ./factory/repo/fixed
use the new storage for each of the above
- Assignee set to mkittler
mkittler as discussed, please create an EngInfra ticket in the normal "infra" queue, put firstname.lastname@example.org in CC, put "[openqa]" in the subject line, ask for slow+cheap (rotating disk) storage to our osd vm as additional partition or device. I would suggest something like at least 2TB if that is feasible. More is also useful.
I've created the ticket: https://infra.nue.suse.com/SelfService/Display.html?id=177466
- Status changed from Workable to Feedback
xfsin accordance with the regular assets partition and mounted as
- Copied fixed isos over:
rsync -aHP /assets/factory/iso/fixed/ /space-slow/assets/factory/iso/fixed/
- Made use of the fixed asset at their new location¹.
It seems to work. If no problems come up we can delete
/assets/bak and move the other fixed asset directories similarly.
martchus@openqa:~> cat /home/martchus/mount-assets.sh #!/bin/sh set -ex rsync -aHP /assets/factory/iso/fixed/ /space-slow/assets/factory/iso/fixed/ systemctl stop openqa-webui openqa-gru rsync -aHP /assets/factory/iso/fixed/ /space-slow/assets/factory/iso/fixed/ mv /assets/factory/iso/fixed /assets/bak mkdir /assets/factory/iso/fixed mount --bind /space-slow/assets/factory/iso/fixed /assets/factory/iso/fixed systemctl start openqa-webui openqa-gru
I will extend the quota for SLE15 on osd a bit and inform sebchlad et al: "We moved some "fixed" assets to a separate storage sink so we have a bit more space to spare for assets. I increased the size limit for assets of the SLE15 parent job group on openqa.suse.de from 980GB to 1200GB. Still, any optimization on the side of HA images would be appreciated as well as the others ideas we suggested". Also SAP+HA team has created https://infra.nue.suse.com/SelfService/Display.html?id=178140 to ask for +2TB for /assets. I commented in the ticket that as alternative cheap+slow can be increased in size partially.
I've been deleting the backups. With
/dev/vdc 5,0T 3,2T 1,9T 63% /assets /dev/vdd 5,0T 3,7T 1,4T 73% /results /dev/vde 2,0T 1,6T 441G 79% /space-slow
we have the partitions kind of balanced out so I'm leaving it like this. I'll extend our file systems alert to cover