Project

General

Profile

action #109969

Updated by mgriessmeier over 2 years ago

# Observation 

 https://app.slack.com/client/T02863RC2AC/C02CANHLANP/thread/C02CANHLANP-1649923742.408719 

 s390x LPAR s390zp19 run out of disk space. 

 # Actions taken: 
 - checked if cleanup `script /usr/local/bin/cleanup-openqa-assets >/dev/null` works as intended -> [DONE] 
 - checked why cronjob was not running -> [DONE] 
   - observed multiple warnings and reports regarding dangling references to old glibc versions. 
   - tried to update the system via zypper, which resulted in a crash of the machine, booting into kernel panic 
 - started re-installation of the machine via zhmc 
 - Steps to configure the LPAR: 


 ``` 
 change hostname    /etc/hostname -> s390zp19 
 install libvirt multipath -> zypper in libvirt multipath-tools 
 systemctl start multipathd 
 systemctl enable multipathd 
 cio_ignore -r fc00 
 chccwdev -e fc00 
 /usr/bin/rescan-scsi-bus.sh 
 multipath -ll to check if multipath was configured 
 mkdir -p /var/lib/openqa/share/factory 
 mkdir -p /var/lib/libvirt/images 
 fdisk /dev/mapper/... 
 n -> p -> ... -> w 
 mkfs.ext4 /dev/mapper/...-part1 

 modify /etc/fstab: 
 # libvirt images 
 /dev/mapper/36005076307ffd3b30000000000000149-part1 /var/lib/libvirt/images ext4 nobarrier,data=writeback 1 0 

 # openqa nfs 
 openqa.suse.de:/var/lib/openqa/share/factory /var/lib/openqa/share/factory nfs ro 0 0 

 copy cleanup script from e.g. s390zp18 /usr/local/bin/cleanup-openqa-assets 
 crontab -e: 
 0 */1 * * * /usr/local/bin/cleanup-openqa-assets >/dev/null 
 ``` 

Back