Project

General

Profile

action #135833

Updated by okurz over 1 year ago

## Observation 
 https://stats.openqa-monitor.qa.suse.de/alerting/grafana/d74e764d-6097-4d14-b77c-76c8d1da6ff0/view?orgId=1 
 shows an alert about inode usage on path /var/lib/openqa/pool/43/Win11_22H2_English_x64 . I assume we lookup way too many paths which should not be relevant for inodes check. Checking on worker30 I can see that a windows iso is mounted on a loop device, likely by someone doing that in os-autoinst-distri-opensuse. 

 ``` 
 okurz@worker30:~> lsblk  
 NAME          MAJ:MIN RM     SIZE RO TYPE    MOUNTPOINTS 
 loop0           7:0      0     5.2G    0 loop    /var/lib/openqa/pool/43/Win11_22H2_English_x64 
 nvme0n1       259:1      0     5.8T    0 disk   
 |-nvme0n1p1 259:2      0     512M    0 part    /boot/efi 
 |-nvme0n1p2 259:3      0     5.8T    0 part    /var 
 |                                        /usr/local 
 |                                        /tmp 
 |                                        /srv 
 |                                        /root 
 |                                        /opt 
 |                                        /home 
 |                                        /boot/grub2/x86_64-efi 
 |                                        /boot/grub2/i386-pc 
 |                                        /.snapshots 
 |                                        / 
 `-nvme0n1p3 259:4      0       1G    0 part    [SWAP] 
 nvme2n1       259:5      0 476.9G    0 disk   
 `-md127         9:127    0 953.6G    0 raid0 /var/lib/openqa 
 nvme1n1       259:6      0 476.9G    0 disk   
 `-md127         9:127    0 953.6G    0 raid0 /var/lib/openqa 
 ``` 

 similar in https://stats.openqa-monitor.qa.suse.de/alerting/grafana/partitions_usage_alert_worker30/view?returnTo=%2Fd%2FWDworker30%2Fworker-dashboard-worker30%3ForgId%3D1%26viewPanel%3D65090%26editPanel%3D65090%26tab%3Dalert for `loop0 (udf)` disk usage alert 

 ## Acceptance criteria 
 * **AC1:** No alert about inode usage of temporary openQA assets 
 * **AC2:** No alert about disk usage of temporary openQA assets 

 ## Suggestions 
 * Check inodes alert definition 
 * Ensure that the inode usage is only collected for "reasonable" filesystems, maybe only exclude "loop" devices 
 * Same for disk usage devices. 

 ## Rollback actions 
 * Remove silence(s) about inode utilization and disk usage

Back