Project

General

Profile

action #130588

Updated by okurz 7 months ago

## Motivation 

 * Need to upgrade workers before EOL of Leap 15.4 and have a consistent environment 

 ## Acceptance criteria 
 * **AC1:** all osd worker machines run a clean upgraded openSUSE Leap 15.5 (no failed systemd services, no left over .rpm-new files, etc.) 

 ## Acceptance tests 
 * **AT1-1:** `sudo salt -C 'G@roles:worker and not G@osrelease:15.5' test.ping` 'G@roles:worker' grains.get oscodename | grep -B1 'Leap 15.4'` is empty 

 ## Suggestions 

 * read https://progress.opensuse.org/projects/openqav3/wiki#Distribution-upgrades 
 * Reserve some time when the workers are only executing a few or no openQA test jobs 
 * Keep IPMI interface ready and test that Serial-over-LAN works for potential recovery 
 * After upgrade reboot and check everything working as expected, if not rollback, e.g. with `snapper rollback` 

 ## Further details 

 * Don't worry, everything can be repaired :) If by any chance the worker gets misconfigured there are btrfs snapshots to recover, the IPMI Serial-over-LAN, a reinstall is possible and not hard, there is no important data on the host (it's only an openQA worker) and there are also other machines that can jobs while one host might be down for a little bit longer. And okurz can hold your hand :)

Back